---
title: "Get agent insights issue by id"
method: GET
path: "/v1/private/agent-insights/issues/{issue_id}"
tags: ["Agent Insights"]
---

# Get agent insights issue by id

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

Returns the issue together with its per-day breakdown within the requested time window

## Path parameters

- `issue_id` string, uuid, required

## Query parameters

- `project_id` string, uuid, required
- `from_date` string, date
- `to_date` string, date

## Response `200`

Issue with details

- AgentInsightsIssueWithDetails
  - `id` string, uuid
  - `name` string
  - `description` string
  - `cause` string
  - `suggested_fix` string
  - `status` 'open' | 'resolved' | 'closed'
  - `severity` 'critical' | 'high' | 'medium' | 'low'
  - `traces_query` string
  - `created_by` string
  - `created_at` string, date-time
  - `last_updated_by` string
  - `last_updated_at` string, date-time
  - `details` AgentInsightsIssueDetail[] — Per-day breakdown within the requested window, ordered by report_day ascending
    - `report_day` string, date
    - `count` integer
    - `total_count` integer
    - `users_impacted` integer
    - `total_users` integer
    - `metadata` JsonNode

## Other responses

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

## Changes

- **2026-06-19** `dff5e4b15a6e` — 1 info
  - added the optional property `severity` to the response with the `200` status
- **2026-06-17** `cc3d16e25f83` — 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/agent-insights/issues/:issue_id/get.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/a835604ec403/schema)
