EndpointsList workspaces

workspaces

List workspaces

Returns workspaces visible within the authenticated request scope. An unscoped user credential sees all of its workspaces; a workspace-scoped request sees only that workspace.

GET/workspaces
Authorizationstringheaderrequired

Bearer token for the authenticated caller.

Filter by owning organization. Requires membership.

Required string length: 1 - 54

cursorstring

Pagination cursor from a previous response's next_cursor.

limitintegerdefault:50

Items per page (1-100, default 50)

Required range: 1 <= x <= 100

Example: 50

Response

application/json

Workspace list

dataobject[]required
child attributes
data.organization_idstringrequired

ID of the organization that owns this workspace.

Required string length: 1 - 54

data.idstringrequired

Workspace ID

Required string length: 1 - 53

Example: "ws_j572abc123def4"

data.namestringrequired

Display name

Example: "Acme Research"

data.slugstringrequired

URL-safe workspace slug

data.planobjectrequired
child attributes
data.plan.tierstringrequired
data.plan.billed_byenum<string>required

Available options: platform, seller

data.workspace_classenum<string>required

Available options: standard, platform, sandbox

data.lifecycleobjectrequired
child attributes
data.lifecycle.stateenum<string>required

Lifecycle state of the workspace. DELETING means deletion was accepted and the workspace is retained until purge_at.

Available options: ACTIVE, DELETING, PURGED

data.lifecycle.deletion_phaseenum<string> | nullrequired

Progress of the accepted deletion request, or null when no deletion has been recorded.

Available options: ACCEPTED, RUNNING, SUCCEEDED, FAILED

data.lifecycle.deleted_atinteger | nullrequired

When deletion was accepted, or null.

Required range: x >= 0

data.lifecycle.purge_atinteger | nullrequired

Scheduled retention expiry that #955 owns as the purge executor, or null.

Required range: x >= 0

data.created_atintegerrequired

Unix timestamp (seconds)

Required range: x >= 0

data.updated_atintegerrequired

Unix timestamp (seconds)

Required range: x >= 0

data.etagstringrequired
has_morebooleanrequired

True if more items exist after this page.

next_cursorstring | nullrequired

Opaque cursor for the next page, or null if no more pages.