AsyncClient
The asynchronous client for interacting with the Avala API using async/await syntax.Initialization
Your Avala API key. If not provided, the client will attempt to read from the
AVALA_API_KEY environment variable.The base URL for the Avala API. If not provided, uses the default production API endpoint.
Request timeout in seconds.
Maximum number of retry attempts for failed requests.
Resource Properties
The client provides access to all API resources through the following properties:Access to the Agents API resource (async version).
Access to the Annotation Issues API resource (async version).
Access to the Auto Label Jobs API resource (async version).
Access to the Consensus API resource (async version).
Access to the Datasets API resource (async version).
Access to the Exports API resource (async version).
Access to the Fleet API resource (async version).
Access to the Inference Providers API resource (async version).
Access to the Organizations API resource (async version).
Access to the Projects API resource (async version).
Access to the Quality Targets API resource (async version).
Access to the Slices API resource (async version).
Access to the Storage Configs API resource (async version).
Access to the Tasks API resource (async version).
Access to the Webhooks API resource (async version).
Access to the Webhook Deliveries API resource (async version).
Methods
rate_limit_info
Dictionary containing rate limit information from the most recent API response.
close
Async Context Manager
TheAsyncClient can be used as an async context manager, which automatically handles cleanup: