Skip to content

List All Feature Flags

GET
/api/v1/features

Get all feature flags and their enabled status for the current user

Feature flags

object
success
required
boolean
data
required

Map of feature flag keys to enabled status

object
key
additional properties
boolean
Example
{
"fi-calculator": true,
"api-access": false,
"beta-features": true
}
meta
required
object
timestamp
required

Timestamp in ISO 8601 format

string format: date-time
Example
2024-01-15T10:30:00Z
userId

User ID used for evaluation

string format: uuid
Example
550e8400-e29b-41d4-a716-446655440000

Unauthorized

object
success
required

Always false for error responses

boolean
error
required

Error type

string
Example
Validation error
code

Machine-readable error code

string
Example
VALIDATION_ERROR
details

Detailed validation errors

Array<object>
object
path
required

Path to the invalid field

string
Example
currentAge
message
required

Error message

string
Example
Must be between 18 and 100