workspace
Get workspace flags
Changed onGet feature flags for the workspace associated with your credentials.
Each flag is keyed by its slug and includes its current value, description, and whether it can be enabled or disabled. A workspace-specific value takes precedence over the flag's default. If no flags are available, data is an empty object.
This endpoint takes no request body. Required Permissions
Your root key must have the following permission:
- unkey:v1:<workspace_id>:flags#read
post/v2/workspace.getFlags
Request
- Base URLhttps://api.unkey.com
- URLhttps://api.unkey.com/v2/workspace.getFlags
- AuthHTTP bearer
Response
Workspace flags keyed by slug, or an empty object when no flags are available.
Example response
{
"meta": {
"requestId": "req_123"
}
}Changes
- info
endpoint added
- info