Templates
Get logs by template version
Changed onget/api/v2/templateversions/{templateversion}/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}/logs
- AuthAPI key in header Coder-Session-Token
Path parameters
templateversionstring uuid required
Template version ID
Query parameters
beforeinteger
Before log id
afterinteger
After log id
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
Changes
- info
endpoint added
- info