---
title: "Check service health"
method: GET
path: "/v1/health"
tags: ["System"]
---

# Check service health

`GET /v1/health`

## Request

- Base URL: `https://platform.detectif.ai`
- URL: `https://platform.detectif.ai/v1/health`
- Auth: none declared

Whether the service and its parts are up: `status` is `ok`, or `degraded` when a part is unavailable. No authentication needed.

## Response `200`

Success.

- HealthResponse
  - `request_id` string, required
  - `status` 'ok' | 'degraded', required
  - `version` string, required
  - `database` 'ok' | 'unavailable', required
  - `inference` 'ok' | 'unavailable', required

## Other responses

- `429`: Too many requests or too many operations at the same time. Wait for the number of seconds in Retry-After.
- `500`: Something went wrong on our side. No credits were used.

---

[API](https://skmtc.dev/detectif/apis/detectifai-developer-api.md) · [All operations](https://skmtc.dev/detectif/apis/detectifai-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/detectif/apis/detectifai-developer-api/revisions/24295482ed77?raw)
