Get the current status of a bulk video import job, including progress percentage and per-video results when complete.
Path Parameters
Job ID returned from the bulk import request
Response
Job status: queued, processing, completed, or failed
Total number of videos in the job
Number of videos successfully imported
Number of videos that failed to import
Progress percentage (0-100)
Per-video results (only included when job is complete). Each result contains:
url: Original video URL
success: Whether import succeeded
video_id: PeerTube video ID (if successful)
error: Error message (if failed)
Example
curl "https://spideriq.ai/api/v1/media/videos/bulk-import/bulk_1234567890" \
-H "Authorization: Bearer cli_abc123:sk_xxx:secret_xxx"
Processing Response
Completed Response
{
"job_id" : "bulk_1234567890" ,
"status" : "processing" ,
"total" : 10 ,
"completed" : 3 ,
"failed" : 0 ,
"progress_percent" : 30.0 ,
"results" : null
}
Polling Recommendation : Check status every 30-60 seconds. More frequent polling provides no benefit as videos take time to download and process.
Webhook Support : For production workflows, consider implementing a webhook endpoint to receive notifications when the job completes, rather than polling.