# `workspaces.adopt` Copy a workspace draft into the builder's main draft under optimistic concurrency (never a merge). - **method + path**: `POST /v1/workspaces/{ws}/adopt` - **TR label**: Taslağa alındı - **auth**: authenticated · scope gates: any of `admin`, `design:write` — “design:write yetkisi gerekli” - **agentPolicy**: `workspace` — writes confined to the caller's own draft workspace or staging — every token kind executes it directly. - **effects**: `db`, `kv` - **idempotency**: server — the platform derives the key - **wraps**: — (no command inside) Machine-readable body schema: [/schemas/routes/workspaces.adopt.json](/schemas/routes/workspaces.adopt.json). ## Body ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "expectedMainRev": { "anyOf": [ { "type": "integer", "minimum": 1, "maximum": 9007199254740991 }, { "type": "null" } ] } }, "required": [ "expectedMainRev" ], "additionalProperties": false } ```