Create an API key
You must be a workspace admin.- In Doris, open Settings > Workspace > Developer.
- In API Keys, click Create Key.
- Enter a name for the key, then click Create.
- Copy the key. Doris shows it once only.
sk-live-. A workspace can have up to 25 keys. To revoke a key, click its delete icon in the list.
What a key can do
A key works only on routes under/api/v1/ontology/.
Keys that you create in the app have the scopes ontology:read and events:read. With these scopes, a key can call GET routes only. PATCH and POST routes need the ontology:write scope. The app does not create keys with that scope.
A key belongs to the workspace, not to a person. A call with a key counts as an agent call. The server refuses any action that can reach a buyer unless a person starts it.
First request
results, total, count, offset and limit.
To get one deal with related data, use expand:
record, one key for each expand key, _links and _meta.
Find the types
The types depend on your workspace. CallGET /types to list them. Call GET /types/{type_name} to get the properties, expand keys, writable fields, actions and measures of one type.
Limits
- 10,000 requests a day for each workspace. All keys in a workspace share this quota. The MCP server uses the same quota.
- Each route also has a per-minute limit for each workspace: 300, 120 or 60 requests. Each reference page gives the limit of its route.
429 with the error quota_exceeded.
Errors
An error response has this shape:Privacy
Read routes take aprivacy parameter: full, masked or anonymous. The default is full. See Privacy modes.