Get a running step's output
GET
/api/orgs/{org}/projects/{project}/environments/{env}/runs/{number}/live
const url = 'https://api-dev.wrktr.com/api/orgs/example/projects/example/environments/example/runs/example/live?step=example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api-dev.wrktr.com/api/orgs/example/projects/example/environments/example/runs/example/live?step=example' \ --header 'Authorization: Bearer <token>'What a running step has printed so far; null when it isn’t running (a finished step’s full log is with the CI logs: the run’s id as the run, the step as the check).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”org
required
string
project
required
string
env
required
string
number
required
string
Query Parameters
Section titled “Query Parameters”step
required
string
Responses
Section titled “Responses”Success
Unauthorized
Media typeapplication/json
object
_tag
required
string
message
required
string
Example
{ "_tag": "Unauthorized"}ProjectNotFound | NotFound