Skip to main content
Auto-generated from SDK source. Last updated: February 2026.

Client

avala.Client

Synchronous client for the Avala API.
Resources: Methods: Supports context manager:

avala.AsyncClient

Asynchronous client with the same interface. All resource methods are async.

Resources

datasets

client.datasets.create()

Create a new dataset.
Returns: Dataset

client.datasets.list()

List datasets with optional filtering and cursor-based pagination.
Returns: CursorPage[Dataset]

client.datasets.get()

Get a single dataset by UID.
Returns: Dataset

client.datasets.list_items()

List items in a dataset. Uses the owner/slug path.
Returns: CursorPage[DatasetItem]

client.datasets.get_item()

Get a single item within a dataset.
Returns: DatasetItem

client.datasets.list_sequences()

List sequences in a dataset.
Returns: CursorPage[DatasetSequence]

client.datasets.get_sequence()

Get a single sequence within a dataset.
Returns: DatasetSequence

client.datasets.get_frame()

Return a single frame’s LiDAR JSON metadata. Indexes into get_sequence().frames client-side.
Returns: DatasetFrameframe_index, key, model (pinhole / doublesphere), xi, alpha, device_position, device_heading, images[], raw.

client.datasets.get_calibration()

Return the canonicalized per-camera rig for a sequence, derived from frame[0].
Returns: DatasetCalibrationsequence_uid, cameras[] (each with camera_id, position, heading, fx, fy, cx, cy, model, xi, alpha).

client.datasets.get_health()

Read-only ingest/health snapshot. Intended for post-ingest validation.
Returns: DatasetHealthdataset_uid, dataset_slug, dataset_status, item_count, sequence_count, total_frames, s3_prefix, last_item_updated_at, sequences[] (per-sequence frame counts and calibration presence), ingest_ok, issues[].

projects

client.projects.list()

List projects with cursor-based pagination.
Returns: CursorPage[Project]

client.projects.get()

Get a single project by UID.
Returns: Project

tasks

client.tasks.list()

List tasks with optional filtering and cursor-based pagination.
Returns: CursorPage[Task]

client.tasks.get()

Get a single task by UID.
Returns: Task

exports

client.exports.list()

List exports with cursor-based pagination.
Returns: CursorPage[Export]

client.exports.create()

Create a new export. Provide either project or dataset.
Returns: Export

client.exports.get()

Get a single export by UID.
Returns: Export

storage_configs

client.storage_configs.list()

List storage configurations.
Returns: CursorPage[StorageConfig]

client.storage_configs.create()

Create a new storage configuration.
Returns: StorageConfig

client.storage_configs.test()

Test a storage configuration.
Returns: dict[str, Any]

client.storage_configs.delete()

Delete a storage configuration.
Returns: None

agents

client.agents.list()

List automation agents.
Returns: CursorPage[Agent]

client.agents.get()

Get a single agent by UID.
Returns: Agent

client.agents.create()

Create a new automation agent.
Returns: Agent

client.agents.update()

Update an existing agent.
Returns: Agent

client.agents.delete()

Delete an agent.
Returns: None

client.agents.list_executions()

List execution history for an agent.
Returns: CursorPage[AgentExecution]

client.agents.test()

Send a test event to an agent.
Returns: dict[str, Any]

inference_providers

client.inference_providers.list()

List inference providers.
Returns: CursorPage[InferenceProvider]

client.inference_providers.get()

Get a single inference provider by UID.
Returns: InferenceProvider

client.inference_providers.create()

Create a new inference provider.
Returns: InferenceProvider

client.inference_providers.update()

Update an inference provider.
Returns: InferenceProvider

client.inference_providers.delete()

Delete an inference provider.
Returns: None

client.inference_providers.test()

Test connectivity to an inference provider.
Returns: dict[str, Any]

auto_label_jobs

client.auto_label_jobs.list()

List auto-label jobs with optional filtering.
Returns: CursorPage[AutoLabelJob]

client.auto_label_jobs.get()

Get a single auto-label job by UID.
Returns: AutoLabelJob

client.auto_label_jobs.create()

Create a new auto-label job for a project.
Returns: AutoLabelJob

client.auto_label_jobs.cancel()

Cancel a running auto-label job.
Returns: None

quality_targets

All quality target methods are scoped to a project.

client.quality_targets.list()

List quality targets for a project.
Returns: CursorPage[QualityTarget]

client.quality_targets.get()

Get a single quality target.
Returns: QualityTarget

client.quality_targets.create()

Create a quality target for a project.
Returns: QualityTarget

