Skip to main content
Version: Next

EventStatusMessageData

Payload emitted with the statusMessage event.

The crawler broadcasts these whenever it wants to report its progress (e.g. periodically, or on start/finish). Consumers such as the Apify SDK can listen for the event and propagate the message to the platform. This keeps the crawler decoupled from any specific status-reporting backend.

Index

Properties

crawlerId

crawlerId: string

Identifies the crawler that emitted the message.

Either the user-provided id from the crawler options, or a randomly generated one. Since a single event manager may be shared by multiple crawlers, consumers can use this to attribute the message to a specific crawler instance.

optionalisStatusMessageTerminal

isStatusMessageTerminal?: boolean

Whether this is the final status message of the run.

optionallevel

level?: ERROR | WARNING | INFO | DEBUG

The log level the message was logged with.

message

message: string

The human-readable status message.