Skip to content

deployment_job_run_logs

Read the output of one job run: the stored tail (up to 256 KiB) once the run has finished, or a live tail while it is still running.

Tool

deployment_job_run_logs

Read the output of one job run: the stored tail (up to 256 KiB) once the run has finished, or a live tail while it is still running.

Read the output of one job run: the stored tail (up to 256 KiB) once the run has finished, or a live tail while it is still running. `live` says which one you got — a caller that polls should stop once it turns false.

Behavior

HTTP
GET /deployment/services/:serviceId/runs/:runId/logs

Arguments

NameTypeRequiredDescription
runIdstringNo description in the catalog.
serviceIdstringNo description in the catalog.

Response

FieldTypeAlwaysDescription
liveboolean
logsstring
statusstring

Try it

Read the output of one job run: the stored tail (up to 256 KiB) once the run has finished, or a live tail while it is still running.

When to use

Read the output of one job run: the stored tail (up to 256 KiB) once the run has finished, or a live tail while it is still running. `live` says which one you got — a caller that polls should stop once it turns false.

Example

Ask your agent something like this:

Read the output of one job run: the stored tail (up to 256 KiB) once the run has finished, or a live tail while it is still running.

The agent will invoke deployment_job_run_logs with these arguments:

{
  "runId": "<runId>",
  "serviceId": "<serviceId>"
}

Esc

Start typing to search the docs.

navigateselect