Skip to content

Gets project's service health status

get/v1/projects/{ref}/health

OAuth scopes

  • projects:read

The fine-grained token must include the following permissions to access this endpoint:

  • project_admin_read

Path parameters

  • ref
    Required
    string

    Project ref

Query parameters

  • services
    Required
    any of the following options

    Comma-separated list of enums or array of enums.

  • timeout_ms
    Optional
    integer

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

[
{
"name": "auth",
"healthy": true,
"status": "COMING_UP",
"info": {
"name": "GoTrue",
"version": "lorem",
"description": "lorem"
},
"error": "lorem"
}
]
{
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"enum": [
"auth",
"db",
"db_postgres_user",
"pooler",
"realtime",
"rest",
"storage",
"pg_bouncer"
]
},
"healthy": {
"type": "boolean",
"deprecated": true,
"description": "Deprecated. Use `status` instead."
},
"status": {
"type": "string",
"enum": [
"COMING_UP",
"ACTIVE_HEALTHY",
"UNHEALTHY"
]
},
"info": {
"anyOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string",
"enum": [
"GoTrue"
]
},
"version": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"name",
"version",
"description"
]
},
{
"type": "object",
"properties": {
"healthy": {
"type": "boolean",
"deprecated": true,
"description": "Deprecated. Use `status` instead."
},
"db_connected": {
"type": "boolean"
},
"replication_connected": {
"type": "boolean"
},
"connected_cluster": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"healthy",
"db_connected",
"replication_connected",
"connected_cluster"
]
},
{
"type": "object",
"properties": {
"db_schema": {
"type": "string"
}
},
"required": [
"db_schema"
]
}
]
},
"error": {
"type": "string"
}
},
"required": [
"name",
"healthy",
"status"
]
}
}