restore_workspace
Restore a workspace being deleted, before its purge_at, with everything in it. Needs an organization key or an organization admin.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_id": "<workspace_id>"
},
"name": "restore_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | `ws_…`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | `ws_…`; it starts with its region's code, such as `ws_use_…` for `us-east`. | |
| name | Yes | What it's for, such as "Production" or "Acme". | |
| region | Yes | Its home region, where its data lives and its renders run. | |
| status | Yes | `deleting` once it's deleted, until it's purged or restored. | |
| purge_at | No | When a deleted workspace is purged, with everything in it (RFC 3339); absent unless it's `deleting`. | |
| created_at | Yes | RFC 3339. | |
| key_prefix | Yes | What its API keys start with: `sk_live_`, `sk_test_` or `sk_`. | |
| organization_id | Yes | The organization it belongs to, `org_…`. | |
| rate_limit_per_minute | Yes | Requests per minute its keys may make, together. | |
| monthly_spend_cap_cents | No | The most its billable work may cost per calendar month, in USD cents; none when absent. |