API · Workspace · List the teamspaces the current user belongs to
List the teamspaces (Spaces) the current user is a member of, within the
token’s workspace. Use this to resolve a teamspace before scoping other
calls: each returned id (integer) is the value you pass as the Space
header (or --space / space_id) to narrow a request to that teamspace.
The token stays bound to its one workspace — this does not switch
workspaces, it only lists the sub-spaces you can scope into. Supports
?search=<name> to filter by teamspace name and ?expand=settings.
Each item: {id (int), name, slug}.
Authentication
Header authentication of the form Api-Key <token>
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
Filter teamspaces by name (substring match).
Comma-separated fields to expand inline (e.g. settings).
1-based page number.
