Readiness of the database and the model server
GET
/readyz
const url = 'https://example.com/readyz';const options = {method: 'GET'};
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/readyz200 when ready; live mode also needs the model server (replay runs without it).
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
ReadyzResponse
Readiness of the database and the model server.
object
Example generated
{ "db": true, "decider": { "checkpoint": "example", "device": "example", "model": "example", "ok": true }}Service Unavailable
Problem
Application/problem+json body. Extension members (for example job_id) are allowed.
object
errors
Any of:
Array<object>
FieldErrorOne validation failure: where, what, and a stable machine code (never the input value).
object
loc
required
Loc
Array
msg
required
Msg
string
type
required
Type
string
null
request_id
required
Request Id
string
status
required
Status
integer
title
required
Title
string
type
Type
string
key
additional properties
any
Example
{ "type": "about:blank"}Map data © OpenStreetMap contributors, under the Open Database Licence. Code under the Apache-2.0 licence. Made by Yogesh.
Changeset Second Opinion is an independent open source tool for OpenStreetMap reviewers. It is not endorsed by, sponsored by or affiliated with the OpenStreetMap Foundation. OpenStreetMap is a trademark of the OpenStreetMap Foundation, used under itstrademark policy.