CIService

GetJobAttemptLogs

Returns persisted log lines for a job attempt, oldest first. Identify the attempt by attemptId, or by jobId to use the job's latest attempt. Poll with pageToken to fetch lines persisted after a previous response.

post/depot.ci.v1.CIService/GetJobAttemptLogs

Request

  • Base URL
    https://api.depot.dev
  • Auth
    HTTP bearer

Headers

Connect-Protocol-Version1 required

Define the version of the Connect protocol

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

attemptIdstring

Unique identifier for the job attempt. Set exactly one of attemptId or jobId.

pageTokenstring

Token to fetch lines after a previous response. Use the nextPageToken value from a prior response. Leave empty to fetch from the first line.

jobIdstring nullable

Unique identifier for a CI job. Resolves to the job's latest attempt; the page token pins that attempt, so later pages stay on the same attempt even if a retry creates a newer one. Set exactly one of attemptId or jobId.

Response

Success

nextPageTokenstring

Token to fetch lines persisted after this response. Empty when the response contains no lines. While the attempt is running, poll with the newest token to tail new lines.

Changes

No recorded changes to this operation across all 1 revision of this API.