error_tracking

Get compact error tracking issue details

Fetch one error tracking issue with impact counts, top in_app frame, latest release, and optional sparkline and event breakdown.

post/api/projects/{project_id}/error_tracking/query/issue/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/error_tracking/query/issue/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

issueIdstring uuid required

Error tracking issue ID.

filterTestAccountsboolean

When true, exclude internal/test account data from results. Defaults to true.

volumeResolutioninteger

Integer count of equal-width time buckets across dateRange, from 0 to 200. Not a time unit: 'hour', 'day', and 'week' are invalid. Example: 7 with a 7-day dateRange gives daily buckets. Defaults to 0, or to 12 when includeSparkline is true.

includeSparklineboolean

Set true to include a compact numeric occurrence sparkline. Defaults to false.

includeBreakdownboolean

Set true to include the issue page breakdowns: the most common paths (or URLs when events have no path), screens, browsers, OS, libraries, library versions, and app versions, each with a count, plus the sessions with the most events. Covers at most the last 30 days of dateRange. Adds one aggregate query, so request it only to answer where, for whom, or on which platforms the issue happens. Defaults to false.

Response

idstring uuid required

Error tracking issue ID.

namestring nullable

Issue name.

descriptionstring nullable

Issue description. List rows truncate it to a short preview; the issue detail query returns it in full.

statusstring

Issue status.

severity'low' | 'medium' | 'high' | 'critical'
first_seenstring date-time nullable

First seen timestamp.

last_seenstring date-time nullable

Last seen timestamp.

librarystring nullable

SDK/library associated with the issue.

sourcestring nullable

Top source/file associated with the issue.

functionstring nullable

Top function associated with the issue.

sparklinenumber[]

Optional compact occurrence sparkline.

Changes

No recorded changes to this operation across all 1 revision of this API.