Create a Report
Use this endpoint to generate reports asynchronously using pre-registered templates. You can apply custom filters to define specific criteria by domain, like account IDs in onboarding.
The request returns a unique reportId to track status and download the report when ready.
Documentation Index
Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
Use this file to discover all available pages before exploring further.
Headers
The authorization token in the 'Bearer ' format.
Important: This header is required if your environment has Access Manager enabled. For more information, refer to the Access Manager documentation.
The unique identifier of the Organization associated with the request.
Optional idempotency key for safe retries. If omitted, the server may generate one automatically.
See Retries and idempotency for details.
Body
Details of the request to generate the report.
Unique identifier of the template used to generate the report.
Object that defines the filtering criteria applied to the data used in the report. Now supports advanced filtering operators including equality, comparison, range, and list-based conditions.
Important: The filters object must be included in the request body, even if empty.
Response
Indicates that the report request was successfully created.
The response includes the X-Idempotency-Replayed header.
If the value is false, the request was just processed. If the value is true, the response is a replay of a previously processed request.
See Retries and idempotency for more details.
Details about the report that was created.
Unique identifier of the report generation request.
Unique identifier of the template used to generate the report.
Output format configured on the template used to generate the report.
"XML"
Description configured on the template used to generate the report.
"Cadoc"
Object that defines the filtering criteria applied to the data used in the report. Now supports advanced filtering operators including equality, comparison, range, and list-based conditions.
Current status of the report
Timestamp marking when the report processing was completed.
Timestamp marking when this report request was created.
Timestamp marking the last update to this report request.
Timestamp marking when this report request was soft deleted, if applicable.
An object containing key-value pairs to add as metadata, where the field name is the key and the field value is the value. For example, to add a Cost Center, use 'costCenter': 'BR_11101997'.

