Skip to content

Check that the API is up

On this page
GET/healthzget_health
Riskread
Authenticationnone (public)
Scopesnone
Idempotencynatural: repeating the call gives the same result
Dry runnot applicable
Success status200
Response typeapplication/json

What it does#

  • Use when: A monitor or a script needs to know the API answers.
  • Do not use when: you need account details (call get_current_access).
  • Side effects: None.
  • Reversible: Not applicable, nothing changes.
  • Required scope: none (public).
  • Idempotency: safe to repeat.
  • Typical next step: call get_current_access with a key to check the credential.

Request#

Path parameters#

None.

Query parameters#

None.

Response#

FieldTypeRequiredDescription
okexactly trueyes
serviceexactly "seemly-api"yes
environmentstringyes

Examples#

healthy#

Request:

curl 'https://api.seemly.com/healthz'

Response: 200:

JSON
{
  "ok": true,
  "service": "seemly-api",
  "environment": "production"
}

Errors#

StatusCodes
503service_unavailable

Every error is an application/problem+json body with a code, a fix sentence and next_actions. See reading a problem response.

Typical next steps#

View this page as MarkdownReport a problem with this page

Type to search. Try a method and path, an operation name or an error code.