provider feature_flags GET /api/projects/{project_id}/feature_flags/my_flags/
@utdk/posthog /api/projects/{project_id}/feature_flags/my_flags/
feature_flags_my_flags_retrieve
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) 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.
groups query
Groups for feature flag evaluation (JSON object string)
string
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
featureFlagsMyFlagsRetrieve
GET/api/projects/{project_id}/feature_flags/my_flags/
Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) 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.

Parameters

required

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

Groups for feature flag evaluation (JSON object string)

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.featureFlagsMyFlagsRetrieve({
  "groups": "{}"
})