feature_flags

Get feature flag keys by IDs. Accepts a list of feature flag IDs and returns a mapping of ID to key.

post/api/projects/{project_id}/feature_flags/bulk_keys/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/feature_flags/bulk_keys/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

Response

keysobject required

Mapping of feature flag ID (as a string) to flag key, for IDs that exist in this project.

warningstring

Present when some submitted IDs were not numeric and were ignored.

Changes

No recorded changes to this operation across all 1 revision of this API.