Skip to Content
GuidesRoutingValhallaAPIStatusStatus service API reference

Status service API reference

By default the /status endpoint will return a HTTP status code of 200 with version and tileset_last_modified (as UNIX timestamp) info, which can also be used as a health endpoint for the HTTP API.

However, if "verbose": true is passed as a request parameter it will return additional information about the loaded tileset. Note that gathering this additional information can be computationally expensive, hence the verbose flag can be disallowed in the configuration JSON (service_limits.status.allow_verbose, default false).

Outputs of the Status service

If "verbose": true is passed as a parameter, the service will output the following response:

Response keyTypeDescription
versionstringThe current Valhalla version, e.g. 3.1.4.
tileset_last_modifiedintegerThe time the tile_extract or tile_dir were last modified as UNIX timestamp, e.g. 1634903519.
has_tilesboolWhether a valid tileset is currently loaded.
has_adminsboolWhether the current tileset was built using the admin database.
has_timezonesboolWhether the current tileset was built using the timezone database.
has_live_trafficboolWhether live traffic tiles are currently available.
bboxobjectGeoJSON of the tileset extent.
warnings (optional)arrayThis array may contain warning objects informing about deprecated request parameters, clamped values etc.
Last updated on