---
title: "GET /api/workspaces/"
method: GET
path: "/api/workspaces/"
tags: ["Workspaces"]
---

# GET /api/workspaces/

`GET /api/workspaces/`

Lists all the workspaces of the authorized user. A workspace can contain multiple applications like a database. Multiple users can have access to a workspace. For example each company could have their own workspace containing databases related to that company. The order of the workspaces are custom for each user. The order is configurable via the **order_workspaces** endpoint.

## Response `200`

- WorkspaceUserWorkspace[]
  - `id` integer, required — Workspace id.
  - `name` string, required — Workspace name.
  - `users` WorkspaceUser[], required — List of all workspace users.
    - `id` integer, required
    - `name` string, required — User defined name.
    - `email` string, required — User email.
    - `workspace` integer, required — The workspace that the user has access to.
    - `permissions` string — The permissions that the user has within the workspace.
    - `created_on` string, date-time, required
    - `user_id` integer, required — The user that has access to the workspace.
    - `to_be_deleted` boolean, required — True if user account is pending deletion.
    - `two_factor_auth` string, required
  - `order` integer, required — The requesting user's order within the workspace users.
  - `permissions` string, required — The requesting user's permissions for the workspace.
  - `unread_notifications_count` integer, required — The number of unread notifications for the requesting user.
  - `generative_ai_models_enabled` string, required — Generative AI models available in this workspace.

---

[API](https://skmtc.net/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.net/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/revisions/0c490e5b0c7f/schema)
