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

Client

Avala

Main client class. Default export of @avala-ai/sdk.
Resources: Methods:

Resources

datasets

avala.datasets.create()

Create a new dataset.
Returns: Promise<Dataset>

avala.datasets.list()

List datasets with optional filtering and cursor-based pagination.
Returns: Promise<CursorPage<Dataset>>

avala.datasets.get()

Get a single dataset by UID.
Returns: Promise<Dataset>

avala.datasets.listItems()

List items in a dataset. Uses the owner/slug path.
Returns: Promise<CursorPage<DatasetItem>>

avala.datasets.getItem()

Get a single item within a dataset.
Returns: Promise<DatasetItem>

avala.datasets.listSequences()

List sequences in a dataset.
Returns: Promise<CursorPage<DatasetSequence>>

avala.datasets.getSequence()

Get a single sequence within a dataset.
Returns: Promise<DatasetSequence>

avala.datasets.getFrame()

Return a single frame’s LiDAR JSON metadata. Indexes into getSequence().frames client-side.
Returns: Promise<DatasetFrame> — throws RangeError when frameIdx is out of range.

avala.datasets.getCalibration()

Return the canonicalized per-camera rig for a sequence, derived from frame[0].
Returns: Promise<DatasetCalibration>

avala.datasets.getHealth()

Read-only ingest/health snapshot. Intended for post-ingest validation.
Returns: Promise<DatasetHealth> — includes totalFrames, sequenceCount, s3Prefix, sequences[], ingestOk, issues[].

projects

avala.projects.list()

List projects with cursor-based pagination.
Returns: Promise<CursorPage<Project>>

avala.projects.get()

Get a single project by UID.
Returns: Promise<Project>

tasks

avala.tasks.list()

List tasks with optional filtering and cursor-based pagination.
Returns: Promise<CursorPage<Task>>

avala.tasks.get()

Get a single task by UID.
Returns: Promise<Task>

exports

avala.exports.list()

List exports with cursor-based pagination.
Returns: Promise<CursorPage<Export>>

avala.exports.create()

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

avala.exports.get()

Get a single export by UID.
Returns: Promise<Export>

storageConfigs

avala.storageConfigs.list()

List storage configurations.
Returns: Promise<CursorPage<StorageConfig>>

avala.storageConfigs.create()

Create a new storage configuration.
Returns: Promise<StorageConfig>

avala.storageConfigs.test()

Test a storage configuration.
Returns: Promise<{ verified: boolean; errors?: Record<string, string[]> }>

avala.storageConfigs.delete()

Delete a storage configuration.
Returns: Promise<void>

agents

avala.agents.list()

List automation agents.
Returns: Promise<CursorPage<Agent>>

avala.agents.get()

Get a single agent by UID.
Returns: Promise<Agent>

avala.agents.create()

Create a new automation agent.
Returns: Promise<Agent>

avala.agents.update()

Update an existing agent.
Returns: Promise<Agent>

avala.agents.delete()

Delete an agent.
Returns: Promise<void>

avala.agents.listExecutions()

List execution history for an agent.
Returns: Promise<CursorPage<AgentExecution>>

avala.agents.test()

Send a test event to an agent.
Returns: Promise<{ success: boolean }>

inferenceProviders

avala.inferenceProviders.list()

List inference providers.
Returns: Promise<CursorPage<InferenceProvider>>

avala.inferenceProviders.get()

Get a single inference provider by UID.
Returns: Promise<InferenceProvider>

avala.inferenceProviders.create()

Create a new inference provider.
Returns: Promise<InferenceProvider>

avala.inferenceProviders.update()

Update an inference provider.
Returns: Promise<InferenceProvider>

avala.inferenceProviders.delete()

Delete an inference provider.
Returns: Promise<void>

avala.inferenceProviders.test()

Test connectivity to an inference provider.
Returns: Promise<{ success: boolean; message: string; testedAt: string }>

autoLabelJobs

avala.autoLabelJobs.list()

List auto-label jobs with optional filtering.
Returns: Promise<CursorPage<AutoLabelJob>>

avala.autoLabelJobs.get()

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

avala.autoLabelJobs.create()

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

avala.autoLabelJobs.cancel()

Cancel a running auto-label job.
Returns: Promise<void>

qualityTargets

All quality target methods are scoped to a project.

avala.qualityTargets.list()

List quality targets for a project.
Returns: Promise<CursorPage<QualityTarget>>

avala.qualityTargets.get()

Get a single quality target.
Returns: Promise<QualityTarget>

avala.qualityTargets.create()

