Skip to content
Console
Menu

Getting Started

Authentication

KV Store

Check catalog readiness on a database

Observes aggregate-read coverage using the database's approved reader.

Observes aggregate-read coverage using the database's approved reader. Reads catalog metadata only; never accepts SQL, credentials or row data.

  • Path POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/databases/database:checkCatalogReadiness
  • Scope data:read
  • Effect read — nothing is written.
  • Collection databases

#Request

FieldTypeWhat it is
namestringExact database name in the authorized environment. Required.
expected_generationint64A stale scheduled intent yields unknown without connecting.

#Response

FieldTypeWhat it is
resourcestringExact authorized database name from the owner census. Output only.
observed_generationint64Resource generation against which the observation is fenced. Output only.
observed_attimestampOwner clock time at which the observation completed. Output only.
stateCatalogReadinessStateWhether complete current evidence establishes coverage or a known gap. Output only. One of healthy, unhealthy, unknown.
reasonCatalogReadinessReasonFinite owner reason; never contains driver errors or credentials. Output only. One of catalog_ready, credential_missing, authority_denied, connect_failed, catalog_unavailable, reachable_zero_declared_functions, declared_function_missing, execute_missing, generation_mismatch, reader_boundary_failed, unsupported_legacy, protected_resource, reader_not_ready, declaration_invalid, platform_owned_policy_excluded.
coverage_gapboolAn affirmatively observed coverage defect that can open an episode. Output only.
transport_reachableboolWhether this attempt reached the exact approved database; absent if unobserved. Output only.
declared_function_countuint32Authoritative declared signatures, present only for a complete catalog read. Output only.
observed_function_countuint32The number of declared signatures which resolve, not unrelated functions. Output only.
missing_function_countuint32Declared signatures that did not resolve; absent for unknown observations. Output only.
execute_missing_countuint32Resolved signatures lacking schema USAGE or function EXECUTE. Output only.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/databases/database:checkCatalogReadiness" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'