APIv1
API
REST API reference
The Observer REST API lives at https://api.use.observer/v1. Every endpoint requires Authorization: Bearer <api_key>. Keys are minted per organisation and scoped per capability (read:metrics, write:incidents, etc.). Pagination is cursor-based.
This tab is auto-generated from the OpenAPI 3.1 spec in apps/web/lib/openapi-spec.ts. The same spec drives request validation in production, so the docs and runtime are never out of sync. Pick an operation from the sidebar for parameters, request / response schemas, and a working curl example.
Incidents
DELETE /incidents/{id}GET /incidentsGET /incidents/{id}PATCH /incidents/{id}POST /incidentsPOST /incidents/{id}/messagesPOST /incidents/{id}/publishPOST /incidents/{id}/resolvePOST /incidents/from-metric/{metricId}Maintenances
GET /maintenancesGET /maintenances/{id}PATCH /maintenances/{id}POST /maintenancesPOST /maintenances/{id}/cancelPOST /maintenances/{id}/completePOST /maintenances/{id}/startChange events
POST /change-events