error_tracking

List compact error tracking issues

List error tracking issues with typed filters and compact aggregate counts.

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

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/error_tracking/query/issues/
  • 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

status'archived' | 'active' | 'resolved' | 'pending_release' | 'suppressed' | 'all'
  • archived - archived
  • active - active
  • resolved - resolved
  • pending_release - pending_release
  • suppressed - suppressed
  • all - all
filterTestAccountsboolean

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

searchQuerystring

Free-text search across exception types, values, stack frames, and email fields.

orderBy'last_seen' | 'first_seen' | 'occurrences' | 'users' | 'sessions'
  • last_seen - last_seen
  • first_seen - first_seen
  • occurrences - occurrences
  • users - users
  • sessions - sessions
orderDirection'ASC' | 'DESC'
  • ASC - ASC
  • DESC - DESC
limitinteger

Page size. Defaults to 10. Use nextOffset to fetch more rows instead of a large page.

offsetinteger

Pagination offset.

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, which returns only aggregate counts without volume buckets.

releasestring

Filter by exact release ID, version, or git commit ID captured in $exception_releases.

userstring

Search user/email text.

personIdstring uuid

Filter by exact PostHog person UUID.

urlstring

Filter by current URL substring.

filePathstring

Search stack-frame source/file path text.

Response

hasMoreboolean required

Whether more results are available.

limitinteger required

Page size.

offsetinteger required

Current offset.

nextOffsetinteger

Offset to fetch the next page when hasMore is true.

Changes

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