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"
}

Additional Metadata

{
  "contract_summary": {
    "total_contracts": 410,
    "total_endpoints": 2416,
    "api_styles_used": [
      "rest"
    ]
  },
  "generated_at": "2026-03-26T06:55:53.316Z"
}