status API

status

Get project health and breaker status.

GET /v1/projects/:project_id/status

Get project health status

Auth: User API key

Parameters

Name In Type Required Description
project_id path uuid Yes Project ID

Responses

200 Project status
closed_count
- Number of closed breakers
last_eval_ms
- Timestamp of last evaluation
open_count
- Number of open breakers
Headers: ETag: Weak ETag for conditional requests
304 Not modified (ETag match)

Example

Request
curl https://api.tripswitch.dev/v1/projects/PROJECT_ID/status \
  -H "Authorization: Bearer YOUR_USER_API_KEY"
Response
{
  "closed_count": 5,
  "open_count": 1,
  "last_eval_ms": 1705312200000
}