Menu
Platform
- Accounts and projects
- Regions
- Environments
- Keys and scopes
- Plans, usage and limits
- Errors
- API versions
- API reference
- CLI
- MCP
- Published CLI compatibility
- Terraform
- Management secret deletion
- API keys
- Artifacts
- Connection providers
- Connections
- Envs
- Key versions
- Keys
- Projects
- Secret versions
- Secrets
- Service enablements
- Token exchanges
- Trust policies
AI
Alerts and status pages
App store purchases
Credits
Database
Flags
Generated Assets
Hosting
Monitoring
Organizations
Payments
- Payments
- Payments quickstart
- Checkout policies
- Checkout sessions
- Customer subscriptions
- Entitlement grants
- Exchange rates
- Licence keys
- Licence tokens
- Merchant accounts
- Portal sessions
- Price catalogs
- Revenue
- Revenue facts
- Revenue sources
- Tax threshold statuses
- Usage events
- Usage invoices
- Usage meter prices
- Usage meters
- Usage reservations
- Usage settings
- Usage tiers
Queues
Realtime
Sandboxes
Webhooks
Getting Started
Authentication
KV Store
Deploy & Infrastructure
Reference
Query catalog targets on a database
Pages the complete authorized production database population, including legacy bindings and protected resources which cannot be observed.
Pages the complete authorized production database population, including legacy bindings and protected resources which cannot be observed.
- Path
POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/databases:queryCatalogTargets - Scope
data:read - Effect
read— nothing is written. - Collection databases
#Request
| Field | Type | What it is |
|---|---|---|
parent | string | Exact organization, project and environment parent. Required. |
page_size | int32 | Maximum targets to return; defaults to 100 and is capped at 1000. |
page_token | string | Opaque cursor from the preceding page in the same environment. |
#Response
| Field | Type | What it is |
|---|---|---|
targets | DatabaseCatalogTarget[] | Targets in stable resource order, including protected and legacy entries. |
next_page_token | string | Cursor for the next page; empty when the census is complete. |
#DatabaseCatalogTarget
| Field | Type | What it is |
|---|---|---|
resource | string | Exact authorized database name from the owner census. Output only. |
observed_generation | int64 | Resource generation against which the observation is fenced. Output only. |
collection_reason | CatalogReadinessReason | Protected and unsupported entries stay in the census with an explicit reason. CATALOG_READY here means pending collection, not observed reader eligibility or proven health. 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. |
legacy | bool | The existing resource binding is authoritative rather than a canonical Data record. Output only. |
#Errors
UNAUTHENTICATED— No valid key or token was presented.PERMISSION_DENIED— The key lacks the method's permission.INVALID_FIELD— A field failed validation.PAGE_TOKEN_MISMATCH— A page token was reused with different parameters.
Every error arrives in the body Errors describes.
#Examples
curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/databases:queryCatalogTargets" \
-H "Authorization: Bearer $SYLPHX_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'