Skip to content

Get a running step's output

GET
/api/orgs/{org}/projects/{project}/environments/{env}/runs/{number}/live
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).

org
required
string
project
required
string
env
required
string
number
required
string
step
required
string

Success

Media typeapplication/json
object
log
required
Any of:
string
Examplegenerated
{
"log": "example"
}

Unauthorized

Media typeapplication/json
object
_tag
required
string
Allowed values: Unauthorized
message
required
string
Example
{
"_tag": "Unauthorized"
}

ProjectNotFound | NotFound

Media typeapplication/json
Any of:
object
_tag
required
string
Allowed values: ProjectNotFound
project
required
string
Example
{
"_tag": "ProjectNotFound"
}