provider feature_flags GET /api/projects/{project_id}/feature_flags/{id}/status/
@utdk/posthog /api/projects/{project_id}/feature_flags/{id}/status/
feature_flags_status_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.
id path required
A unique integer value identifying this feature flag.
integer
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
featureFlagsStatusRetrieve
GET/api/projects/{project_id}/feature_flags/{id}/status/
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

A unique integer value identifying this feature flag.

required

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

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.featureFlagsStatusRetrieve()