Programmatic access to your Oleria workspace, secured with OAuth 2.0 Client Credentials. The Oleria API is a REST API - all endpoints use standard HTTP methods and return JSON bodies. Versioning is part of the URL path so breaking changes can ship without disrupting your existing integrations.Documentation Index
Fetch the complete documentation index at: https://docs.oleria.com/llms.txt
Use this file to discover all available pages before exploring further.
Environments
Your API base URL is shown in the API URL field when you create an OAuth application in Settings → Manage APIs. It follows the pattern:Authentication
The API uses the OAuth 2.0 Client Credentials grant. You exchange aclient_id and client_secret for a short-lived JWT, then send it as a Bearer credential in the Authorization header on every request.
Conventions
| Convention | Detail |
|---|---|
| Versioning | Version is part of the URL path - currently /v1/. Breaking changes will ship under a new path prefix. |
| Timestamps | ISO 8601, UTC (for example, 2026-05-12T17:32:00Z). |
| Encoding | UTF-8. |
Errors
Oleria uses conventional HTTP status codes to indicate success or failure. Error responses include a stable JSON body withcode and message fields you can branch on.
| Status | Meaning |
|---|---|
200 | Request succeeded. |
201 | A new resource was created. |
400 | Bad Request - the request body or parameters are invalid. |
401 | Unauthorized - missing, expired, or malformed access token. |
403 | Forbidden - the credential is not permitted on this resource. |
404 | Not Found - the resource does not exist or is not visible to this credential. |
429 | Too Many Requests - rate limit exceeded. |
5xx | Server error on Oleria’s side. |
Rate limits
The Oleria API enforces per-tenant rate limits to protect platform stability. When you exceed your limit, the API returns429 Too Many Requests with a Retry-After response header (in seconds). Implement exponential back-off in your client to avoid compounding pressure on the gateway.
Example request
Once you have an access token (see Generate an API Token), call the API by passing the token as aBearer credential. For example, to start a CSV export of the identity inventory:
Next steps
Generate an API token
Walk through the OAuth 2.0 Client Credentials flow end-to-end, with troubleshooting and token-rotation guidance.

