KumkuatKumkuat
API reference › Workspace

Get the current workspace

GET/api/v1/workspace

GET/api/v1/workspace

Get the current workspace

The workspace the API key belongs to, with the caller's role and the workspace settings.

PARAMETERS
workspace_idquery · string
Read another workspace by id. Only honored for admin keys; every other key gets its own workspace.
e.g. string
In the full reference
REQUEST
curl "https://gateway.kumkuat.ai/api/v1/workspace" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "description": "",
  "is_active": true,
  "is_owner": true,
  "name": "Acme Corp",
  "role": "owner",
  "settings": {},
  "workspace_id": "ws_0512272171984c7fb4b7"
}
Try it — sign in first
Runs on a sandbox key: 2000 requests a month. Your real key is for production.