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://api.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://api.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.
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. Values areACCESS_LEVEL_NONE,ACCESS_LEVEL_READ, orACCESS_LEVEL_WRITE.
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