Error

For instructions on how to authenticate to use this endpoint, see API overview.

Endpoints

GET
PATCH
POST
POST
GET
POST
GET
GET
POST

Retrieve error tracking issues activity retrieve

Required API key scopes

activity_log:read

Path parameters

  • id
    string
  • project_id
    string

Example request

GET /api/environments/:project_id/error_tracking/issues/:id/activity
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/issues/:id/activity/

Example response

Status 200 No response body

Retrieve error tracking issues activity retrieve

Required API key scopes

activity_log:read

Path parameters

  • id
    string
  • project_id
    string

Example request

GET /api/environments/:project_id/error_tracking/issues/:id/activity
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/issues/:id/activity/

Example response

Status 200 No response body

Update error tracking issues assign

Path parameters

  • id
    string
  • project_id
    string

Request parameters

  • status
  • name
    string
  • description
    string
  • first_seen
    string
  • assignee
  • external_issues
    Click to open
    array

Example request

PATCH /api/environments/:project_id/error_tracking/issues/:id/assign
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl -X PATCH \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/issues/:id/assign/\
-d status=undefined

Example response

Status 200 No response body

Update error tracking issues assign

Path parameters

  • id
    string
  • project_id
    string

Request parameters

  • status
  • name
    string
  • description
    string
  • first_seen
    string
  • assignee
  • external_issues
    Click to open
    array

Example request

PATCH /api/environments/:project_id/error_tracking/issues/:id/assign
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl -X PATCH \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/issues/:id/assign/\
-d status=undefined

Example response

Status 200 No response body

Create error tracking issues merge

Path parameters

  • id
    string
  • project_id
    string

Request parameters

  • status
  • name
    string
  • description
    string
  • first_seen
    string
  • assignee
  • external_issues
    Click to open
    array

Example request

POST /api/environments/:project_id/error_tracking/issues/:id/merge
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl
-H 'Content-Type: application/json'\
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/issues/:id/merge/\
-d first_seen="string",\
-d assignee=undefined,\
-d external_issues="array"

Example response

Status 200 No response body

Create error tracking issues merge

Path parameters

  • id
    string
  • project_id
    string

Request parameters

  • status
  • name
    string
  • description
    string
  • first_seen
    string
  • assignee
  • external_issues
    Click to open
    array

Example request

POST /api/environments/:project_id/error_tracking/issues/:id/merge
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl
-H 'Content-Type: application/json'\
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/issues/:id/merge/\
-d first_seen="string",\
-d assignee=undefined,\
-d external_issues="array"

Example response

Status 200 No response body

Create error tracking issues split

Path parameters

  • id
    string
  • project_id
    string

Request parameters

  • status
  • name
    string
  • description
    string
  • first_seen
    string
  • assignee
  • external_issues
    Click to open
    array

Example request

POST /api/environments/:project_id/error_tracking/issues/:id/split
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl
-H 'Content-Type: application/json'\
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/issues/:id/split/\
-d first_seen="string",\
-d assignee=undefined,\
-d external_issues="array"

Example response

Status 200 No response body

Create error tracking issues split

Path parameters

  • id
    string
  • project_id
    string

Request parameters

  • status
  • name
    string
  • description
    string
  • first_seen
    string
  • assignee
  • external_issues
    Click to open
    array

Example request

POST /api/environments/:project_id/error_tracking/issues/:id/split
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl
-H 'Content-Type: application/json'\
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/issues/:id/split/\
-d first_seen="string",\
-d assignee=undefined,\
-d external_issues="array"

Example response

Status 200 No response body

Retrieve error tracking issues activity

Required API key scopes

activity_log:read

Path parameters

  • project_id
    string

Example request

GET /api/environments/:project_id/error_tracking/issues/activity
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/issues/activity/

Example response

Status 200 No response body

Retrieve error tracking issues activity

Required API key scopes

activity_log:read

Path parameters

  • project_id
    string

Example request

GET /api/environments/:project_id/error_tracking/issues/activity
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/issues/activity/

Example response

Status 200 No response body

Create error tracking issues bulk

Path parameters

  • project_id
    string

Request parameters

  • status
  • name
    string
  • description
    string
  • first_seen
    string
  • assignee
  • external_issues
    Click to open
    array

Example request

POST /api/environments/:project_id/error_tracking/issues/bulk
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl
-H 'Content-Type: application/json'\
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/issues/bulk/\
-d first_seen="string",\
-d assignee=undefined,\
-d external_issues="array"

Example response

Status 200 No response body

Create error tracking issues bulk

Path parameters

  • project_id
    string

Request parameters

  • status
  • name
    string
  • description
    string
  • first_seen
    string
  • assignee
  • external_issues
    Click to open
    array

Example request

POST /api/environments/:project_id/error_tracking/issues/bulk
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl
-H 'Content-Type: application/json'\
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/issues/bulk/\
-d first_seen="string",\
-d assignee=undefined,\
-d external_issues="array"

Example response

Status 200 No response body

Retrieve error tracking issues values

Path parameters

  • project_id
    string

Example request

GET /api/environments/:project_id/error_tracking/issues/values
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/issues/values/

Example response

Status 200 No response body

Retrieve error tracking issues values

Path parameters

  • project_id
    string

Example request

GET /api/environments/:project_id/error_tracking/issues/values
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/issues/values/

Example response

Status 200 No response body

List all error tracking releases

Required API key scopes

error_tracking:read

Path parameters

  • project_id
    string

Query parameters

  • limit
    integer
  • offset
    integer

Response


Example request

GET /api/environments/:project_id/error_tracking/releases
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/releases/

Example response

Status 200
RESPONSE
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100",
"results": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"hash_id": "string",
"team_id": 0,
"created_at": "2019-08-24T14:15:22Z",
"metadata": null,
"version": "string",
"project": "string"
}
]
}

List all error tracking releases

Required API key scopes

error_tracking:read

Path parameters

  • project_id
    string

Query parameters

  • limit
    integer
  • offset
    integer

Response


Example request

GET /api/environments/:project_id/error_tracking/releases
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/releases/

Example response

Status 200
RESPONSE
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100",
"results": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"hash_id": "string",
"team_id": 0,
"created_at": "2019-08-24T14:15:22Z",
"metadata": null,
"version": "string",
"project": "string"
}
]
}

Create error tracking releases

Required API key scopes

error_tracking:write

Path parameters

  • project_id
    string

Request parameters

  • hash_id
    string
  • metadata
  • version
    string
  • project
    string

Response


Example request

POST /api/environments/:project_id/error_tracking/releases
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl
-H 'Content-Type: application/json'\
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/releases/\
-d hash_id="string",\
-d version="string",\
-d project="string"

Example response

Status 201
RESPONSE
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"hash_id": "string",
"team_id": 0,
"created_at": "2019-08-24T14:15:22Z",
"metadata": null,
"version": "string",
"project": "string"
}

Create error tracking releases

Required API key scopes

error_tracking:write

Path parameters

  • project_id
    string

Request parameters

  • hash_id
    string
  • metadata
  • version
    string
  • project
    string

Response


Example request

POST /api/environments/:project_id/error_tracking/releases
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl
-H 'Content-Type: application/json'\
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/error_tracking/releases/\
-d hash_id="string",\
-d version="string",\
-d project="string"

Example response

Status 201
RESPONSE
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"hash_id": "string",
"team_id": 0,
"created_at": "2019-08-24T14:15:22Z",
"metadata": null,
"version": "string",
"project": "string"
}
Next page →

Community questions

Questions about this page? or post a community question.