⚙️ Background Processing

Queue tasks for asynchronous execution. Process thousands of requests in parallel without blocking your application.

🚀

Non-Blocking

Submit jobs and return immediately. Poll or use webhooks for results.

📈

Scale Infinitely

Queue millions of tasks. We handle parallelization and rate limiting.

💰

50% Cheaper

Background jobs are half the cost of synchronous API calls.

How It Works

1
Submit Job
2
Queue
3
Process
4
Webhook

Job Status

Job ID
Status
Created
Completed
job_abc123def
● Completed
2 min ago
1 min ago
job_xyz789ghi
● Processing
30 sec ago
job_mno456pqr
● Queued
5 sec ago

Quick Start

Python - Submit Background Job
from mythicdot import MythicDot client = MythicDot() # Submit a background job job = client.jobs.create( task="chat.completions", input={ "model": "mythic-4", "messages": [ {"role": "user", "content": "Write a blog post about AI"} ] }, webhook_url="https://yourapp.com/webhook" ) print(f"Job submitted: {job.id}") print(f"Status: {job.status}") # Poll for results import time while job.status != "completed": time.sleep(1) job = client.jobs.retrieve(job.id) # Get the result result = job.result print(result.choices[0].message.content)

Use Cases

📝

Bulk Content Generation

Generate hundreds of product descriptions, blog posts, or translations

📊

Data Processing

Analyze large datasets, extract entities, or classify documents

🔄

Nightly Jobs

Schedule embeddings updates, report generation, or data sync

📧

Email Processing

Summarize, categorize, and draft replies for email backlogs

Start Processing in Background

Submit jobs and free up your application.

Batch API → Webhooks →