runnerComplete
POST
/api/runner/v1/task-runs/{taskRunId}/complete
const url = 'https://example.com/api/runner/v1/task-runs/example/complete';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"error":"example","exit_code":1,"reason":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/runner/v1/task-runs/example/complete \ --header 'Content-Type: application/json' \ --data '{ "error": "example", "exit_code": 1, "reason": "example" }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”taskRunId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
error
required
string
exit_code
required
integer format: int64
reason
string
key
additional properties
any
Examplegenerated
{ "error": "example", "exit_code": 1, "reason": "example"}Responses
Section titled “ Responses ”No Content
default
Section titled “default”Error
Media typeapplication/json
object
error
required
object
code
required
string
details
message
required
string
key
additional properties
any
key
additional properties
any
Examplegenerated
{ "error": { "code": "example", "details": "example", "message": "example" }}