Overview
When the investigation pipeline finds a matching prior incident or runbook, it emits an investigation.known_solution_found event and pauses for confirmation. Use this endpoint to accept the suggested solution (and fast-track remediation) or dismiss it (and continue full investigation).
Required role: admin or member
JWT Bearer token. Format: Bearer <your-jwt>.
Path parameters
The incident ID for which a known solution was found. Example: inc_EXAMPLE_01JX.
Request body
One of accept or dismiss. Accepting fast-tracks remediation based on the matched solution. Dismissing continues the full investigation pipeline.
The ID of the matched pattern or runbook, from the investigation.known_solution_found event payload.
Optional notes explaining why you accepted or dismissed the suggestion. Stored in the incident audit log.
Response
Returns 200 OK.
{
"incidentId": "inc_EXAMPLE_01JX",
"action": "accept",
"patternId": "ptn_01HX9VTPQR3KF8MZWBYD5N6JCE",
"nextStatus": "awaiting_approval"
}
| Field | Type | Description |
|---|
incidentId | string | The incident ID |
action | string | The action taken: accept or dismiss |
patternId | string | The matched pattern ID |
nextStatus | string | Resulting incident status after the action |
Error responses
| Status | Error code | Description |
|---|
401 | unauthorized | Missing or invalid JWT |
403 | forbidden | Caller lacks required role |
404 | incident_not_found | No incident with the given ID |
404 | pattern_not_found | The patternId does not match a known pattern |
409 | no_pending_decision | No known-solution match is awaiting a response for this incident |
Examples
curl https://api.causeflow.ai/v1/investigation/inc_EXAMPLE_01JX/known-solution \
-X POST \
-H "Authorization: Bearer eyJhbGc..." \
-H "Content-Type: application/json" \
-d '{
"action": "accept",
"patternId": "ptn_01HX9VTPQR3KF8MZWBYD5N6JCE",
"notes": "Pattern matches exactly — same pool exhaustion we saw in March"
}'
Start investigation
Start the full AI investigation pipeline
Approve remediation
Approve the proposed remediation plan