Feature
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
GET | |
POST | |
GET | |
GET | |
POST | |
POST | |
POST | |
GET |
Create feature flags enrich usage dashboard
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.
Path parameters
- idinteger
Request parameters
- namestring
- keystring
- filtersobject
- deletedboolean
- activeboolean
- created_atstring
- versionintegerDefault:
0 - ensure_experience_continuitybooleannull
- rollback_conditions
- performed_rollbackbooleannull
- tagsarray
- evaluation_contextsarray
- analytics_dashboardsarray
- has_enriched_analyticsbooleannull
- creation_context
- is_remote_configurationbooleannull
- has_encrypted_payloadsbooleannull
- evaluation_runtime
- bucketing_identifier
- last_called_atstringnull
- _create_in_folderstring
- _should_create_usage_dashboardbooleanDefault:
true
Example request
POST /api /projects /:project_id /feature_flags /:id /enrich_usage_dashboardExample response
Status 200 No response body
Create feature flags enrich usage dashboard
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.
Path parameters
- idinteger
Request parameters
- namestring
- keystring
- filtersobject
- deletedboolean
- activeboolean
- created_atstring
- versionintegerDefault:
0 - ensure_experience_continuitybooleannull
- rollback_conditions
- performed_rollbackbooleannull
- tagsarray
- evaluation_contextsarray
- analytics_dashboardsarray
- has_enriched_analyticsbooleannull
- creation_context
- is_remote_configurationbooleannull
- has_encrypted_payloadsbooleannull
- evaluation_runtime
- bucketing_identifier
- last_called_atstringnull
- _create_in_folderstring
- _should_create_usage_dashboardbooleanDefault:
true
Example request
POST /api /projects /:project_id /feature_flags /:id /enrich_usage_dashboardExample response
Status 200 No response body
Retrieve feature flags remote config
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.
Required API key scopes
feature_flag:readPath parameters
- idinteger
Example request
GET /api /projects /:project_id /feature_flags /:id /remote_configExample response
Status 200 No response body
Retrieve feature flags remote config
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.
Required API key scopes
feature_flag:readPath parameters
- idinteger
Example request
GET /api /projects /:project_id /feature_flags /:id /remote_configExample response
Status 200 No response body
Retrieve feature flags status
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.
Required API key scopes
feature_flag:readPath parameters
- idinteger
Response
Example request
GET /api /projects /:project_id /feature_flags /:id /statusExample response
Status 200
Retrieve feature flags status
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.
Required API key scopes
feature_flag:readPath parameters
- idinteger
Response
Example request
GET /api /projects /:project_id /feature_flags /:id /statusExample response
Status 200
Create feature flags test evaluation
Test feature flag evaluation against a specific user at an optional point in time.
This endpoint allows testing how a feature flag would evaluate for a specific user, optionally at a historical timestamp. When a timestamp is provided, both the flag conditions and person properties are evaluated as they existed at that time.
Required API key scopes
feature_flag:readPath parameters
- idinteger
Request parameters
- distinct_idstring
- person_idstring
- timestampstringnull
- groups
Response
Example request
POST /api /projects /:project_id /feature_flags /:id /test_evaluationExample response
Status 200
Status 400 Invalid parameters
Status 404 Person not found
Status 500 Server error
Status 502 Flag evaluation service error
Create feature flags test evaluation
Test feature flag evaluation against a specific user at an optional point in time.
This endpoint allows testing how a feature flag would evaluate for a specific user, optionally at a historical timestamp. When a timestamp is provided, both the flag conditions and person properties are evaluated as they existed at that time.
Required API key scopes
feature_flag:readPath parameters
- idinteger
Request parameters
- distinct_idstring
- person_idstring
- timestampstringnull
- groups
Response
Example request
POST /api /projects /:project_id /feature_flags /:id /test_evaluationExample response
Status 200
Status 400 Invalid parameters
Status 404 Person not found
Status 500 Server error
Status 502 Flag evaluation service error
Retrieve feature flags versions
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.
Required API key scopes
feature_flag:readPath parameters
- idinteger
- version_numberinteger
Response
Example request
GET /api /projects /:project_id /feature_flags /:id /versions /:version_numberExample response
Status 200
Status 400 Version history is not available for remote configuration flags.
Status 404 Version not found.
Status 422 Activity log incomplete; cannot reconstruct this version.
Retrieve feature flags versions
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.
Required API key scopes
feature_flag:readPath parameters
- idinteger
- version_numberinteger
Response
Example request
GET /api /projects /:project_id /feature_flags /:id /versions /:version_numberExample response
Status 200
Status 400 Version history is not available for remote configuration flags.
Status 404 Version not found.
Status 422 Activity log incomplete; cannot reconstruct this version.
Retrieve feature flags all activity
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.
Required API key scopes
activity_log:readQuery parameters
- limitintegerDefault:
10 - pageintegerDefault:
1
Response
Example request
GET /api /projects /:project_id /feature_flags /activityExample response
Status 200
Retrieve feature flags all activity
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.
Required API key scopes
activity_log:readQuery parameters
- limitintegerDefault:
10 - pageintegerDefault:
1
Response
Example request
GET /api /projects /:project_id /feature_flags /activityExample response
Status 200
Create feature flags bulk delete
Bulk delete feature flags by filter criteria or explicit IDs.
Accepts either:
- {"filters": {...}} - Same filter params as list endpoint (search, active, type, etc.)
- {"ids": [...]} - Explicit list of flag IDs (no limit)
Returns same format as bulk_delete for UI compatibility.
Uses bulk operations for efficiency: database updates are batched and cache invalidation happens once at the end rather than per-flag.
Required API key scopes
feature_flag:writeRequest parameters
- namestring
- keystring
- filtersobject
- deletedboolean
- activeboolean
- created_atstring
- versionintegerDefault:
0 - ensure_experience_continuitybooleannull
- rollback_conditions
- performed_rollbackbooleannull
- tagsarray
- evaluation_contextsarray
- analytics_dashboardsarray
- has_enriched_analyticsbooleannull
- creation_context
- is_remote_configurationbooleannull
- has_encrypted_payloadsbooleannull
- evaluation_runtime
- bucketing_identifier
- last_called_atstringnull
- _create_in_folderstring
- _should_create_usage_dashboardbooleanDefault:
true
Example request
POST /api /projects /:project_id /feature_flags /bulk_deleteExample response
Status 200 No response body
Create feature flags bulk delete
Bulk delete feature flags by filter criteria or explicit IDs.
Accepts either:
- {"filters": {...}} - Same filter params as list endpoint (search, active, type, etc.)
- {"ids": [...]} - Explicit list of flag IDs (no limit)
Returns same format as bulk_delete for UI compatibility.
Uses bulk operations for efficiency: database updates are batched and cache invalidation happens once at the end rather than per-flag.
Required API key scopes
feature_flag:writeRequest parameters
- namestring
- keystring
- filtersobject
- deletedboolean
- activeboolean
- created_atstring
- versionintegerDefault:
0 - ensure_experience_continuitybooleannull
- rollback_conditions
- performed_rollbackbooleannull
- tagsarray
- evaluation_contextsarray
- analytics_dashboardsarray
- has_enriched_analyticsbooleannull
- creation_context
- is_remote_configurationbooleannull
- has_encrypted_payloadsbooleannull
- evaluation_runtime
- bucketing_identifier
- last_called_atstringnull
- _create_in_folderstring
- _should_create_usage_dashboardbooleanDefault:
true
Example request
POST /api /projects /:project_id /feature_flags /bulk_deleteExample response
Status 200 No response body
Create 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.
Request parameters
- namestring
- keystring
- filtersobject
- deletedboolean
- activeboolean
- created_atstring
- versionintegerDefault:
0 - ensure_experience_continuitybooleannull
- rollback_conditions
- performed_rollbackbooleannull
- tagsarray
- evaluation_contextsarray
- analytics_dashboardsarray
- has_enriched_analyticsbooleannull
- creation_context
- is_remote_configurationbooleannull
- has_encrypted_payloadsbooleannull
- evaluation_runtime
- bucketing_identifier
- last_called_atstringnull
- _create_in_folderstring
- _should_create_usage_dashboardbooleanDefault:
true
Example request
POST /api /projects /:project_id /feature_flags /bulk_keysExample response
Status 200 No response body
Create 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.
Request parameters
- namestring
- keystring
- filtersobject
- deletedboolean
- activeboolean
- created_atstring
- versionintegerDefault:
0 - ensure_experience_continuitybooleannull
- rollback_conditions
- performed_rollbackbooleannull
- tagsarray
- evaluation_contextsarray
- analytics_dashboardsarray
- has_enriched_analyticsbooleannull
- creation_context
- is_remote_configurationbooleannull
- has_encrypted_payloadsbooleannull
- evaluation_runtime
- bucketing_identifier
- last_called_atstringnull
- _create_in_folderstring
- _should_create_usage_dashboardbooleanDefault:
true
Example request
POST /api /projects /:project_id /feature_flags /bulk_keysExample response
Status 200 No response body
Create feature flags bulk update tags
Bulk update tags on multiple objects.
Accepts:
- {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]}
Actions:
- "add": Add tags to existing tags on each object
- "remove": Remove specific tags from each object
- "set": Replace all tags on each object with the provided list
Request parameters
- idsarray
- action
- tagsarray
Response
Example request
POST /api /projects /:project_id /feature_flags /bulk_update_tagsExample response
Status 200
Create feature flags bulk update tags
Bulk update tags on multiple objects.
Accepts:
- {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]}
Actions:
- "add": Add tags to existing tags on each object
- "remove": Remove specific tags from each object
- "set": Replace all tags on each object with the provided list
Request parameters
- idsarray
- action
- tagsarray
Response
Example request
POST /api /projects /:project_id /feature_flags /bulk_update_tagsExample response
Status 200
Retrieve feature flags evaluation reasons
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.
Required API key scopes
feature_flag:readQuery parameters
- distinct_idstring
- groupsstringDefault:
{}
Example request
GET /api /projects /:project_id /feature_flags /evaluation_reasonsExample response
Status 200 No response body
Retrieve feature flags evaluation reasons
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.
Required API key scopes
feature_flag:readQuery parameters
- distinct_idstring
- groupsstringDefault:
{}
Example request
GET /api /projects /:project_id /feature_flags /evaluation_reasons