Get the current workspace

​

Required permission: workspace:read. Authenticate with an OpenAPI Key bound to the target workspace using Authorization: Bearer <OpenAPI Key>.

Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/v1/workspace
curl https://openapi.apigo.ai/v1/workspace \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "code": 0,
  "message": "ok",
  "data": {
    "id": "workspace_EXAMPLE",
    "type": "enterprise",
    "label": "Example workspace",
    "timezone": "Asia/Shanghai",
    "created_at": "2026-01-01T00:00:00Z"
  }
}