Skip to main content
GET
Get the workspace's session-history retention policy

Authorizations

X-Api-Key
string
header
required

Workspace API key, created in the dashboard under Settings → API Keys.

Query Parameters

workspaceId
string<uuid>

Workspace the request is scoped to. Optional for API keys: a key is bound to one workspace when it is created, and naming any other workspace returns an opaque 404.

Response

The policy

data
object
required

The workspace plan's history limits, plus its history feature flags.