provider feature_flags POST /api/projects/{project_id}/feature_flags/bulk_keys/
@utdk/posthog /api/projects/{project_id}/feature_flags/bulk_keys/
feature_flags_bulk_keys_retrieve
Get feature flag keys by IDs. Accepts a list of feature flag IDs and returns a mapping of ID to key.
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
featureFlagsBulkKeysRetrieve
POST/api/projects/{project_id}/feature_flags/bulk_keys/
Get feature flag keys by IDs. Accepts a list of feature flag IDs and returns a mapping of ID to key.

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/.

Input

Feature flag IDs to look up keys for. Strings of digits are also accepted; any other value is reported in the response `warning` field and otherwise ignored.

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