Create a quality target for a project.
Returns: Promise<QualityTarget>

avala.qualityTargets.update()

Update a quality target.
Returns: Promise<QualityTarget>

avala.qualityTargets.delete()

Delete a quality target.
Returns: Promise<void>

avala.qualityTargets.evaluate()

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

consensus

All consensus methods are scoped to a project.

avala.consensus.getSummary()

Get consensus summary statistics for a project.
Returns: Promise<ConsensusSummary>

avala.consensus.listScores()

List consensus scores for individual items.
Returns: Promise<CursorPage<ConsensusScore>>

avala.consensus.compute()

Trigger consensus computation for a project.
Returns: Promise<ConsensusComputeResult>

avala.consensus.getConfig()

Get consensus configuration for a project.
Returns: Promise<ConsensusConfig>

avala.consensus.updateConfig()

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

webhooks

avala.webhooks.list()

List webhook subscriptions.
Returns: Promise<CursorPage<Webhook>>

avala.webhooks.get()

Get a single webhook by UID.
Returns: Promise<Webhook>

avala.webhooks.create()

Create a new webhook subscription.
Returns: Promise<Webhook>

avala.webhooks.update()

Update a webhook subscription.
Returns: Promise<Webhook>

avala.webhooks.delete()

Delete a webhook subscription.
Returns: Promise<void>

avala.webhooks.test()

Send a test event to a webhook.
Returns: Promise<{ success: boolean }>

webhookDeliveries

avala.webhookDeliveries.list()

List webhook delivery attempts.
Returns: Promise<CursorPage<WebhookDelivery>>

avala.webhookDeliveries.get()

Get a single webhook delivery by UID.
Returns: Promise<WebhookDelivery>

organizations

avala.organizations.list()

List organizations.
Returns: Promise<CursorPage<Organization>>

avala.organizations.get()

Get a single organization by slug.
Returns: Promise<Organization>

avala.organizations.create()

Create a new organization.
Returns: Promise<Organization>

avala.organizations.update()

Update an organization.
Returns: Promise<Organization>

avala.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: Promise<void>

avala.organizations.industryChoices()

Get the list of valid industry choices.
Returns: Promise<Record<string, unknown>> — An object containing industry choices.

avala.organizations.listMembers()

List members of an organization.
Returns: Promise<CursorPage<OrganizationMember>>

avala.organizations.removeMember()

Remove a member from an organization.
Returns: Promise<void>

avala.organizations.updateMemberRole()

Update a member’s role.
Returns: Promise<void>

avala.organizations.leave()

Leave an organization (as the current user).
Returns: Promise<void>

avala.organizations.transferOwnership()

Transfer organization ownership to another member.
Returns: Promise<void>

avala.organizations.listInvitations()

List pending invitations for an organization.
Returns: Promise<Invitation[]>

avala.organizations.createInvitation()

Invite a user to an organization.
Returns: Promise<Invitation>

avala.organizations.resendInvitation()

Resend a pending invitation.
Returns: Promise<void>

avala.organizations.cancelInvitation()

Cancel a pending invitation.
Returns: Promise<void>

avala.organizations.listTeams()

List teams in an organization.
Returns: Promise<Team[]>

avala.organizations.createTeam()

Create a team.
Returns: Promise<Team>

avala.organizations.getTeam()

Get a team by slug.
Returns: Promise<Team>

avala.organizations.updateTeam()

Update a team.
Returns: Promise<Team>

avala.organizations.deleteTeam()

Delete a team.
Returns: Promise<void>

avala.organizations.listTeamMembers()

List members of a team.
Returns: Promise<TeamMember[]>

avala.organizations.addTeamMember()

Add a member to a team.
Returns: Promise<TeamMember>

avala.organizations.removeTeamMember()

Remove a member from a team.
Returns: Promise<void>

avala.organizations.updateTeamMemberRole()

Update a team member’s role.
Returns: Promise<void>

slices

avala.slices.list()

List slices for an owner.
Returns: Promise<CursorPage<Slice>>

avala.slices.get()

Get a single slice.
Returns: Promise<Slice>

avala.slices.create()

Create a new slice.
Returns: Promise<Slice>

avala.slices.listItems()

List items in a slice.
Returns: Promise<CursorPage<SliceItem>>

avala.slices.getItem()

Get a single item within a slice.
Returns: Promise<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>:

RateLimitInfo


Errors

All errors extend AvalaError:

Exported Symbols

Environment Variables

Runtime Requirements

  • Node.js 18+ (uses native fetch)
  • Zero runtime dependencies
  • Also works in Deno and Bun