Skip to main content
GET
https://api.scriptbase.app
/
api
/
v1
/
jobs
/
{jobId}
curl "https://api.scriptbase.app/api/v1/jobs/job_abc123xyz" \
  -H "X-API-Key: sk_your_key_here"
{
  "success": true,
  "data": {
    "jobId": "job_abc123xyz",
    "status": "queued",
    "progress": 0,
    "total": 100,
    "createdAt": "2024-01-15T10:00:00Z"
  }
}

Overview

Check the status and progress of an asynchronous batch operation. Use this to poll for completion of crawl jobs or large batch transcript/video requests.

Authentication

X-API-Key
string
required
Your API key

Path Parameters

jobId
string
required
Job ID returned from an async operation

Credits

  • Cost: 0 credits (free endpoint)

Response

success
boolean
Whether the request was successful
data
object
curl "https://api.scriptbase.app/api/v1/jobs/job_abc123xyz" \
  -H "X-API-Key: sk_your_key_here"
{
  "success": true,
  "data": {
    "jobId": "job_abc123xyz",
    "status": "queued",
    "progress": 0,
    "total": 100,
    "createdAt": "2024-01-15T10:00:00Z"
  }
}

Job Status Values

StatusDescription
queuedJob is waiting to be processed
processingJob is currently being processed
completedJob finished successfully
failedJob encountered an error

Error Codes

StatusCodeDescription
401INVALID_API_KEYAPI key is missing or invalid
404NOT_FOUNDJob not found or expired
500INTERNAL_ERRORServer error
  • Poll every 5-10 seconds for optimal balance between updates and rate limiting.
  • Jobs expire after 24 hours - retrieve results promptly.
  • The output field structure depends on the job type (batch videos, batch transcripts, crawl).