---
title: "Bot Workspaces Route"
method: GET
path: "/api/v1/bot/workspaces"
tags: ["bot"]
---

# Bot Workspaces Route

`GET /api/v1/bot/workspaces`

The workspaces this platform user is linked to (for the /switch picker).

## Query parameters

- `provider` string, required
- `platform_user_id` string, required

## Response `200`

Successful Response

- EnvelopeBotWorkspacesResult
  - `data` BotWorkspacesResult, required
    - `workspaces` BotWorkspace[], required
      - `workspace_id` string, required
      - `name` string, nullable
      - `active` boolean
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
    - `total` integer, nullable
    - `truncated` boolean, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/minro/apis/minro-cs-platform.md) · [All operations](https://skmtc.dev/minro/apis/minro-cs-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/minro/minro-cs-platform/revisions/eb854265cf29/schema)
