Feature Flag Constants
API Contract
REST
/api/v1/feature-flags/known-keys
2 endpoints
GET
/api/v1/feature-flags/known-keys/api/v1/feature-flags/known-keys
List all well-known flag keys defined in the system
Public
Response Example
{
"data": [
{
"flag_key": "travel_reimbursement",
"description": "Enables the travel reimbursement request and approval workflow",
"category": "finance"
},
{
"flag_key": "course_administration",
"description": "Enables course creation, scheduling, and management features",
"category": "learning"
},
{
"flag_key": "certification",
"description": "Enables certification issuance and tracking",
"category": "learning"
},
{
"flag_key": "encrypted_assignment_dispatch",
"description": "Enables end-to-end encrypted dispatch of assignments to participants",
"category": "security"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 4
}
}
GET
/api/v1/feature-flags/known-keys/api/v1/feature-flags/known-keys/{flag_key}
Get metadata for a single well-known flag key
Public
Response Example
{
"flag_key": "certification",
"description": "Enables certification issuance and tracking",
"category": "learning"
}