Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Get agent insights issue by id

GET/v1/private/agent-insights/issues/{issue_id}Get agent insights issue by id

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

Parameters

issue_idstring · uuidpathrequired
project_idstring · uuidqueryrequired
from_datestring · datequery
to_datestring · datequery

Responses

200Issue with detailsapplication/json
objectAgentInsightsIssueWithDetails
causestring
created_atstring · date-time
created_bystring
descriptionstring
detailsarray of object

Per-day breakdown within the requested window, ordered by report_day ascending

Show child attributes
Show array items

Per-day breakdown within the requested window, ordered by report_day ascending

countinteger · int64
metadataobject
report_daystring · date
total_countinteger · int64
total_usersinteger · int64
users_impactedinteger · int64
idstring · uuid
last_updated_atstring · date-time
last_updated_bystring
namestring
severitystring

one of "critical", "high", "medium", "low"

statusstring

one of "open", "resolved", "closed"

suggested_fixstring
traces_querystring
Example response
{
  "cause": "string",
  "created_at": "2026-06-09T00:00:00Z",
  "created_by": "string",
  "description": "string",
  "details": [
    {
      "count": 0,
      "metadata": {},
      "report_day": "2026-06-09",
      "total_count": 0,
      "total_users": 0,
      "users_impacted": 0
    }
  ],
  "id": "00000000-0000-0000-0000-000000000000",
  "last_updated_at": "2026-06-09T00:00:00Z",
  "last_updated_by": "string",
  "name": "string",
  "severity": "critical",
  "status": "closed",
  "suggested_fix": "string",
  "traces_query": "string"
}
400Bad Requestapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
401Unauthorizedapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
404Not Foundapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu