Accounts
List Workspaces
List the tenancies this credential is allowed to work in
GET
Returns every tenancy the presented credential may act in. An API key is pinned at
issue time and returns exactly one entry. An MCP OAuth connection returns whatever
its grant covers: one tenancy for a pinned grant, or the personal space plus every
team workspace the connected account can reach for an all-access grant.
Use a returned
Omitting the header uses the credential’s own default: its pinned tenancy, or the
personal space for an all-access MCP grant.
selector as the X-Genviral-Workspace header on later calls to run
that request in the named tenancy.
Response
string
The exact value to send in
X-Genviral-Workspace: personal, or a workspace ID.string
personal or workspace.string
Display name for the tenancy.
Targeting a tenancy
Send the selector on any endpoint. The header may only narrow a credential to a tenancy it already covers, never widen it.cURL
Error Responses
401- authentication failed403-tenancy_not_granted: the credential may not act in the named tenancy
