WorkspaceAdminService
Workspace Admin
List all workspaces in the account
Changed onLists every workspace in the account, optionally including archived ones. Admin only.
get/v1/account/workspaces
Request
- Base URLhttps://api.cadenya.com
- URLhttps://api.cadenya.com/v1/account/workspaces
- AuthHTTP bearer
Query parameters
limitinteger
Maximum number of results to return
cursorstring
Pagination cursor from previous response
includeArchivedboolean
When true, archived workspaces are included in the results. Defaults to false (active workspaces only).
labelsstring
Filters by metadata labels. Comma-separated key=value pairs, e.g. "env=prod,team=ai". A resource matches only if every pair matches exactly (AND semantics).
Response
OK
Example response
{
"items": [
{
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}
}
]
}Changes
- warning
removed the optional property
/from the response with the status
- warning
- info
added the new optional
queryrequest parameterlabels
- info