---
title: "Get workspace"
method: GET
path: "/v1/workspaces/{workspace_id}"
tags: ["Workspaces"]
---

# Get workspace

`GET /v1/workspaces/{workspace_id}`

Get details for a single workspace including Creative Units balance.

## Path parameters

- `workspace_id` string, uuid, required — Id of the workspace that owns the resource.

## Response `200`

Successful Response

- WorkspaceInfo
  - `workspace_id` string, uuid, required — The workspace's unique identifier.
  - `slug` string, required — The workspace slug (its representation in the app URL).
  - `name` string, required — The workspace display name.
  - `balance_creative_units` number, required — Total Creative Units balance before reservations.
  - `reserved_creative_units` number, required — Creative Units reserved by in-progress generations.
  - `available_creative_units` number, required — Usable balance (balance minus reserved). Can be negative.
  - `last_active_at` string, date-time, nullable, required — When the current user was last active in this workspace.

## Other responses

- `401` — Unauthenticated — missing or invalid Bearer token.
- `403` — Forbidden — insufficient permissions, or the access token lacks the scope the operation requires.
- `404` — Resource not found.
- `409` — The request with this `Idempotency-Key` is still running — retry after the number of seconds in `Retry-After`.
- `422` — Invalid input parameters, or an `Idempotency-Key` reused for a different request.
- `429` — Rate limited — retry after the number of seconds in `Retry-After`.
- `500` — Internal server error.

---

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