List workspaces
GET
/v1/workspacesAuthorization
AuthorizationBearer token · headerrequiredQuery parameters
limitinteger<int64>min 1 · max 200
afterstring<uuid>Rows past this id in `order`'s direction: a page's `next_cursor`.
beforestring<uuid>Rows just before this id, still in `order`'s direction: a page's `prev_cursor`.
orderOrderParamNewest first when omitted.
Allowed:
ascdescsearchstringOnly workspaces whose name holds this, ignoring case, or whose id does.
min length 1 · max length 200
Responses
200One page of the caller's organization's workspaces, newest first unless order=asc.
itemsWorkspaceBody[]requiredShow propertiesHide properties
Array of
WorkspaceBodycreated_atstring<date-time>requiredidstring<uuid>requirednamestringrequiredorganization_idstring<uuid>requirednext_cursorstring<uuid> | nullrequiredPass back as `after` for the next page; `null` on the last page.
prev_cursorstring<uuid> | nullrequiredPass back as `before` for the previous page; `null` on the first page.
400Bad limit, cursor, order, or search.
errorErrorDetailrequiredWhat went wrong: a `code` to branch on and a `message` to show. The
message is written for a person and may change; the code will not.
Show propertiesHide properties
codeErrorCoderequiredThe machine-readable half of an error response, and the field a client
branches on. Closed: every error carries exactly one of these.
Allowed:
unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternalmessagestringrequired401Missing, malformed, or invalid bearer token.
errorErrorDetailrequiredWhat went wrong: a `code` to branch on and a `message` to show. The
message is written for a person and may change; the code will not.
Show propertiesHide properties
codeErrorCoderequiredThe machine-readable half of an error response, and the field a client
branches on. Closed: every error carries exactly one of these.
Allowed:
unauthorizedforbiddennot_foundinvalid_requestconflictclient_outdatedprecondition_failedtoo_many_requestsinternalmessagestringrequired