Create a workspace
Creates a workspace — a router-mode MCP server scoped to an optional set of integrations. An empty/omitted integrations list exposes all integrations. The environment (sandbox/production) is derived from the API key, not the request body.
Authorizations
Enter your API key with the Bearer prefix — e.g. Bearer sk_live_xxx (production) or Bearer sk_test_xxx (sandbox)
Body
Workspace display name.
1 - 100"Support Bot"
Toolkit slugs to expose (e.g. github, gmail). Omit or pass [] to expose all integrations.
github, gmail, hubspot, jira, monday-crm, notion, pipedrive, quickbooks-online, salesforce, slack, xero, zoho-books, zoho-crm Optional per-workspace OpenRouter API key (bring-your-own LLM key). Input-only: it is validated, encrypted at rest, and NEVER returned in any response. Setting it routes this workspace's chat through OpenRouter; when omitted, the platform default model is used. Use DELETE /mcp/workspaces/{id}/llm-key to remove it later.
8"sk-or-v1-xxxxxxxxxxxxxxxxxxxxxxxx"
Optional OpenRouter model id in vendor/model format. Only meaningful alongside (or after) an openRouterApiKey.
"anthropic/claude-sonnet-4-6"
When true, POST /mcp/{workspaceId}/chat for this workspace persists NOTHING (no session, messages, tool I/O, or end-user context) and the caller must supply prior turns via the history field on each chat request. Usage metadata (token/request counts) is still recorded for billing; analytics events are content-free. Default false.
false
Response
Workspace created.