Skip to content
Documentation menu
docs / api / get-status
Service metadata

GET/status

Access and price

AuthAn API key on the hosted gateway; keyless only where the operator opens it (SN_STATUS_PUBLIC). Not metered.
PriceNot metered: no quota, no credit.

What it does

Answers JSON, or a self-contained HTML page when the request prefers text/html (a browser). 200 even when the backend is degraded: /health is the probe a monitor should watch, and this is the page an operator reads. A key past its own rate on this route gets a 429.

Call it

bash
curl -fsS -X GET "https://api.mapmap.ai/status" \
  -H "Authorization: Bearer $MAPMAP_KEY"

Responses

200What this deployment is serving: build, backend, uptime, territories, DEM sources, which optional features are on (booleans only), the number of live keys and today's total metered units. Those two totals are answered to an operator key (or to anyone when SN_STATUS_PUBLIC=true) and are null for any other key. A browser (Accept: text/html) gets the same report as a self-contained page. Read-only, no admin actions, and never key material, per-key data or any configured secret
FieldTypeRequiredDescription
backendstringyesName of the routing engine serving requests (valhalla, graphhopper or auto), as /health reports it.
buildstringyesGit commit the running image was built from (SN_BUILD_SHA), or unknown, as /health reports it.
featuresFeaturesyesWhich optional features this deployment switched on. Booleans only: never a URL, a path or a credential.
keysKeyCountsyesAPI keys, counted only.
restriction_gridRestrictionGridStatusyesThe baked restriction-coverage grid behind restriction_coverage on truck routes.
statusstringyesok when the routing backend answers its health probe, degraded otherwise. Unlike /health, the HTTP status is 200 either way: this is a page, not a probe, and a monitor should watch /health.
terrainTerrainStatusyesThe DEM/terrain sources the operator declared.
territoriesTerritoryStatus[]yesTerritories this box serves, from the update-channel index and the tiles directory. Empty when the deployment publishes neither.
uptime_sintegeryesSeconds since this gateway process finished starting.
usage_todayUsageTodayyesToday's metered volume, aggregated across every key.
versionstringyesGateway crate version, as /health reports it.

Example: A response assembled from this schema's own field examples, enums, defaults and types; not a recorded call

json
{
  "backend": "string",
  "build": "string",
  "features": {
    "admin_boundaries": false,
    "elevation": false,
    "ev_charge": false,
    "fuel_prices": false,
    "geocoding": false,
    "geocoding_languages": false,
    "optimisation": false,
    "places": false,
    "pointclouds": false,
    "safety": false,
    "territories": false,
    "tiles": false,
    "timezone": false,
    "traffic": false,
    "voice_clips": false
  },
  "keys": {
    "active": 0
  },
  "restriction_grid": {
    "configured": false,
    "loaded": false
  },
  "status": "string",
  "terrain": {
    "elevation_enabled": false
  },
  "territories": [
    {
      "id": "string",
      "name": "string",
      "tiles": false
    }
  ],
  "uptime_s": 0,
  "usage_today": {
    "day": "string"
  },
  "version": "string"
}
401No API key (unless the deployment sets SN_STATUS_PUBLIC=true). Also: No key, or a missing, malformed, unknown, revoked or expired one (unauthorized)

application/problem+json · Problem

403A browser (maps-scoped) key on a route that needs a full-scope key (scope-insufficient)

application/problem+json · Problem

429The key's per-minute rate on this route (rate-limited, with Retry-After). /status has its own bucket at the key's rate, so reading it never draws on the key's API calls

application/problem+json · Problem

504The request did not finish within the gateway's request deadline (request-timeout)

application/problem+json · Problem

Error bodies follow the shared problem model documented on API conventions.

Also under Service metadata

Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId get_status