provider error_tracking POST /api/projects/{project_id}/error_tracking/query/issues/
@utdk/posthog /api/projects/{project_id}/error_tracking/query/issues/
List compact error tracking issues
List error tracking issues with typed filters and compact aggregate counts.
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
errorTrackingQueryIssuesListCreate
POST/api/projects/{project_id}/error_tracking/query/issues/
List error tracking issues with typed filters and compact aggregate counts.

Parameters

required

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

Input

Date range for issue aggregates. Defaults to the last 7 days.

Filter by issue status. Defaults to active. * `archived` - archived * `active` - active * `resolved` - resolved * `pending_release` - pending_release * `suppressed` - suppressed * `all` - all

Filter by issue assignee. Omit to include all assignees.

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

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

Advanced flat AND property filters. Prefer typed shortcut fields when they fit. HogQL filters are rejected.

Field used to sort issues. Defaults to occurrences. * `last_seen` - last_seen * `first_seen` - first_seen * `occurrences` - occurrences * `users` - users * `sessions` - sessions

Sort direction. Defaults to DESC. * `ASC` - ASC * `DESC` - DESC

Page size.

Pagination offset.

Number of volume buckets. Defaults to 0 for compact aggregate counts.

Filter by SDK/library value from event $lib, for example posthog-js.

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

Filter by exact exception fingerprint hash, not fuzzy search.

Search user/email text.

Filter by exact PostHog person UUID.

Filter by current URL substring.

Search stack-frame source/file path text.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.errorTrackingQueryIssuesListCreate({
  "status": "active",
  "filterTestAccounts": true,
  "orderBy": "occurrences",
  "orderDirection": "DESC",
  "limit": 25,
  "offset": 0,
  "volumeResolution": 0
})