Get Infrastructure
GET
/admin/infrastructure/
const url = 'https://example.com/api/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/api/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
Media type application/json
InfrastructureResponse
object
config
required
InfrastructureConfig
Snapshot of active infrastructure configuration.
object
storage_provider
required
Storage Provider
Active storage backend (‘local’ or ‘s3’).
string
cache_provider
required
Cache Provider
Active cache backend (‘memory’ or ‘redis’).
string
database_type
required
Database Type
Database flavor (e.g. ‘postgres’, ‘managed-postgres’).
string
database_pooler
required
Database Pooler
Active connection pooler mode (‘sqlalchemy’ or ‘external’).
string
tile_cache
required
Tile Cache
Tile caching backend in use.
string
tile_cache_ttl
required
Tile Cache Ttl
Tile cache TTL in seconds.
integer
cdn_configured
required
Cdn Configured
Whether a CDN base URL is configured for tile delivery.
boolean
health
required
Health
Health probe results keyed by provider name (db, storage, cache, llm, embedding).
oidc_providers
Oidc Providers
Health probe results for configured OAuth/OIDC providers, keyed by slug.
Example
{ "oidc_providers": {}}