Retrieve Job Invocation Logs
Retrieve the logs of a past, in-progress, or active deployment. If a component name is specified, the logs will be limited to only that component. If deployment is omitted the active deployment will be selected (if available). The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment.
Path parameters
The app ID
The job name to list job invocations for.
The ID of the job invocation to retrieve.
Query parameters
The deployment ID
Whether the logs should follow live updates.
The type of logs to retrieve
An optional time duration to wait if the underlying component instance is not immediately available. Default: 3m.
The number of lines from the end of the logs to retrieve.
Response
A JSON object with urls that point to Job Invocation logs
Example response
{
"historic_urls": [
"https://logs/build.log"
],
"live_url": "ws://logs/build"
}