App

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

Endpoints

GET
GET
GET
GET

Retrieve app metrics

Required API key scopes

plugin:read

Path parameters

  • id
    integer
  • project_id
    string

Example request

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

Example response

Status 200 No response body

Retrieve app metrics error details

Path parameters

  • id
    integer
  • project_id
    string

Example request

GET /api/projects/:project_id/app_metrics/:id/error_details
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/projects/:project_id/app_metrics/:id/error_details/

Example response

Status 200 No response body

Retrieve app metrics historical exports

Required API key scopes

plugin:read

Path parameters

  • plugin_config_id
    string
  • project_id
    string

Example request

GET /api/projects/:project_id/app_metrics/:plugin_config_id/historical_exports
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/projects/:project_id/app_metrics/:plugin_config_id/historical_exports/

Example response

Status 200 No response body

Retrieve app metrics historical exports retrieve

Required API key scopes

plugin:read

Path parameters

  • id
    string
  • plugin_config_id
    string
  • project_id
    string

Example request

GET /api/projects/:project_id/app_metrics/:plugin_config_id/historical_exports/:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/projects/:project_id/app_metrics/:plugin_config_id/historical_exports/:id/

Example response

Status 200 No response body

Community questions

Questions about this page? or post a community question.