---
title: "Update agent insights issue status"
method: PATCH
path: "/v1/private/agent-insights/issues/{issue_id}"
tags: ["Agent Insights"]
---

# Update agent insights issue status

`PATCH /v1/private/agent-insights/issues/{issue_id}`

Moves an issue through its lifecycle: open, resolved or closed

## Path parameters

- `issue_id` string, uuid, required

## Request body

- AgentInsightsIssueUpdate
  - `project_id` string, uuid, required
  - `status` 'open' | 'resolved' | 'closed', required

## Response `204`

Issue updated

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

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