API Documents/Treasure Workflow API//
- Set a cancel-requested flag on a running attempt
List attempts with filters
Start a workflow execution as a new session or a new attempt of an existing session
Get an attempt
List attempts of a session of a given attempt
List tasks of an attempt
Set a cancel-requested fl...
- awshttps://api-workflow.treasuredata.com/api/attempts/{id}/kill
- aws-tokyohttps://api-workflow.treasuredata.co.jp/api/attempts/{id}/kill
- eu01https://api-workflow.eu01.treasuredata.com/api/attempts/{id}/kill
- ap02https://api-workflow.ap02.treasuredata.com/api/attempts/{id}/kill
- ap03https://api-workflow.ap03.treasuredata.com/api/attempts/{id}/kill
curl -i -X POST \
'https://api-workflow.treasuredata.com/api/attempts/{id}/kill' \
-H 'Authorization: TD1 <YOUR_TOKEN_HERE>'return an attempt
unique UUID of this session
Example:"2b91a014-076e-4c6d-8b51-f4f91089cab2"
The current status of the attempt.
Enum:"blocked""queued""running""canceling""success""error""killed"
Example:"running"
Response
{ "cancelRequested": true, "createdAt": "2023-08-18T06:52:33Z", "done": true, "finishedAt": "2023-08-18T06:52:33Z", "id": "123456", "index": 1, "params": {}, "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", "success": true, "workflow": { "id": "123456", "name": "abcdefg" } }