List the workspaces of the account
list_workspacesRetrieve all workspaces an account belongs to, including personal and team, with roles, to get workspace IDs for creating or listing projects.
Instructions
Every workspace the account behind the key belongs to — its own personal one, unless it only ever joined through an invitation, and each team it was invited to — with the role it holds there. A project always lives in one workspace, and that workspace's plan is what the project counts against.
Pass an id from here as workspaceId to create_project to create the project in that workspace, or to list_projects to list only the projects in it. Workspaces come in the order the account joined them, the same order the workspace switcher of the app shows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many entries to return, at most 200. Defaults to 50. | |
| cursor | No | The nextCursor of the previous page. Omit it to start from the first one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| nextCursor | Yes | Pass as cursor to read the next page. null = this was the last page. |