Skip to main content
Version: Next

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 | isDeprecated | seoTitle | seoDescription | title | restartOnError | versions | categories | defaultRunOptions | actorStandby>>): Promise<Actor>

version

  • version(versionNumber: string): ActorVersionClient

versions

  • versions(): ActorVersionCollectionClient

webhooks