Skip to navigation

Get the workspace's OpenRouter region

View as Markdown

Get the OpenRouter region the workspace’s OpenRouter requests go to, from its OpenRouter provider’s base_url or the server’s default OpenRouter URL

Response

OpenRouter region
regionenumOptional

Where the workspace’s OpenRouter requests go: the host of its OpenRouter provider’s base_url, or of the server’s default OpenRouter URL when it has none. unknown for a host other than openrouter.ai, eu.openrouter.ai or us.openrouter.ai

Allowed values:
unavailable_decision_modelslist of objectsOptional

Decision models the server refuses for this workspace, each with the region that doesn’t serve it: the server’s decisions URL region or the workspace’s region