GET /api/projects/:id/feature_flags
Returns a paginated list of all feature flags in a project. Supports filtering by various criteria including active status, creation, tags, and evaluation runtime.Path Parameters
Project ID
Query Parameters
Filter by active status:
true, false, or STALEFilter by user ID who created the flag
Search by feature flag key or name (case insensitive)
Filter by flag type:
boolean, multivariant, or experimentFilter by evaluation runtime:
server, client, or bothJSON-encoded array of tag names to filter by
Filter by presence of evaluation context tags:
true or falseJSON-encoded array of flag keys to exclude from results
Field to order by (prefix with
- for descending). Default: -created_atNumber of results per page
Pagination offset
Response
Total number of feature flags matching the filters
URL for the next page of results
URL for the previous page of results
Array of feature flag objects
Feature flag ID
Unique flag identifier
Flag description
Release conditions and configuration
Whether the flag is currently active
Whether the flag is soft-deleted
ISO 8601 timestamp
User who created the flag
Associated tag names
Evaluation context tag names
Version number for optimistic locking
Whether the current user can edit this flag
Associated experiments
Associated surveys
Associated early access features
Examples
List All Flags
Filter Active Flags
Search by Key or Name
Filter by Type and Tags
Filter by Evaluation Runtime
Pagination
Response Example
Notes:
- Internal flags created by surveys and product tours are automatically excluded from results
- Flags are ordered by creation date (newest first) by default
- Use the
orderparameter to sort by other fields (e.g.,order=keyororder=-updated_at) - The
STALEstatus filter returns flags that haven’t been evaluated recently - When filtering by tags, flags must have ALL specified tags (AND logic)
- The
has_evaluation_tagsfilter helps identify flags with runtime context requirements