---
title: "Get Current Workspace"
method: GET
path: "/api/workspaces/current"
tags: ["workspaces", "workspaces"]
---

# Get Current Workspace

`GET /api/workspaces/current`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/workspaces/current`
- Auth: none declared

Get the user's current workspace.

Uses the workspace_id from the JWT token (set when user switches workspace)
to ensure the frontend stays in sync with the active workspace context.
Falls back to the user's default workspace if JWT has no workspace_id
or the workspace is no longer accessible.

## Response `200`

Successful Response

- WorkspaceResponse: Response for a single workspace.
  - `id` integer, required
  - `type` string, required
  - `owner_user_id` integer, nullable
  - `name` string, required
  - `slug` string, nullable
  - `description` string, nullable
  - `logo_url` string, nullable
  - `billing_mode` string, nullable
  - `created_at` string, nullable
  - `updated_at` string, nullable
  - `user_role` string, nullable
  - `role` string, nullable
  - `is_default` boolean, nullable
  - `member_count` integer, nullable
  - `settings` object, nullable
  - `video_generation_enabled` boolean, nullable
  - `gmail_full_read` boolean, nullable

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/d84e7dc9977d?raw)
