Skip to main content
Version: Next

Run

Complete Actor run information including statistics and usage details.

Represents a single execution of an Actor with all its configuration, status, and resource usage information.

Hierarchy

  • Omit<Schemas[Run], keyof RunRePointed | keyof RunClientNarrowings>
  • RunRePointed
  • RunClientNarrowings
    • Run

Index

Properties

inheritedactId

actId: string
HDSasDasz78YcAPEB

ID of the Actor that was run.

optionalinheritedactorTaskId

actorTaskId?: null | string
KJHSKHausidyaJKHs

ID of the Actor task, if the run was started from a task.

inheritedbuildId

buildId: string
7sT5jcggjjA9fNcxF

ID of the Actor build used for this run.

optionalinheritedbuildNumber

buildNumber?: null | string
0.0.36

Build number of the Actor build used for this run.

optionalinheritedchargedEventCounts

chargedEventCounts?: {}

Type declaration

    {
    * "actor-start": 1,
    * "page-crawled": 150,
    * "data-extracted": 75
    * }

    A map of charged event types to their counts. The keys are event type identifiers defined by the Actor's pricing model (pay-per-event), and the values are the number of times each event was charged during this run.

    optionalinheritedcontainerUrl

    containerUrl?: string

    Format: uri

    https://g8kd8kbc5ge8.runs.apify.net

    URL of the container running the Actor.

    inheriteddefaultDatasetId

    defaultDatasetId: string
    wmKPijuyDnPZAPRMk

    ID of the default dataset for this run.

    inheriteddefaultKeyValueStoreId

    defaultKeyValueStoreId: string
    eJNzqsbPiopwJcgGQ

    ID of the default key-value store for this run.

    inheriteddefaultRequestQueueId

    defaultRequestQueueId: string
    FL35cSF7jrxr3BY39

    ID of the default request queue for this run.

    optionalinheritedexitCode

    exitCode?: null | number
    0

    Exit code of the Actor run process.

    optionalinheritedfinishedAt

    finishedAt?: null | Date

    Format: date-time

    2019-12-12T09:30:12.202Z

    Time when the Actor run finished.

    optionalinheritedgeneralAccess

    generalAccess?: null | RUN_GENERAL_ACCESS

    optionalinheritedgitBranchName

    gitBranchName?: null | string
    master

    Name of the git branch used for the Actor build.

    inheritedid

    id: string
    HG7ML7M8z78YcAPEB

    Unique identifier of the Actor run.

    optionalinheritedisContainerServerReady

    isContainerServerReady?: null | boolean
    true

    Whether the container's HTTP server is ready to accept requests.

    optionalinheritedisStatusMessageTerminal

    isStatusMessageTerminal?: null | boolean
    false

    Whether the status message is terminal (final).

    inheritedmeta

    meta: RunMeta

    optionalinheritedmetamorphs

    metamorphs?: null | RunMetamorphEvent[]

    inheritedoptions

    options: RunOptions

    optionalinheritedplatformUsageBillingModel

    platformUsageBillingModel?: string
    USER

    Indicates which party covers platform usage costs for this run.

    optionalinheritedpricingInfo

    pricingInfo?: ActorRunPricingInfo

    inheritedstartedAt

    startedAt: Date

    Format: date-time

    2019-11-30T07:34:24.202Z

    Time when the Actor run started.

    inheritedstats

    stats: RunStats

    inheritedstatus

    status: ValueOf<{ ABORTED: ABORTED; ABORTING: ABORTING; FAILED: FAILED; READY: READY; RUNNING: RUNNING; SUCCEEDED: SUCCEEDED; TIMED_OUT: TIMED-OUT; TIMING_OUT: TIMING-OUT }>

    optionalinheritedstatusMessage

    statusMessage?: null | string
    Actor is running

    Detailed message about the run status.

    optionalinheritedstorageIds

    storageIds?: ActorRunStorageIds

    optionalinheritedusage

    usage?: null | RunUsage

    optionalinheritedusageTotalUsd

    usageTotalUsd?: null | number
    0.2654

    Total cost in USD for this run. Represents what you actually pay. For run owners: includes platform usage (compute units) and/or event costs depending on the Actor's pricing model. For run non-owners: only available for Pay-Per-Event Actors (event costs only). Requires authentication token to access.

    optionalinheritedusageUsd

    usageUsd?: null | RunUsage

    inheriteduserId

    userId: string
    7sT5jcggjjA9fNcxF

    ID of the user who started the run.