Base URL
All API requests are made to:Authentication
Every request must include your API key in theX-Avala-Api-Key header.
Making Requests
Below are examples of listing datasets across several languages.Handling Pagination
List endpoints return paginated results using cursor-based pagination withnext, previous, and results fields.
Response structure:
Paginating through all results:
Error Handling
The API returns standard HTTP status codes. Error responses include a JSON body with details. Error response format:Handling Errors in Code
File Uploads
File uploads use presigned URLs rather than direct multipart uploads to the API. The general flow is:- Request a presigned upload URL from the API
- Upload the file directly to cloud storage using the presigned URL
- Confirm the upload with the API