Workspaces
Workspaces
List workspaces
GET
The workspaces the API key can act in, with the caller's role in each. A workspace API key lists its own workspace.
Authorization
AuthorizationstringheaderrequiredBearer <key>, where <key> is a workspace API key or a user API key. See Authentication.
limit?LimitMaximum number of items returned, at most 200
Range
1 <= value <= 200Default
50offset?OffsetNumber of items skipped before the first one returned
Range
0 <= valueDefault
0OK
application/json- response
data*array<>has_more*Has MoreWhether more items follow this page: request the next one with offset + limit
limit*Limitoffset*Offsetcurl -X GET 'https://api.stacksync.com/v1/workspaces'{ "data": [ { "workspace_id": 0, "workspace_name": "<workspace_name>", "role": "viewer", "default_region": "besg" } ], "has_more": false, "limit": 0, "offset": 0}For AI agents
Everything an AI agent needs to call the Stacksync API, on one screen
GETList the members of a workspace
The people of the workspace with their role, and its groups with their members: the user_id and group_id an access grant names its principal by. Pending invitations are not members yet.