Skip to content
API documentation
View as MarkdownOpen in Claude

Health

Check that the API is up

GET
/v1/health
  • Public, no token

Answers 200 with data.status ok whenever the service is running. It needs no token and is not counted against your account’s rate limit, so it is the first call to make against an environment.

It says only that the service answers: it checks nothing the other operations depend on, so one of them can still fail while this answers ok.

Responses

200 OK

Success: message is "Request completed successfully.".

Body

  • successbooleanrequired

    Always true on a success.

    one oftrue

  • messagestringrequired

    exampleRequest completed successfully.

  • dataobject · HealthResponserequired

    The service is up.

    1 field of data
    • statusstringrequired

      Always ok: the service is running and answering. It says nothing about any particular operation.

      one ofok

Example

{
  "success": true,
  "message": "Request completed successfully.",
  "data": {
    "status": "ok"
  }
}

Example request

curl -sS 'https://api.main-team.org/v1/health'

Search the API documentation

Guides, endpoints by name, path or permission, and error codes such as not_found.