Skip to main content
GET
Get workspace

Authorizations

Authorization
string
header
required

Personal Access Token or OAuth2 JWT. Create a PAT at app.layer.ai → Settings → Personal Access Tokens.

Path Parameters

workspace_id
string<uuid>
required

Response

Successful Response

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> | null
required

When the current user was last active in this workspace.