Get log for last run
GET/v2/acts/:actorId/runs/last/log
Retrieves the log of the last Actor 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
actorId string required
Actor ID or a tilde-separated owner's username and Actor name.
Example:janedoe~my-actorQuery Parameters
status string
Filter for the run status. Only the most recent run with this status is used.
Example:SUCCEEDEDstream 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"
Schema
- string stringExample:
2017-07-14T06:00:49.733Z Application started.
Status 400
Bad request - invalid input parameters or request body.
{
"error": {
"type": "invalid-input",
"message": "Invalid input: The request body contains invalid data."
}
}
Schema
error object required
- type string requiredExample:
run-failed - message string requiredExample:
Actor run did not succeed (run ID: 55uatRrZib4xbZs, status: FAILED)
- type string requiredExample: