Get a check's log
GET
/api/orgs/{org}/projects/{project}/ci/log
const url = 'https://api-dev.wrktr.com/api/orgs/example/projects/example/ci/log?run=example&check=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/ci/log?run=example&check=example' \ --header 'Authorization: Bearer <token>'The full log, as stored when the check finished.
Authorizations
Section titled “Authorizations”- bearer
- None
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”org
required
string
project
required
string
Query Parameters
Section titled “Query Parameters”run
required
string
check
required
string
Responses
Section titled “Responses”Success
Media typeapplication/json
object
log
required
string
Examplegenerated
{ "log": "example"}Unauthorized
Media typeapplication/json
object
_tag
required
string
message
required
string
Example
{ "_tag": "Unauthorized"}ProjectNotFound | NotFound