Error tracking
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
DELETE | |
GET | |
GET | |
GET | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
PATCH | |
GET | |
GET | |
PATCH | |
DELETE | |
GET | |
PATCH | |
POST |
Delete error tracking fingerprints
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Path parameters
- idstring
Example request
DELETE /api /projects /:project_id /error_tracking /fingerprints /:idExample response
Status 405 No response body
Retrieve error tracking fingerprints resolve
Required API key scopes
error_tracking:readQuery parameters
- fingerprintstring
Response
Example request
GET /api /projects /:project_id /error_tracking /fingerprints /resolveExample response
Status 200
RESPONSE
Retrieve error tracking git provider file links resolve github
Query parameters
- code_samplestring
- file_namestring
- ownerstring
- repositorystring
Response
Example request
GET /api /projects /:project_id /error_tracking /git-provider-file-links /resolve_githubExample response
Status 200
RESPONSE
Retrieve error tracking git provider file links resolve gitlab
Query parameters
- code_samplestring
- file_namestring
- ownerstring
- repositorystring
Response
Example request
GET /api /projects /:project_id /error_tracking /git-provider-file-links /resolve_gitlabExample response
Status 200
RESPONSE
List all error tracking grouping rules
Also available via the PostHog MCP server:
error-tracking-grouping-rules-list— List error tracking grouping rules
Required API key scopes
error_tracking:readResponse
Example request
GET /api /projects /:project_id /error_tracking /grouping_rulesExample response
Status 200
RESPONSE
Create error tracking grouping rules
Also available via the PostHog MCP server:
error-tracking-grouping-rules-create— Create error tracking grouping rule
Required API key scopes
error_tracking:writeRequest parameters
- filters
- assignee
- descriptionstringnull
Response
Example request
POST /api /projects /:project_id /error_tracking /grouping_rulesExample response
Status 201
RESPONSE
Retrieve error tracking grouping rules
Required API key scopes
error_tracking:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /error_tracking /grouping_rules /:idExample response
Status 200
RESPONSE
Update error tracking grouping rules
Required API key scopes
error_tracking:writePath parameters
- idstring
Request parameters
- filters
Example request
PATCH /api /projects /:project_id /error_tracking /grouping_rules /:idExample response
Status 204 No response body
Delete error tracking grouping rules
Required API key scopes
error_tracking:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /error_tracking /grouping_rules /:idExample response
Status 204 No response body
Update error tracking grouping rules reorder
Request parameters
- filters
- descriptionstringnull
- order_keyinteger
- disabled_data
Example request
PATCH /api /projects /:project_id /error_tracking /grouping_rules /reorderExample response
Status 200 No response body
List all error tracking issues
Required API key scopes
error_tracking:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /error_tracking /issuesExample response
Status 200
RESPONSE
Retrieve error tracking issues
Required API key scopes
error_tracking:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /error_tracking /issues /:idExample response
Status 200
RESPONSE
Update error tracking issues
Also available via the PostHog MCP server:
error-tracking-issues-partial-update— Update error tracking issue
Required API key scopes
error_tracking:writePath parameters
- idstring
Request parameters
- status
- namestringnull
- descriptionstringnull
Response
Example request
PATCH /api /projects /:project_id /error_tracking /issues /:idExample response
Status 200
RESPONSE
Delete error tracking issues
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
error_tracking:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /error_tracking /issues /:idExample response
Status 405 No response body
Retrieve error tracking issues activity
Required API key scopes
activity_log:readPath parameters
- idstring
Example request
GET /api /projects /:project_id /error_tracking /issues /:id /activityExample response
Status 200 No response body
Update error tracking issues assign
Required API key scopes
error_tracking:writePath parameters
- idstring
Request parameters
- idstring
- statusstring
- namestringnull
- descriptionstringnull
- first_seenstringnull
- assignee
- external_issuesarray
- cohort
Example request
PATCH /api /projects /:project_id /error_tracking /issues /:id /assignExample response
Status 200 No response body
Create error tracking issues merge
Also available via the PostHog MCP server:
error-tracking-issues-merge-create— Merge error tracking issues
Required API key scopes
error_tracking:writePath parameters
- idstring
Request parameters
- idsarray
Response
Example request
POST /api /projects /:project_id /error_tracking /issues /:id /mergeExample response
Status 200
RESPONSE