Creating a workspace
client.create_workspace returns a Workspace object.
Retrieving a workspace
client.get_workspace returns a Workspace object.
Listing all workspaces
client.all_workspaces returns a list of Workspace objects.
Deleting a workspace
client.delete_workspace returns a Response object.
Leaving a workspace
If you are a member of a workspace but not the owner, you can leave the workspace usingclient.leave_workspace, which returns a Response object.
Workspace data structure
TheWorkspace object contains the following information:
| Property | Type | Description |
|---|---|---|
id | str | Workspace unique identifier |
name | str | Workspace name |
owner | Member | Workspace owner information |
members | list[Member] | List of workspace members |
applications | list[Application] | Applications associated with the workspace |
createdAt | str | Workspace creation timestamp (ISO 8601) |
Member data structure
Each member in a workspace has the following structure:| Property | Type | Description |
|---|---|---|
id | str | Member unique identifier |
name | str | Member display name |
group | str | Member role or group in the workspace |

