curl --request POST \
--url 'https://api.workstream.stateset.com/v1/scheduled-jobs/run-due' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
{
"fired": 1
}
Scheduler api (/v1/scheduled-jobs/run-due)
All due schedules in the caller’s scope were fired.
POST
/
v1
/
scheduled-jobs
/
run-due
curl --request POST \
--url 'https://api.workstream.stateset.com/v1/scheduled-jobs/run-due' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
{
"fired": 1
}
Request body
JSON body of typeGenericObject.
Response
object
integer
required
Number of due jobs enqueued
Status codes
| Code | Meaning |
|---|---|
200 | All due schedules in the caller’s scope were fired. |
400 | Validation error |
401 | Unauthorized |
404 | Not found |
429 | Rate limited |
500 | Internal error |
curl --request POST \
--url 'https://api.workstream.stateset.com/v1/scheduled-jobs/run-due' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
{
"fired": 1
}
Last modified on August 31, 2026