# Complete report generation

**POST** `/v1/private/projects/{projectId}/reports/{reportId}/complete`

Callback from Ollie to update report status and content after generation.

Base URL: `https://www.comet.com/opik/api`

Tags: `Reports`

## Authorization

This operation requires no authorization.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | `string` (uuid) | Yes | — |
| `reportId` | `string` (uuid) | Yes | — |

## Request body

Required. Media type: `application/json`

### Example request body

```json
{
  "content": "string",
  "failure_reason": "string",
  "recommended_actions": {},
  "session_id": "string",
  "status": "completed"
}
```

## Responses

| Status | Description | Media type |
| --- | --- | --- |
| `204` | Report updated | — |
| `400` | Status is not terminal | — |
| `404` | Report not found | — |

## Related pages

- [Activate a pairing session](./activatepairingsession.md)
- [Add blueprint to existing config](./updateagentconfig.md)
- [Add items to annotation queue](./additemstoannotationqueue.md)
- [Add span comment](./addspancomment.md)
- [Add span feedback score](./addspanfeedbackscore.md)
- [Add thread comment](./addthreadcomment.md)
- [Add trace comment](./addtracecomment.md)
- [Add trace feedback score](./addtracefeedbackscore.md)
- [Agent Configs](./tags/agent-configs.md)
- [Agent Insights](./tags/agent-insights.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
