Management plane vs data plane
The platform separates administration from inference into two planes:- Management plane: workspace administration. Endpoints live under
/v2/and authenticate with a workspace-scoped Management Key or a standard API Key, depending on the endpoint family (see the table below). - Data plane: inference and product endpoints. Requests run through the AI Gateway at
https://my.orq.ai/v3/routerand authenticate with a project-scoped API Key.
Base URL and versioning
Management endpoints use the platform base URL with the/v2/ version prefix:
URL
/v3/ instead, for example https://my.orq.ai/v3/router/responses.
Resources
API Keys
Create, list, retrieve, update, and delete project-scoped keys, and fetch the capability catalog.
Management Keys
Create and manage workspace-scoped keys with per-domain access, plus the management capability catalog.
Budgets
Cap cost, token, and requests-per-minute usage per workspace, project, identity, key, provider, or model.
Projects
Organize keys, prompts, and models into projects and manage project lifecycle.
Alerts
Configure alert triggers and route notifications when thresholds are hit.
Notifiers
Register webhook and channel targets that alerts and budgets notify.
Identities
Track end users across projects and scope budgets and annotations to them.
Workspaces
List the workspaces a key can reach, and retrieve or update the workspace itself.
Workspace Settings
Retrieve and update workspace-level settings.
Workspace Security
Manage the verified domains and IP allowlist entries that gate workspace access.
Workspace Models
Enable a model for the workspace, or disable it again.
Authentication and permissions
Every key has apermission_mode preset and an optional per-domain access map:
- All: full read and write access to every capability.
- Read only: read access to every capability.
- Restricted: per-domain access from the
accessmap.
permission_mode is all, read_only, or restricted, and access values are none, read, or write. Management Keys send the enum names: MANAGEMENT_PERMISSION_MODE_* and ACCESS_LEVEL_*.
The capability catalogs enumerate the grantable domains:
See API Keys and Management Keys for the permission presets and Management Keys for the workspace administration endpoints.
Worked example: provision a scoped key with a budget
The common automation task: mint a restricted Management Key, create a scoped API Key with it, then attach a Budget to cap the key’s spend.1
Create a restricted Management Key
2
Create a scoped API Key
id and its token. Substitute the id for <api-key-id> in the next step.3
Attach a Budget to the key