Overview
Initiates the AI triage pipeline for an incident. Triage classifies severity, assigns specialist agents, and produces an initial evidence snapshot. If triage has already run for this incident, the request is idempotent — it returns the existing triage result without re-running.
Required role: admin or member
JWT Bearer token. Format: Bearer <your-jwt>.
Path parameters
The unique identifier of the incident to triage. Example: inc_EXAMPLE_01JX.
Request body
Optional override for initial priority. One of: critical, high, medium, low. If omitted, severity is determined by the AI classifier.
Optional free-text context to seed the triage classifier. Useful for providing business impact or on-call notes before AI analysis begins.
Response
Returns 201 Created when triage is queued, or 200 OK when triage already ran.
{
"triageId": "tri_01HX9VTPQR3KF8MZWBYD5N6JCE",
"incidentId": "inc_EXAMPLE_01JX",
"status": "running",
"classifiedSeverity": null,
"assignedAgents": [],
"startedAt": "2024-04-01T14:30:05Z"
}
| Field | Type | Description |
|---|
triageId | string | Unique identifier for this triage run |
incidentId | string | The incident being triaged |
status | string | One of: running, completed, failed |
classifiedSeverity | string | AI-assigned severity once complete: critical, high, medium, low, info. null while running |
assignedAgents | string[] | Specialist agents assigned. Populated when triage completes |
startedAt | string | ISO 8601 timestamp when triage started |
Error responses
| Status | Error code | Description |
|---|
401 | unauthorized | Missing or invalid JWT |
403 | forbidden | Caller lacks admin or member role |
404 | incident_not_found | No incident with the given ID |
409 | triage_already_running | Triage is already in progress for this incident |
429 | quota_exceeded | Investigation quota exhausted for this billing period |
500 | triage_error | Internal error starting triage pipeline |
Examples
curl https://api.causeflow.ai/v1/triage/inc_EXAMPLE_01JX \
-X POST \
-H "Authorization: Bearer eyJhbGc..." \
-H "Content-Type: application/json" \
-d '{
"context": "On-call reports EU payment latency spike since 14:25 UTC deploy"
}'
Get evidence
Retrieve evidence collected during triage
Start investigation
Kick off the full AI investigation pipeline