---
title: "Record a report/job failure"
method: POST
path: "/v1/private/report-failures"
tags: ["Report Failures"]
---

# Record a report/job failure

`POST /v1/private/report-failures`

Appends a failure row keyed by (project_id, type). Append-only — never overwrites earlier failures.

## Request body

- ReportFailure
  - `id` string, uuid
  - `type` 'agent_insights', required
  - `project_id` string, uuid, required
  - `reason` string, required
  - `detail` string
  - `created_at` string, date-time
  - `created_by` string
  - `last_updated_at` string, date-time
  - `last_updated_by` string

## Response `201`

Created

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
