provider feature_flags GET /api/projects/{project_id}/feature_flags/{id}/versions/{version_number}/
@utdk/posthog /api/projects/{project_id}/feature_flags/{id}/versions/{version_number}/
feature_flags_versions_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
version_number path required
The version number to reconstruct.
integer

Try it

Authentication
Configure credentials for PostHog API
featureFlagsVersionsRetrieve
GET/api/projects/{project_id}/feature_flags/{id}/versions/{version_number}/
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/.

required

The version number to reconstruct.

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