Skip to main content
Version: 2.9

ActorClient

Hierarchy

  • ResourceClient
    • ActorClient

Index

Properties

apifyClient

apifyClient: ApifyClient

baseUrl

baseUrl: string

httpClient

httpClient: HttpClient

optionalid

id?: string

optionalparams

params?: Record<string, unknown>

resourcePath

resourcePath: string

optionalsafeId

safeId?: string

url

url: string

Methods

build

builds

call

delete

  • delete(): Promise<void>

get

  • get(): Promise<undefined | Actor>

lastRun

runs

start

update

  • update(newFields: Partial<Pick<Actor, name | description | isPublic | seoTitle | seoDescription | title | restartOnError | versions | categories | defaultRunOptions>>): Promise<Actor>

version

  • version(versionNumber: string): ActorVersionClient

versions

  • versions(): ActorVersionCollectionClient

webhooks