Skip to content

Get Workspace

The workspace the key works in, with the role of the user who created the key.

GET/api/v1/workspace

Requires an API key with the read scope.

With X-Workspace-Id it returns that client workspace instead (see Agency mode). role is the role of the user who created the key in this workspace. If that user is no longer a member the call is 403.

Response#

Returns the workspace in data: id, name, slug, ownerId, isPersonal, role, memberCount, createdAt.

Errors#

StatusDescription
401Missing, invalid, revoked or expired API key
403Missing read scope, or the key's creator is not a member of this workspace

Rate Limit#

  • 300 requests per minute, shared by every read call in your workspace. Fixed 60-second window.
  • Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (unix epoch seconds) and X-RateLimit-Bucket (read).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).

For client-side patterns, see Rate Limiting.

Was this page helpful?
View as MarkdownLast updated November 4, 2026