/ workspacesList workspaces
Workspaces the key's owner owns. Not paginated: next_cursor is always null.
Responses
- 200 Workspaces. (WorkspaceList)
- 401 Missing, malformed, unknown or revoked API key. (ErrorResponse)
- 403 The account has no paid plan. (ErrorResponse)
- 429 Rate limit exceeded. Wait the number of seconds in Retry-After. (ErrorResponse)
- 500 Unexpected error. Retry later and quote request_id if it persists. (ErrorResponse)
200 response schema
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string"
},
"is_default": {
"type": "boolean"
},
"archived": {
"type": "boolean",
"description": "Archived workspaces are read-only: reads work, writes return 409."
},
"created_at": {
"type": "string"
}
},
"required": [
"id",
"name",
"is_default",
"archived",
"created_at"
]
}
},
"next_cursor": {
"description": "Pass as ?cursor to get the next page. Null on the last page.",
"type": [
"string",
"null"
]
}
},
"required": [
"data",
"next_cursor"
]
}