Skip to main content
GET
Get Redis Job Status

Overview

Retrieves the Redis-side status of a scheduled batch job. This endpoint is primarily for debugging and troubleshooting scheduled jobs. Use this to:
  • Verify a scheduled job was created correctly
  • Check if job still exists in Redis before cancellation
  • Confirm job was removed after cancellation
  • Debug scheduling issues
This endpoint is for debugging purposes only. For normal operations, use Get Batch Job Detail.

Request

Path Parameters

Response

Response Fields

Redis Job Info Object

Examples

Example 1: Check Scheduled Job Status

Response (Job Exists):
Response (Job Not Found in Redis):

Example 2: Check Non-Scheduled Job

Response:

Example 3: Debug Cancellation

Before cancelling a scheduled job, verify it exists:

Interpretation Guide

Job Exists in Redis

Meaning: Job is properly scheduled and will execute at the scheduled time.

Job Not Found in Redis

Possible causes:
  • Job already executed (dequeued by worker)
  • Job was cancelled previously
  • Database and Redis are out of sync
  • Job creation failed silently

No Scheduled Job ID

Meaning: Job is not scheduled (either running, completed, pending, or was never scheduled).

Error Handling

404 Not Found

500 Internal Server Error

Troubleshooting

Issue: Job Shows “scheduled” But Never Started

Check Redis status:
If job_metadata_exists is false:
  • Job may have been lost (Redis restart, crash)
  • Database and Redis are out of sync
  • Solution: Use Start Batch Job to manually start

Issue: Cancellation Returns “Job Not Found”

Check Redis status first:
If job_metadata_exists is false:
  • Job already executed or was never in Redis
  • Cancellation will still update database
  • Expected behavior: redisJobCancelled: false in response

Issue: Scheduled Time Wrong

Verify timezone conversion:
Compare scheduledStartTime (database) with redisJobInfo.scheduled_time (Redis):
  • They should match (within seconds)
  • If different, there may be a timezone conversion issue

Authorizations

Authorization
string
header
required

Your TalkifAI API key. Get it from Studio → Settings → API Keys.

Path Parameters

batch_job_id
string
required

Response

Redis job status

batchJobId
string
databaseStatus
string
Example:

"scheduled"

scheduledJobId
string | null
scheduledStartTime
string<date-time> | null
redisJobInfo
object | null