Environments-2

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

Endpoints

GET

Retrieve settings as of

Return the team settings as of the provided timestamp. Query params:

  • at: ISO8601 datetime (required)
  • scope: optional, one or multiple keys to filter the returned settings

Path parameters

  • id
    integer
  • project_id
    string

Example request

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

Example response

Status 200 No response body

Community questions

Questions about this page? or post a community question.