Reschedule a scheduled or pending batch job to a new start time.
scheduled or pending status.
Features:
running, completed, failed, or cancelled.| Parameter | Type | Required | Description |
|---|---|---|---|
batch_job_id | string | ✅ | Unique batch job identifier |
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
scheduledStartTime | string | ✅ | — | New scheduled start time (ISO 8601 format) |
timezone | string | ❌ | "UTC" | IANA timezone for the scheduled time |
| Timezone | Description |
|---|---|
UTC | Coordinated Universal Time |
America/New_York | Eastern Time (US/Canada) |
America/Los_Angeles | Pacific Time (US/Canada) |
Europe/London | GMT/BST (UK) |
Europe/Paris | Central European Time |
Asia/Karachi | Pakistan Standard Time |
Asia/Dubai | Gulf Standard Time |
Asia/Tokyo | Japan Standard Time |
Australia/Sydney | Australian Eastern Time |
| Field | Type | Description |
|---|---|---|
success | boolean | Whether reschedule succeeded |
message | string | Reschedule result description |
batchJobId | string | Rescheduled batch job ID |
scheduledStartTime | string | New scheduled start time (ISO 8601, UTC) |
status | string | Job status (scheduled) |
oldJobCancelled | boolean | Whether old Redis job was cancelled |
newScheduledJobId | string | New Redis defer job ID |
| Job Status | Reschedule Behavior |
|---|---|
scheduled | Cancels old Redis job + creates new defer job + updates DB |
pending | Creates new Redis defer job + updates DB + changes status to scheduled |
running | ❌ Error: Cannot reschedule running job |
completed | ❌ Error: Cannot reschedule completed job |
failed | ❌ Error: Cannot reschedule failed job |
cancelled | ❌ Error: Cannot reschedule cancelled job |
| Error Code | Cause |
|---|---|
job_not_found | Batch job ID doesn’t exist |
invalid_timezone | Invalid IANA timezone |
invalid_datetime | Invalid datetime format |
past_scheduled_time | Scheduled time is in the past |
invalid_status | Job is not in scheduled or pending status |
Your TalkifAI API key. Get it from Studio → Settings → API Keys.
New scheduled start time (ISO 8601)
IANA timezone for the scheduled time