---
title: "Get the current workspace"
method: GET
path: "/v1/workspaces/current"
tags: ["WorkspaceService", "Workspaces"]
---

# Get the current workspace

`GET /v1/workspaces/current`

Retrieves the workspace associated with the current API token. Useful for workspace-scoped tokens to identify which workspace they belong to.

## Response `200`

OK

- Workspace
  - `metadata` AccountResourceMetadata, required — AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
    - `id` string, required — Unique identifier for the resource (prefixed ULID, e.g., "apikey_01HXK...")
    - `accountId` string, required — Account this resource belongs to for multi-tenant isolation (prefixed ULID)
    - `name` string, required — Human-readable name for the resource (e.g., "Customer Support Agent", "Email Tool") Required for resources that users interact with directly
    - `externalId` string — External ID for the resource (e.g., a workflow ID from an external system)
    - `labels` object — Arbitrary key-value pairs for categorization and filtering Examples: {"environment": "production", "team": "platform", "version": "v2"}
    - `profileId` string, required
  - `spec` WorkspaceSpec, required
    - `description` string
  - `status` 'STATUS_ENABLED' | 'STATUS_DISABLED' | 'STATUS_ARCHIVED', enum — Lifecycle status of the workspace. Archived workspaces reject all requests scoped to them. Server-populated.

## Other responses

- `default` — Default error response

## Changes

- **2026-06-05** `c4979c3eab43` — 1 info
  - added the optional property `status` to the response with the `200` status

[Change history](https://skmtc.dev/cadenya/apis/cadenya-api/changes/v1/workspaces/current/get.md)

---

[API](https://skmtc.dev/cadenya/apis/cadenya-api.md) · [All operations](https://skmtc.dev/cadenya/apis/cadenya-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cadenya/cadenya-api/revisions/2bd8fb53e649/schema)
