Saltar al contenido principal
GET
/
v1
/
reports
Retrieve Reports
curl --request GET \
  --url https://smart-templates.sandbox.midaz.io/v1/reports \
  --header 'X-Organization-id: <x-organization-id>'
{
"items": [
{
"id": "0196b268-620d-7d09-afa3-85e4d5369eg3",
"templateId": "0196b264-24d4-7e0b-ad5c-9028cc05138d",
"filters": null,
"status": "processing",
"completedAt": "2025-05-09T00:18:27.507Z",
"createdAt": "2025-05-09T00:18:27.469Z",
"updatedAt": "2025-05-09T00:18:27.469Z",
"deletedAt": null
}
]
}

Headers

Authorization
string

The authorization token. Important: This header is required if your environment has the Acces Manager plugin enabled.

X-Organization-id
string
required

The unique identifier of the Organization associated with the request.

Query Parameters

page
integer

Page number to be returned.

limit
integer

Number of records returned.

status
string

The processing status of the report. Allowed values: processing, finished, failed.

templateId
string

The identifier of the template.

createdAt
string

Date and time when the report was created.

Response

Indicates that the resource was successfully created and the operation was completed as expected.

items
object[]
  • Option 1
  • Option 2
I