Skip to main content
Version: Next

ActorVersionClient

Client for managing a specific Actor version.

Actor versions represent specific builds or snapshots of an Actor's code. This client provides methods to get, update, and delete versions, as well as manage their environment variables.

@example
const client = new ApifyClient({ token: 'my-token' });
const actorClient = client.actor('my-actor-id');

// Get a specific version
const versionClient = actorClient.version('0.1');
const version = await versionClient.get();

// Update version
await versionClient.update({ buildTag: 'latest' });
@see

Hierarchy

  • ResourceClient
    • ActorVersionClient

Index

Properties

inheritedapifyClient

apifyClient: ApifyClient

inheritedbaseUrl

baseUrl: string

inheritedhttpClient

httpClient: HttpClient

optionalinheritedid

id?: string

optionalinheritedparams

params?: Record<string, unknown>

inheritedpublicBaseUrl

publicBaseUrl: string

inheritedresourcePath

resourcePath: string

optionalinheritedsafeId

safeId?: string

inheritedurl

url: string

Methods

delete

  • delete(): Promise<void>

envVar

envVars

get

update