Admin API
Generated from the Celerp 2.4.0 OpenAPI schema, 16 September 2026.
POST /admin/doctor
Run Doctor
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
fix | query | -- | boolean | Apply repairs (default: dry-run report only) |
checks | query | -- | string, optional | Comma-separated check names (default: all) |
rebuild | query | -- | boolean | Rebuild all projections after fixes |
from_version | query | -- | string, optional | Previous version string - triggers upgrade report when provided with fix=true |
Responses
| Status | Description | Body |
|---|---|---|
200 | Successful Response | object |
422 | Validation Error | HTTPValidationError |
Example
curl -X POST http://localhost:8000/admin/doctor \
-H "Authorization: Bearer $TOKEN"GET /admin/relay/status
Relay Status
Return the current relay (cloudflared) status. Returns: {"status": "inactive" | "connecting" | "active" | "error", "gateway_connected": bool}
Responses
| Status | Description | Body |
|---|---|---|
200 | Successful Response | object |
Example
curl -X GET http://localhost:8000/admin/relay/status \
-H "Authorization: Bearer $TOKEN"