client.quality_targets.update()

Update a quality target.
Returns: QualityTarget

client.quality_targets.delete()

Delete a quality target.
Returns: None

client.quality_targets.evaluate()

Evaluate all quality targets for a project and return current results.
Returns: list[QualityTargetEvaluation]

consensus

All consensus methods are scoped to a project.

client.consensus.get_summary()

Get consensus summary statistics for a project.
Returns: ConsensusSummary

client.consensus.list_scores()

List consensus scores for individual items.
Returns: CursorPage[ConsensusScore]

client.consensus.compute()

Trigger consensus computation for a project.
Returns: ConsensusComputeResult

client.consensus.get_config()

Get consensus configuration for a project.
Returns: ConsensusConfig

client.consensus.update_config()

Update consensus configuration. Uses PUT (full replacement).
Returns: ConsensusConfig

webhooks

client.webhooks.list()

List webhook subscriptions.
Returns: CursorPage[Webhook]

client.webhooks.get()

Get a single webhook by UID.
Returns: Webhook

client.webhooks.create()

Create a new webhook subscription.
Returns: Webhook

client.webhooks.update()

Update a webhook subscription.
Returns: Webhook

client.webhooks.delete()

Delete a webhook subscription.
Returns: None

client.webhooks.test()

Send a test event to a webhook.
Returns: dict[str, Any]

webhook_deliveries

client.webhook_deliveries.list()

List webhook delivery attempts.
Returns: CursorPage[WebhookDelivery]

client.webhook_deliveries.get()

Get a single webhook delivery by UID.
Returns: WebhookDelivery

organizations

client.organizations.list()

List organizations.
Returns: CursorPage[Organization]

client.organizations.get()

Get a single organization by slug.
Returns: Organization

client.organizations.create()

Create a new organization.
Returns: Organization

client.organizations.update()

Update an organization.
Returns: Organization

client.organizations.delete()

Deleting an organization is irreversible and may cascade-delete all associated projects, datasets, and other resources. Double-check the organization slug before calling this method.
Delete an organization.
Returns: None

client.organizations.industry_choices()

Get the list of valid industry choices.
Returns: Dict[str, Any] — A dictionary containing industry choices.

client.organizations.list_members()

List members of an organization.
Returns: CursorPage[OrganizationMember]

client.organizations.remove_member()

Remove a member from an organization.
Returns: None

client.organizations.update_member_role()

Update a member’s role in an organization.
Returns: None

client.organizations.leave()

Leave an organization (as the current user).
Returns: None

client.organizations.transfer_ownership()

Transfer organization ownership to another member.
Returns: None

client.organizations.list_invitations()

List pending invitations for an organization.
Returns: list[Invitation]

client.organizations.create_invitation()

Invite a user to an organization.
Returns: Invitation

client.organizations.resend_invitation()

Resend a pending invitation.
Returns: None

client.organizations.cancel_invitation()

Cancel a pending invitation.
Returns: None

client.organizations.list_teams()

List teams in an organization.
Returns: list[Team]

client.organizations.create_team()

Create a team in an organization.
Returns: Team

client.organizations.get_team()

Get a team by slug.
Returns: Team

client.organizations.update_team()

Update a team.
Returns: Team

client.organizations.delete_team()

Delete a team.
Returns: None

client.organizations.list_team_members()

List members of a team.
Returns: list[TeamMember]

client.organizations.add_team_member()

Add a member to a team.
Returns: TeamMember

client.organizations.remove_team_member()

Remove a member from a team.
Returns: None

client.organizations.update_team_member_role()

Update a team member’s role.
Returns: None

slices

client.slices.list()

List slices for an owner.
Returns: CursorPage[Slice]

client.slices.get()

Get a single slice.
Returns: Slice

client.slices.create()

Create a new slice.
Returns: Slice

client.slices.list_items()

List items in a slice.
Returns: CursorPage[SliceItem]

client.slices.get_item()

Get a single item within a slice.
Returns: SliceItem

Types

Dataset

DatasetItem

DatasetSequence

Project

Task

Export

StorageConfig

Agent

AgentExecution

InferenceProvider

AutoLabelJob

QualityTarget

QualityTargetEvaluation

ConsensusConfig

ConsensusScore

ConsensusSummary

ConsensusComputeResult

Webhook

WebhookDelivery

Organization

OrganizationMember

Invitation

Team

TeamMember

Slice

SliceItem


Pagination

CursorPage

All list() methods return a CursorPage[T]:
Supports iteration and len():

Errors

All errors inherit from AvalaError:

Environment Variables