Get log
GET/v2/logs/:buildOrRunId
Retrieves logs for a specific Actor build or run.
Request
Path Parameters
buildOrRunId string required
ID of the Actor build or run.
Example:HG7ML7M8z78YcAPEBQuery Parameters
stream boolean required
If true or 1 then the logs will be streamed as long as the run or
build is running.
falsedownload boolean required
If true or 1 then the web browser will download the log file rather
than open it in a tab.
falseraw boolean
If true or 1, the logs will be kept verbatim. By default, the API removes
ANSI escape codes from the logs, keeping only printable characters.
falseStatus 200
Response Headers
2017-07-14T06:00:49.733Z Application started.
2017-07-14T06:00:49.741Z Input: { test: 123 }
2017-07-14T06:00:49.752Z Some useful debug information follows.
Schema
- string stringExample:
2017-07-14T06:00:49.733Z Application started. 2017-07-14T06:00:49.741Z Input: { test: 123 } 2017-07-14T06:00:49.752Z Some useful debug information follows.
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: