POST /api/v1/mcp/workspaces and PATCH /api/v1/mcp/workspaces/{id}). The environment (sandbox/production) is always derived from the API key — sk_test_* keys operate on sandbox, sk_live_* on production.
Looking to disable server-side conversation storage and supply prior turns yourself? See the Stateless Chat guide.
Set the key on create
Update the key or model later
Field reference
Platform fallback
When noopenRouterApiKey is configured on a workspace, chat falls back to the platform’s default model — you don’t have to set a key to use chat at all.
The llm status object
Create, get, and update responses (and each list item) include an llm object describing the workspace’s BYO LLM state. The key itself is never present here.
RouteMCP currently supports OpenRouter only for bring-your-own LLM keys. Support for additional providers is in progress and coming soon.