RESOURCES · TECHNICAL
API Reference
RESTful API for interacting with incidents, governance policies, and replay execution.
Authentication
Authorization: Bearer <api_key>Base URL
https://api.traceflux.io/v1Incidents
GET
/incidentscurl -H "Authorization: Bearer <api_key>" https://api.traceflux.io/v1/incidentsRESPONSE
{
"data": [
{ "id": "inc_123", "status": "open" }
]
}Policies
POST
/policiescurl -X POST https://api.traceflux.io/v1/policies \
-H "Authorization: Bearer <api_key>"RESPONSE
{ "id": "pol_789" }Replay
POST
/replaycurl -X POST https://api.traceflux.io/v1/replayRESPONSE
{ "replay_id": "rep_456" }Error Schema
{
"error": {
"code": "POLICY_DENIED",
"message": "Execution blocked"
}
}