Skip to content
getgeolens.com

Get Infrastructure

GET
/admin/infrastructure/
curl --request GET \
--url https://example.com/admin/infrastructure/ \
--header 'Authorization: Bearer <token>'

Return infrastructure configuration, live health status, and OIDC provider connectivity.

Successful Response

Media type application/json
InfrastructureResponse
object
config
required
InfrastructureConfig

Snapshot of active infrastructure configuration.

object
cache_provider
required
Cache Provider

Active cache backend (‘memory’ or ‘redis’).

string
cdn_configured
required
Cdn Configured

Whether a CDN base URL is configured for tile delivery.

boolean
database_pooler
required
Database Pooler

Active connection pooler mode (‘sqlalchemy’ or ‘external’).

string
database_type
required
Database Type

Database flavor (e.g. ‘postgres’, ‘managed-postgres’).

string
storage_provider
required
Storage Provider

Active storage backend (‘local’ or ‘s3’).

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
health
required
Health

Health probe results keyed by provider name (db, storage, cache, llm, embedding).

object
key
additional properties
ProviderHealth
object
error
Any of:
string
latency_ms
required
Latency Ms

Latency of the most recent health probe in milliseconds.

number
status
required
Status

Provider health status: ‘ok’ or ‘error’.

string
oidc_providers
Oidc Providers

Health probe results for configured OAuth/OIDC providers, keyed by slug.

object
key
additional properties
ProviderHealth
object
error
Any of:
string
latency_ms
required
Latency Ms

Latency of the most recent health probe in milliseconds.

number
status
required
Status

Provider health status: ‘ok’ or ‘error’.

string
Example
{
"oidc_providers": {}
}

Bad request — invalid query parameters or payload

ProblemDetail
object
detail
required
Detail
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"type": "about:blank"
}

Unauthorized — missing or invalid credentials

ProblemDetail
object
detail
required
Detail
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"type": "about:blank"
}

Forbidden — caller lacks access to this resource

ProblemDetail
object
detail
required
Detail
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"type": "about:blank"
}

Not found

ProblemDetail
object
detail
required
Detail
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"type": "about:blank"
}

Validation error

ProblemDetail
object
detail
required
Detail
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"type": "about:blank"
}

Internal server error

ProblemDetail
object
detail
required
Detail
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"type": "about:blank"
}