latestOpenAPI 3.0.12026-08-10434791.3 KB
4eedf1838ef4
Attempt
Set a cancel-requested flag on a running attempt
post/api/attempts/{id}/kill
Path parameters
idinteger required
attempt id
Response
return an attempt
Example response
{
"createdAt": "2023-08-18T06:52:33Z",
"finishedAt": "2023-08-18T06:52:33Z",
"id": "123456",
"index": 1,
"poolId": "42",
"project": {
"id": "123456",
"name": "abcdefg"
},
"retryAttemptName": "retry-12345",
"sessionId": "123456",
"sessionTime": "2022-12-31T23:59:00+00:00",
"sessionUuid": "2b91a014-076e-4c6d-8b51-f4f91089cab2",
"status": "running",
"workflow": {
"id": "123456",
"name": "abcdefg"
}
}