feature_flags

Create, read, update and delete feature flags. See docs for more information on feature flags.

If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.

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

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/feature_flags/user_blast_radius/
  • 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

conditionobject required

The release condition to evaluate

group_type_indexinteger nullable

Group type index for group-based flags (null for person-based flags)

Response

affectedinteger required

Number of entities matching the condition (users or groups depending on group_type_index)

totalinteger required

Total number of entities of this type in the project

Changes

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