GEThttps://api.veriko.mx/v1/api/usage/export

Export API usage

Visibility
public
Auth
API key
Permission
validations.records.read
How-to guide →

Downloads the authenticated user's API activity log.

The format is chosen with format (csv by default, or xlsx), and the range is bounded by from and to, both inclusive.

Parameters
ParameterInTypeRequiredDescription
formatquerystringoptional

Requested file format for the download. Accepted: csv (default) or xlsx.

Default: csv

e.g. csv
fromquerystring (date)optional

Start date (inclusive) of the range to export, in ISO 8601 format (YYYY-MM-DD).

e.g. 2026-05-01
limitqueryintegeroptional

Row cap for the download. It only serves to LOWER the default cap of 100,000: a larger value is ignored.

e.g. 500
toquerystring (date)optional

End date (inclusive) of the range to export, in ISO 8601 format (YYYY-MM-DD).

e.g. 2026-05-17
Request
curl -X GET 'https://api.veriko.mx/v1/api/usage/export' \
  -H 'Authorization: Bearer veriko_••••'

Python example — coming soon.

JavaScript example — coming soon.

PHP example — coming soon.

Response status codesGET /v1/api/usage/export
StatusClassDescriptionBody
2002xx
CSV file (with UTF-8 BOM) or XLSX based on format.
Body without schema
4014xx
Authentication is required or the provided credentials are invalid.
ErrorResponse
4294xx
Rate limit exceeded (rate_limit_exceeded: wait a few seconds).
RetryAfterError
Response headers200
HeaderTypeDescription
Content-Dispositionstring
Errors from GET /v1/api/usage/export
StatusCodeExample
401unauthorized

This request requires authentication.

Envelope
meta.request_id
c4d5e6f7a8b99b8a7f6e5d4c
429rate_limit_exceeded

You exceeded the request limit.

Envelope
meta.request_id
f7a8b9c0d1e22e1d0c9b8a7f
Response headers
  • Retry-After: integer — Seconds to wait before retrying. Matches the endpoint's rate-limit window (typically 60s for list endpoints, 1-5s for in-flight idempotent operations).
  • X-RateLimit-Limit: integer — Configured request cap for this bucket. It is emitted on every 429 and, on the authenticated API, also on successful responses, where it is the per-key cap of the account plan.
  • X-RateLimit-Remaining: integer — Requests remaining in the current window. Always 0 at the moment of the 429; on a successful response of the authenticated API it is what is left of the per-key cap.
  • X-RateLimit-Reset: integer — Absolute Unix epoch (seconds) when the window resets. Emitted on every 429, alongside Retry-After, and on successful responses of the authenticated API.