Overview
Submits feedback on a completed remediation action. This helps CauseFlow’s AI improve the quality and precision of future remediation proposals for similar incidents.
Required role: admin or member
JWT Bearer token. Format: Bearer <your-jwt>.
Path parameters
The unique identifier of the remediation. Example: rem_01HX9VTPQR3KF8MZWBYD5N6JCE.
Request body
The actual outcome. One of: resolved, partial, no_effect, made_worse.
Overall quality rating from 1 (poor) to 5 (excellent).
How many minutes after executing the remediation the incident was fully resolved.
Optional free-text feedback describing what worked, what didn’t, and any corrections.
Response
Returns 201 Created.
{
"feedbackId": "fbk_01HX9VTPQR3KF8MZWBYD5N6JCF",
"remediationId": "rem_01HX9VTPQR3KF8MZWBYD5N6JCE",
"submittedAt": "2024-04-01T15:30:00Z"
}
| Field | Type | Description |
|---|
feedbackId | string | Unique identifier for this feedback record |
remediationId | string | The remediation this feedback applies to |
submittedAt | string | ISO 8601 timestamp |
Error responses
| Status | Error code | Description |
|---|
401 | unauthorized | Missing or invalid JWT |
403 | forbidden | Caller lacks required role |
404 | remediation_not_found | No remediation with the given ID |
409 | feedback_already_submitted | Feedback already submitted for this remediation |
Examples
curl https://api.causeflow.ai/v1/remediation/rem_01HX9VTPQR3KF8MZWBYD5N6JCE/feedback \
-X POST \
-H "Authorization: Bearer eyJhbGc..." \
-H "Content-Type: application/json" \
-d '{
"outcome": "resolved",
"rating": 5,
"timeToResolutionMinutes": 12,
"comment": "Scaling the connection pool immediately resolved the 503 errors"
}'
Get remediation detail
View full remediation plan and execution log
List remediations
Browse all remediations for your tenant