Change

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

Endpoints

GET

List all change feed

Lists the changes that can affect production in a time window, newest first: feature flag and experiment edits, error tracking releases, and annotations. Use it to find what changed just before an error spike or a metric drop. Changes the user has no access to are left out.

Required API key scopes

annotation:read

Query parameters

  • date_from
    string
  • date_to
    string
  • kinds
    array
    Default:
  • limit
    integer
    Default: 100

Response


Example request

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

Example response

Status 200
RESPONSE
{
"results": [
{
"kind": "feature_flag",
"timestamp": "2019-08-24T14:15:22Z",
"item_id": "string",
"name": "string",
"activity": "string",
"changed_fields": [
"string"
],
"service": "string",
"actor_name": "string"
}
],
"has_more": true
}