Describe run logs
Changed onRetrieves the logs associated with a particular run of an app.
Request
- Base URLhttps://api.tower.dev/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The name of the app to get logs for.
The sequence number of the run to get logs for.
Query parameters
Deprecated: use attempt and offset to page through a run's logs. Fetch logs from this timestamp onwards (inclusive).
Return only the first N log lines. Cannot be combined with tail.
Return only the last N log lines. Cannot be combined with head.
Return only this attempt's log lines. Defaults to the run's latest attempt when offset is passed, including offset=0.
Return the attempt's log lines from this line number onwards (inclusive). Line numbers start at 0 in each attempt. To page through an attempt, combine with head and pass the last returned line_num + 1.
Response
OK
Example response
{
"$schema": "https://api.tower.dev/v1/schemas/DescribeRunLogsResponse.json"
}Changes
- info
added the new optional
queryrequest parameterattempt - info
added the new optional
queryrequest parameteroffset
- info