Skip to content
Docs menu

Health check

Answers 200 while the API and its database are reachable.

GEThttps://api.switchfile.io/health

No API key needed.

Example

curl "https://api.switchfile.io/health"

Responses

  • 200OK
    • statusstringrequired

      one of "ok"

    200 application/json
    {
      "status": "ok"
    }

Error bodies and codes are explained in Errors.