API Documents/Treasure Workflow API//
- Backfill sessions for past schedule times
List schedules
Get a schedule
Disable scheduling of new sessions
Re-enable disabled scheduling
Skip future sessions by count or time
Backfill sessions for pas...
Security
ApiKeyAuth
If true, advance nextScheduleTime/nextRunTime. When fromTime is not set, uses the current schedule's nextRunTime as starting point. Requires skipExisting to be true.
attempt name. Optional when skipExisting is true. Cannot be specified when advanceSchedule is true.
- awshttps://api-workflow.treasuredata.com/api/schedules/{id}/backfill
- aws-tokyohttps://api-workflow.treasuredata.co.jp/api/schedules/{id}/backfill
- eu01https://api-workflow.eu01.treasuredata.com/api/schedules/{id}/backfill
- ap02https://api-workflow.ap02.treasuredata.com/api/schedules/{id}/backfill
- ap03https://api-workflow.ap03.treasuredata.com/api/schedules/{id}/backfill
curl -i -X POST \
'https://api-workflow.treasuredata.com/api/schedules/{id}/backfill' \
-H 'Authorization: TD1 <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"advanceSchedule": true,
"attemptName": "string",
"count": 0,
"dryRun": true,
"fromTime": "2023-08-18T06:52:33Z",
"skipExisting": true
}'Response
{ "attempts": [ { … } ], "id": "123456", "project": { "id": "123456", "name": "abcdefg" }, "workflow": { "id": "123456", "name": "abcdefg" } }