Get Infrastructure
const url = 'https://example.com/admin/infrastructure/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/admin/infrastructure/ \ --header 'Authorization: Bearer <token>'Return infrastructure configuration, live health status, and OIDC provider connectivity.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Successful Response
object
Snapshot of active infrastructure configuration.
object
Active cache backend (‘memory’ or ‘redis’).
Whether a CDN base URL is configured for tile delivery.
Active connection pooler mode (‘sqlalchemy’ or ‘external’).
Database flavor (e.g. ‘postgres’, ‘managed-postgres’).
Active storage backend (‘local’ or ‘s3’).
Tile caching backend in use.
Tile cache TTL in seconds.
Health probe results keyed by provider name (db, storage, cache, llm, embedding).
Health probe results for configured OAuth/OIDC providers, keyed by slug.
Example
{ "oidc_providers": {}}Bad request — invalid query parameters or payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks access to this resource
Not found
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request