> ## Documentation Index
> Fetch the complete documentation index at: https://opentrain.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Archive Workspace

> Soft-archive an instruction workspace.

Archives a workspace (soft — sets `archivedAt` and retains its rows). Archived workspaces are excluded from list/read access through this public API, and this API currently has no restore endpoint.

**Requirements:** `instructions:write` + workspace `OWNER` + a verified (claimed) account.

## Request

<ParamField path="workspaceId" type="string" required>
  The workspace id.
</ParamField>

## Response

<ResponseField name="workspace" type="object">
  The workspace summary with `archivedAt` set.
</ResponseField>
