GET /api/v1/databases/{id}/query-timeouts returns the exact native database
OID, current catalog-backed timeout values, the desired and effective profile,
operation status, generation, and policy version. not_configured means DBHost
has not selected a database profile; it does not imply unlimited queries for
every role. The response reports when some roles have their own overrides.
If native refuses the strict read before returning a profile, this endpoint
returns 503 QUERY_TIMEOUT_NATIVE_READBACK_REFUSED. A validated native response
with defaults outside the supported profiles instead returns
503 QUERY_TIMEOUT_NATIVE_PROFILE_UNSUPPORTED. Neither response claims the
saved profile is active. The dashboard can still show the separate
new-session role defaults from a database-bound catalog read. Neither read
changes customer role overrides or silently rebinds the saved policy.
An account owner can select one supported profile with an API key authorized
to change that database:
409 QUERY_TIMEOUT_CLONE_REQUIRES_RECONFIGURATION
for a database with a saved timeout profile. A clone needs independent
admission and a verified target profile; DBHost does not silently copy the
source profile. Same-identity restore keeps the profile after native
readback and rebinds its physical database OID.
The dashboard has the same profile selector with one confirmation. The CLI
uses dbhost databases timeouts <id> and
dbhost databases timeouts-set <id> <standard|balanced|short> --idempotency-key KEY.