---
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

## Changes

- **2026-07-02** `3144ea40dac0` — 1 info
  - endpoint added
- **2026-05-04** `d606e84c75e4` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/comet-ml/apis/opik-rest-api/changes/v1/private/report-failures/post.md)

---

[API](https://skmtc.dev/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.dev/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/revisions/1a1bcfd67f99/schema)
