The Downloads API exports any data domain in your Oleria workspace as a CSV. Every request is asynchronous: you create a request, poll until it completes, then fetch the resulting CSV from a presigned URL. This page covers the lifecycle, the filter and sort grammar, and the full catalog of data contexts.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.
The asynchronous lifecycle
Create a download request
POST /v1/downloads with a JSON body that specifies the context (which data domain you want) and an optional params object with filters and sort order. The response is a DownloadRequest with a UUID id and status: "accepted".Poll for completion
GET /v1/downloads/{id} returns the current state of the request. status transitions from accepted to either completed (with a presigned url) or failed (with a populated error object).Filtering and sorting
Theparams.filterBy array applies AND-combined filters to the data context before export. Each filter declares the column’s dataType, the field name, a filterType operator, and an array of values.
dataType | filterType operators |
|---|---|
string | eq, ne, in, notIn, contains, notContains, matches, isNull, isNotNull |
number | eq, ne, gt, gte, lt, lte, between, in, notIn, isNull, isNotNull |
boolean | eq, ne, isNull, isNotNull |
timestamp | eq, ne, gt, gte, lt, lte, between, last, isNull, isNotNull |
enum | eq, ne, in, notIn, isNull, isNotNull |
params.sortBy to order results. Each entry takes a field and a sortType of asc or desc.
between and in expect multiple entries in the values array. last (timestamps only) expects a duration value such as 7d or 24h.Data contexts
Thecontext field on a download request controls which data domain is exported. The full enum is listed in the OpenAPI spec; below is the canonical grouping.
| Group | Example contexts | What it returns |
|---|---|---|
| Access Inventory | accessInventoryIdentitiesV2, accessInventoryAccountsV2, accessInventoryGroupsV2, accessInventoryRolesV2, accessInventoryNhiV2 | Snapshots of who has access to what, by identity / account / group / role. |
| Identity & Employees | identities, employees, employeeAccessInsights, oleriaUsers | Canonical identity and HR records, plus per-employee access posture. |
| Utilization | accountUtilization, groupUtilizationAccounts | Activity-weighted views of how access is actually used. |
| Risk & Activity | risksV2, riskMonitoringDetail, activityAnalysis | Detected risks, monitoring detail, and the raw activity log. |
| Identity Assessments | identityAssessmentEntitlementUtilization, identityAssessmentResourceInstanceUtilization, identityAssessmentRiskDownload, identityAssessmentSimilarGroups | Periodic assessment outputs across entitlements and resources. |
| Identity Lifecycle (ILM) | ilmEmployeeEvents, ilmWorkflowEmployeeEvents | Joiner / mover / leaver events and the workflows they triggered. |
| External Access | externalAccessUsers, externalAnonymousAccess, externalSharedAssets | Third-party users, anonymous shares, and externally shared assets. |
| Access Requests | accessRequests | Submitted access requests and their status. |
| Reference | resourceInstances, unmanagedApplications, applicationAccounts, userGroup | Resource and application catalog data. |

