latestOpenAPI 3.1.02026-08-142887561.0 MB

61436a496404

beta.users

List Workspaces

List every workspace the authenticated user is a member of, across all their organizations, each tagged with the organization it belongs to.

get/v1/users/me/workspaces

Query parameters

organization_idstring uuid nullable

Return only workspaces belonging to this organization.

Example:1a2b3c4d-5e6f-4a8b-9c0d-1e2f3a4b5c6d

Return only workspaces belonging to this organization.

offsetinteger

Number of workspaces to skip before returning results.

Number of workspaces to skip before returning results.

limitinteger

Maximum number of workspaces to return.

Example:100

Maximum number of workspaces to return.

Response

OK

Example response

{
  "workspaces": [
    {
      "id": "7f8e9d0c-1b2a-4c3d-8e9f-0a1b2c3d4e5f",
      "name": "production",
      "organization_id": "1a2b3c4d-5e6f-4a8b-9c0d-1e2f3a4b5c6d"
    }
  ]
}