CIService

Exports a finite snapshot of persisted log lines.

The response is a Connect/gRPC server stream, not a raw HTTP file download. Consume it with a generated client or a decoder that understands stream framing. Read the first metadata response, then append each following chunk response to a file or writer in order. Use the Depot CLI depot ci logs --output-file when a shell-native file download is needed.

post/depot.ci.v1.CIService/ExportJobAttemptLogs

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.

jobIdstring

Unique identifier for a CI job. Export resolves it to that job's latest attempt at stream start. Set exactly one of attemptId or jobId.

format'JOB_ATTEMPT_LOG_EXPORT_FORMAT_UNSPECIFIED' | 'JOB_ATTEMPT_LOG_EXPORT_FORMAT_TEXT' | 'JOB_ATTEMPT_LOG_EXPORT_FORMAT_JSONL'

Byte format used when exporting a job attempt's persisted logs.

Response

Success

OR

Changes

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