GET
https://api.veriko.mx/v1/api/usage/export Export API usage
How-to guide →Downloads a file with the API request audit log for the authenticated user. The format parameter selects between CSV (default) and XLSX. Supports date range filtering. CSV is streamed with a UTF-8 BOM.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
date_from | query | string (date) | optional | Start date (inclusive) of the range to export, in ISO 8601 format (YYYY-MM-DD). |
date_to | query | string (date) | optional | End date (inclusive) of the range to export, in ISO 8601 format (YYYY-MM-DD). |
format | query | string | optional | File format: `csv` (default) or `xlsx`. Default: |
limit | query | integer | optional | Maximum number of rows to export. Unlimited when omitted. |
curl -X GET 'https://api.veriko.mx/v1/api/usage/export' \
-H 'Authorization: Bearer mxcep_••••'
Python example — coming soon.
JavaScript example — coming soon.
PHP example — coming soon.
| Status | Class | Description | Body |
|---|---|---|---|
| 200 | 2xx | CSV file (with UTF-8 BOM) or XLSX based on `format`. | No body |
| 401 | 4xx | Authentication is required or the provided credentials are invalid. | ErrorResponse |
| Header | Type | Description |
|---|---|---|
Content-Disposition | string |
| Status | Code | Detail |
|---|---|---|
| 401 | unauthorized | Invalid or missing authentication credentials. Envelope
|