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

Name
Type
Required
Description
runId
string
•
No description in the catalog.
serviceId
string
•
No description in the catalog.

Response

Field
Type
Always
Description
live
boolean
•
logs
string
•
status
string
•

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.

↑↓navigate↵select