Skip to main content
GET
/
v1
/
triage
/
{incidentId}
/
evidence
Get triage evidence
curl --request GET \
  --url https://api.example.com/v1/triage/{incidentId}/evidence

Overview

Returns the full triage evidence for an incident, including the model’s reasoning, confidence metadata, and usage statistics. Use this endpoint to audit how the AI classified an incident or to display triage details in your own tooling. Required role: admin or member

Path parameters

incidentId
string
required
The unique identifier of the incident whose triage evidence you want to retrieve. Example: inc_01HX9VTPQR3KF8MZWBYD5N6JCE.

Response

Returns 200 OK with the triage evidence object.
{
  "incidentId": "inc_01HX9VTPQR3KF8MZWBYD5N6JCE",
  "evidence": {
    "agentRole": "triage",
    "content": {
      "priority": "critical",
      "summary": "A latency spike on prod-db-01 is likely caused by a slow query introduced in a recent deployment. Immediate database and performance analysis is recommended.",
      "confidence": 0.91,
      "reasoning": "The incident description references a latency increase correlated with a deployment event. The pattern matches known slow-query signatures in the training data. High confidence due to specific mention of deployment timing and affected service.",
      "suggestedAgents": [
        "database-specialist",
        "performance-analyzer",
        "deployment-tracker"
      ]
    },
    "model": "causeflow-triage-v2",
    "tokensUsed": 1842,
    "costUsd": 0.0037
  }
}
FieldTypeDescription
incidentIdstringThe incident this evidence belongs to
evidence.agentRolestringAlways "triage" for this endpoint
evidence.content.prioritystringClassified priority: critical, high, medium, or low
evidence.content.summarystringHuman-readable triage summary
evidence.content.confidencenumberModel confidence from 0.0 to 1.0
evidence.content.reasoningstringThe model’s reasoning chain behind the classification
evidence.content.suggestedAgentsstring[]Recommended specialist agents for investigation
evidence.modelstringThe AI model version used for triage
evidence.tokensUsedintegerTotal tokens consumed by the triage call
evidence.costUsdnumberApproximate cost in USD for this triage classification
Returns 404 Not Found if the incident does not exist or triage has not yet been run.

Examples

curl https://api.causeflow.ai/v1/triage/inc_01HX9VTPQR3KF8MZWBYD5N6JCE/evidence \
  -H "Authorization: Bearer <token>"