Error tracking
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
DELETE | |
POST | |
GET | |
GET | |
GET | |
DELETE | |
GET | |
GET | |
GET | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
PATCH | |
GET |
List all error tracking external references
Required API key scopes
error_tracking:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /error_tracking /external_referencesExample response
Status 200
RESPONSE
Create error tracking external references
Required API key scopes
error_tracking:writeRequest parameters
- integration_idinteger
- configobject
- issuestring
Response
Example request
POST /api /projects /:project_id /error_tracking /external_referencesExample response
Status 201
RESPONSE
Retrieve error tracking external references
Required API key scopes
error_tracking:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /error_tracking /external_references /:idExample response
Status 200
RESPONSE
Delete error tracking external references
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 /external_references /:idExample response
Status 405 No response body
Create error tracking external references link issue
Link an error to an issue that already exists in the connected provider.
Required API key scopes
error_tracking:writeRequest parameters
- integration_idinteger
- issuestring
- external_contextobject
Response
Example request
POST /api /projects /:project_id /error_tracking /external_references /link_issueExample response
Status 201
RESPONSE
Retrieve error tracking external references search issues
Search a connected provider for existing issues to link an error to.
Required API key scopes
error_tracking:readintegration:readQuery parameters
- integration_idinteger
- repositorystring
- searchstringDefault:
Response
Example request
GET /api /projects /:project_id /error_tracking /external_references /search_issuesExample response
Status 200
RESPONSE
List all error tracking fingerprints
Required API key scopes
error_tracking:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /error_tracking /fingerprintsExample response
Status 200
RESPONSE
Retrieve error tracking fingerprints
Required API key scopes
error_tracking:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /error_tracking /fingerprints /:idExample response
Status 200
RESPONSE
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
Required API key scopes
error_tracking:readQuery 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
Required API key scopes
error_tracking:readQuery 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
Required API key scopes
error_tracking:writeRequest 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