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

---

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