Skip to navigation

List workspaces

Your own workspaces (scope=mine, the default), of either visibility, or your organisation’s shared ones (scope=org), owned telling yours apart; the newest change first unless sort says otherwise. slug= looks one of yours up by its page URL. Page with limit and cursor; include=total adds the exact count. Each row carries its version, so you can write from a page.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

X-Request-IdstringOptional

Your own id for the request: 8 to 128 of [A-Za-z0-9._-]. It becomes the request’s id and is echoed on the response. A value off that grammar is replaced with a fresh id, never refused.

Query parameters

scopeenumOptional

mine: your own workspaces, of either visibility (the default). org: your organisation’s ORG workspaces, yours among them, served once organisation admission exists; until then 503 NOT_PRIMED.

Allowed values:
slugstringOptional

Only the workspace with this slug: at most one of yours on scope=mine, one per owner on scope=org. A slug nobody holds, or one off the slug grammar, is an empty page.

visibilityenum or stringOptional

Only these visibilities; repeat the parameter or comma-separate. Any value outside Visibility is 400.

tagstringOptional

Only workspaces carrying every one of these tags, matched lower-cased; one off the tag grammar is 400.

tag.notInstringOptional

None of the workspaces carrying any of these tags; one off the tag grammar is 400.

sortstringOptional

Comma-separated updatedAtNs, createdAtNs, title or slug; prefix - for descending. Default -updatedAtNs. The id breaks every tie.

limitintegerOptional

Page size, 1-100; larger values are clamped. Default 50.

cursorstringOptional

nextCursor or prevCursor from a previous page, sent with the same scope, filters and sort. A cursor is bound to you: sent by anyone else it is 400.

includeenumOptional

total adds the exact count.

Allowed values:

Response

A page of workspaces.
itemslist of objects
nextCursorstring or null

Pass as cursor for the next page. Null on the last page.

prevCursorstring or null

Pass as cursor for the previous page. Null on the first page.

totalinteger or null

Exact count matching the filter. Null unless include=total.

asOfSeqTsNsstring or nullformat: "^[0-9]+$"

Always null: workspaces are read-your-writes and carry no sequencer position, so no X-Immix-As-Of-Seq-Ts is sent either.

Errors

400
List Workspaces Request Bad Request Error
401
List Workspaces Request Unauthorized Error
403
List Workspaces Request Forbidden Error
501
List Workspaces Request Not Implemented Error
503
List Workspaces Request Service Unavailable Error