Templates

Get template version dry-run logs by job ID

Changed on
get/api/v2/templateversions/{templateversion}/dry-run/{jobID}/logs

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/templateversions/{templateversion}/dry-run/{jobID}/logs
  • Auth
    API key in header Coder-Session-Token

Path parameters

templateversionstring uuid required

Template version ID

jobIDstring uuid required

Job ID

Query parameters

beforeinteger

Before Unix timestamp

afterinteger

After Unix timestamp

followboolean

Follow log stream

format'json' | 'text'

Log output format. Accepted: 'json' (default), 'text' (plain text with RFC3339 timestamps and ANSI colors). Not supported with follow=true.

Response

OK

created_atstring date-time
idinteger
log_level'trace' | 'debug' | 'info' | 'warn' | 'error'
log_source'provisioner_daemon' | 'provisioner'
outputstring
stagestring

Changes