Batch resume jobs
Resume multiple jobs by setting their status back to active. Only jobs with status 'paused' or 'dead' will be resumed. Jobs that are already active will be skipped.
curl -X POST https://velora-api.psalinks.com/api/v1/jobs/resume/batch \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ids": ["JOB_ID_1", "JOB_ID_2"]}'200 Response
{
"jobs": [
{ "id": "JOB_ID_1", "status": "active" },
{ "id": "JOB_ID_2", "status": "active" }
],
"total": 2,
"resumed": 2,
"skipped": 0
}| Status | error | Typical cause |
|---|---|---|
400 | validation_error | ids is required and must be an array |
400 | validation_error | Maximum 100 IDs per request |
403 | insufficient_scope | Missing jobs:write scope |
404 | not_found | One or more jobs do not exist for this owner |
Required scope: jobs:write (or wildcard/admin scope). Maximum 100 IDs per request.