Skip to content

Trigger health check for global OCI registry

POST
/api/v1/global-registries/oci/{id}/health-check
curl --request POST \
--url http://localhost:3000/api/v1/global-registries/oci/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/health-check \
--header 'X-API-Key: <X-API-Key>'

Triggers a manual health check for a global OCI registry. This checks connectivity to the registry using the OCI Distribution Spec /v2/ endpoint. Requires Super Admin privileges.

id
required
string format: uuid

OCI registry UUID

Health check completed successfully

Media type application/json
object
healthy
required

Whether the registry is healthy

boolean
status
required

Health status of the registry

string
Allowed values: healthy unhealthy unknown
error

Error message if the health check failed

string
responseTimeMs

Response time in milliseconds

number
Example
{
"healthy": true,
"status": "healthy",
"error": "Connection timed out (10s)",
"responseTimeMs": 150
}

Unauthorized

Forbidden - Super Admin required

OCI registry not found

Application service unavailable