Schema and Introspection
Discover clients, schemas, tables, columns, migrations, and registry metadata.
Schema Routes
Athena schema endpoints:
GET /schema/clientsGET /clients(alias)GET /schema/tablesGET /schema/columnsGET /schema/migrations
Registry and Router Routes
Operational registry surfaces:
GET /router/registryGET /registryGET /registry/{api_registry_id}
Auth requirements
Schema, client list, registry, router registry, and bundled OpenAPI YAML routes require admin or gateway authentication (require_admin_or_gateway): either ATHENA_KEY_12 via X-Athena-Key / X-Athena-Admin-Key, or a valid ath_* key with read-appropriate gateway rights (same pattern as other protected metadata).
You still send X-Athena-Client where the handler needs a logical client for Postgres-backed introspection.
Details: Security, auth ordering, and rate limits.
Use Cases
- Build dynamic table browsers in internal tools.
- Drive migration dashboards from
/schema/migrations. - Resolve available logical routes and route metadata from registry endpoints.
Reference
Use Reference -> Athena API Reference -> schema, registry, router, and clients sections.