Skip to main content
GET
Get a workspace
Fetches a single workspace. Visibility matches the list, so a workspace that isn’t shared with you returns 404. See Projects for how visibility works. Visibility-fenced like the list — a workspace the caller cannot see answers 404.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

workspaceId
string
required

Response

The workspace

id
string
name
string
slug
string
createdAt
string<date-time>