Client
The synchronous client for interacting with the Avala API.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.
Access to the Annotation Issues API resource.
Access to the Auto Label Jobs API resource.
Access to the Consensus API resource.
Access to the Datasets API resource.
Access to the Exports API resource.
Access to the Fleet API resource.
Access to the Inference Providers API resource.
Access to the Organizations API resource.
Access to the Projects API resource.
Access to the Quality Targets API resource.
Access to the Slices API resource.
Access to the Storage Configs API resource.
Access to the Tasks API resource.
Access to the Webhooks API resource.
Access to the Webhook Deliveries API resource.
Methods
rate_limit_info
Dictionary containing rate limit information from the most recent API response.
close
Context Manager
TheClient can be used as a context manager, which automatically handles cleanup: