Async Jobs CLI
Manage async jobs from the command line. Submit jobs, check status, get results, stream progress, and cancel jobs.Commands Overview
Starting the Jobs Server
Before using job commands, start the jobs server:Submit a Job
Submit a new job for execution:Submit Options
Check Job Status
Get the current status of a job:Status Output
Get Job Result
Retrieve the result of a completed job:Stream Job Progress
Stream real-time progress updates via SSE:Stream Output
List Jobs
List all jobs with optional filtering:List Options
Cancel a Job
Cancel a running job:Examples
Complete Workflow
Submit with Wait
Scripting with JSON
Using Webhooks
Idempotent Submission
Troubleshooting
Connection Refused
If you get “Connection refused”:- Ensure the jobs server is running
- Check the API URL is correct
- Verify the port is not blocked
Job Stuck in Queued
If jobs remain queued:- Check server logs for errors
- Verify max concurrent limit
- Ensure recipe/agent file exists
Timeout Errors
If jobs are timing out:- Increase timeout with
--timeout - Check if external APIs are slow
- Consider breaking into smaller jobs
See Also
- Async Jobs SDK - Python API for jobs
- Background Tasks CLI - In-process background tasks
- Scheduler CLI - Periodic job scheduling

