WorkspaceService
Workspaces
List workspaces
Lists all workspaces for the current account
get/v1/workspaces
Query parameters
limitinteger
Maximum number of results to return
cursorstring
Pagination cursor from previous response
sortOrderstring
Sort order for results (asc or desc by creation time)
includeInfoboolean
When set to true you may use more of your alloted API rate-limit
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"
}
}
]
}