Feature Flag Cache
API Contract
REST
/api/v1/organizations/{organization_id}/feature-flags/cache
2 endpoints
GET
/api/v1/organizations/{organization_id}/feature-flags/cache/api/v1/organizations/{organization_id}/feature-flags/cache
Get cache status and cached flags for an organization
Public
Response Example
{
"organization_id": "org-nansen-akademiet",
"cached": true,
"expired": false,
"cached_at": "2026-03-26T10:55:00Z",
"expires_at": "2026-03-26T11:55:00Z",
"flags": [
{
"flag_key": "travel_reimbursement",
"enabled": true
},
{
"flag_key": "course_administration",
"enabled": true
},
{
"flag_key": "certification",
"enabled": false
},
{
"flag_key": "encrypted_assignment_dispatch",
"enabled": true
}
]
}
DELETE
/api/v1/organizations/{organization_id}/feature-flags/cache/api/v1/organizations/{organization_id}/feature-flags/cache
Invalidate the feature flag cache for an organization
Public
Response Example
{
"organization_id": "org-nansen-akademiet",
"invalidated": true,
"invalidated_at": "2026-03-26T11:00:00Z"
}