Перейти к основному содержимому

GET /api/v1/health

Detailed health check endpoint that returns server status information including uptime.

Authentication

None. This is a public endpoint.

Request

No parameters.

Example

curl -X GET https://intotes.com/api/v1/health

Response

200 OK

{
"status": "ok",
"timestamp": "2026-04-04T14:30:00Z",
"uptime_seconds": 86400
}

Field Reference

FieldTypeDescription
statusstringServer status, always "ok" when healthy
timestampstring (ISO 8601)Current server time
uptime_secondsnumberSeconds since the server started

Errors

If the server is down or unreachable, the request will fail at the network level. This endpoint does not return error JSON bodies.