Skip to content
Dashboard
Theme
Theme

List feature flags

GET /v1/feature_flags: List feature flags.

View Markdown

GET /v1/feature_flags

Scope
feature_flags:read
Auth
Secret key (sk_…)
Since
1.1
  • limit integer

    min 1 · max 100 · default 20

  • after string

    Cursor from next_cursor.

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X GET \
"https://api.ohauthcat.com/v1/feature_flags" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "list",
"data": [
{
"object": "feature_flag",
"id": "flag_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"key": "plan",
"name": "Acme Corp",
"description": "Primary SSO connection for Acme Corp.",
"kind": "boolean",
"enabled": true,
"variants": [
{
"key": "plan",
"value": {}
}
],
"off_variant": "example_off_variant",
"rules": [
{
"conditions": [],
"serve": {}
}
],
"fallthrough": {
"variant": "default",
"rollout": [
{}
],
"bucket_by": "example_bucket_by"
},
"revision": 1,
"created_at": "2026-01-15T09:30:00Z",
"updated_at": "2026-01-15T09:30:00Z"
}
],
"has_more": true,
"next_cursor": "cur_01J9Z3K5V7W8X9Y0Z1A2B3C4D5"
}