Skip to main content
GET
List workspaces
Returns every workspace visible to the caller, with no X-Workspace-Id needed. Use it to find the workspace id for later calls. See Projects for how workspaces divide an organization. The workspaces in the organization the caller can see. Admins and owners see every workspace; other members see the workspaces shared with them. No X-Workspace-Id is needed. /v1/projects is a deprecated alias of this path.
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.

Response

200 - application/json

Workspaces, oldest first

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