---
title: "GET /api/admin/workspaces/options/"
method: GET
path: "/api/admin/workspaces/options/"
tags: ["Admin"]
---

# GET /api/admin/workspaces/options/

`GET /api/admin/workspaces/options/`

Lists all workspaces. This endpoint is intended for admin-level features that need a workspace dropdown.

## Query parameters

- `ids` string
- `page` integer
- `search` string
- `size` integer

## Response `200`

- PaginationSerializerAdminWorkspaceOptions
  - `count` integer, required — The total amount of results.
  - `next` string, uri, nullable, required — URL to the next page.
  - `previous` string, uri, nullable, required — URL to the previous page.
  - `results` AdminWorkspaceOptions[], required
    - `id` integer, required
    - `value` string, required

## Other responses

- `400`
- `401` — No response body

---

[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)
