# `workspaces.create` Create a workspace; for kind agent it also mints the bound Ajan token (returned once). - **method + path**: `POST /v1/workspaces` - **TR label**: Çalışma alanı oluşturuldu - **auth**: authenticated · scope gates: any of `admin` — “Erişim anahtarlarını yalnızca mağaza sahibi yönetebilir” - **agentPolicy**: `owner` — owner sessions only — never callable by any token and never an MCP tool. - **effects**: `db` - **idempotency**: server — the platform derives the key - **wraps**: [`workspace.create`](/reference/commands/workspace.create), [`token.mint`](/reference/commands/token.mint) Machine-readable body schema: [/schemas/routes/workspaces.create.json](/schemas/routes/workspaces.create.json). ## Body ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "internet": { "type": "string", "enum": [ "restricted", "open" ] }, "name": { "type": "string", "minLength": 1, "maxLength": 60 }, "kind": { "type": "string", "enum": [ "agent", "developer" ] }, "hosted": { "type": "boolean" }, "scopes": { "minItems": 1, "maxItems": 10, "type": "array", "items": { "type": "string", "pattern": "^[a-z]+(:[a-z]+)?$" } }, "expiresInDays": { "type": "integer", "minimum": 1, "maximum": 365 } }, "required": [ "name" ], "additionalProperties": false } ```