Skip to main content

Get log for last run

GET 

/v2/actor-tasks/:actorTaskId/runs/last/log

Retrieves the log of the last actor task run. Redispatches to Get log for the run resolved by this alias.

Using the status query parameter you can ensure to only get a run with a certain status (e.g. status=SUCCEEDED). Only the most recent run with that status is used.

Request

Path Parameters

    actorTaskId string required

    Task ID or a tilde-separated owner's username and Actor task name.


    Example: janedoe~my-task

Query Parameters

    status string

    Filter for the run status. Only the most recent run with this status is used.


    Example: SUCCEEDED
    stream boolean

    If true, the log will be streamed as it is generated.

    download boolean

    If true, the log will be returned as a downloadable file.

    raw boolean

    If true, the log will be returned without additional metadata.

Status 200

Response Headers
    "2017-07-14T06:00:49.733Z Application started.\n"