Path Parameters
jobId: The unique identifier of the job to check status for
Query Parameters
include: Optional array of additional fields to include (logs,metrics,resources)format: Response format (json,summary) - defaults tojson
Example Usage
Basic Status Check
Detailed Status with Logs and Metrics
Multiple Job Status Check
Response
Successful Response
Completed Job Response
Failed Job Response
Status Values
Primary States
queued: Job submitted and waiting for available resourcesinitializing: Job is starting up and loading resourcesrunning: Job is actively processingcompleted: Job finished successfullyfailed: Job encountered an error and stoppedcancelled: Job was cancelled by user or systemtimeout: Job exceeded maximum execution timepaused: Job temporarily paused (manual or automatic)
Substates for Running Jobs
warming_up: Cold start - loading model and dependenciesprocessing: Actively processing input datafinalizing: Completing processing and preparing outputuploading: Transferring output to storage
Progress Tracking
Progress Information
Jobs include detailed progress information:progress: Percentage completion (0-100)currentStep: Current processing phase descriptionestimatedCompletion: Predicted completion timestampmetadata: Task-specific progress detailsthroughput: Processing rate (items/second, tokens/second, etc.)
Real-time Updates
Resource Monitoring
GPU Utilization
Track GPU usage in real-time:Cold Start Monitoring
Startup Performance
Track cold start metrics for optimization:Error Handling
404 Not Found
403 Forbidden
429 Rate Limited
SDK Examples
Python SDK
JavaScript SDK
Use Cases
Production Monitoring
- Job Dashboards: Build real-time dashboards showing job progress and resource usage
- Alert Systems: Set up alerts for failed jobs or resource constraints
- Capacity Planning: Monitor resource utilization to optimize cluster sizing
Batch Processing
- Progress Tracking: Monitor large batch jobs processing thousands of items
- Resource Optimization: Track GPU utilization to optimize batch sizes
- Cost Management: Monitor execution costs in real-time
Development and Testing
- Debugging: Monitor job execution to identify bottlenecks and errors
- Performance Tuning: Track cold start times and resource usage patterns
- Load Testing: Monitor system behavior under different load conditions
Best Practices
Monitoring Strategy
- Use Webhooks: Prefer webhooks over polling for better performance
- Exponential Backoff: Implement exponential backoff for polling to reduce API load
- Batch Requests: Check multiple job statuses in a single request when possible
- Real-time Streaming: Use SSE for real-time updates on critical jobs
Performance Optimization
- Selective Fields: Only request additional fields (
logs,metrics) when needed - Caching: Cache status responses for non-critical monitoring
- Rate Limiting: Respect rate limits to avoid throttling
Error Handling
- Graceful Degradation: Handle temporary API failures gracefully
- Retry Logic: Implement retry logic for transient errors
- Timeout Management: Set appropriate timeouts for long-running jobs
Cost Management
- Monitor Costs: Track
costAccruedfield to prevent budget overruns - Resource Alerts: Set up alerts when resource usage exceeds thresholds
- Optimization: Use status data to identify optimization opportunities
Job status is updated in real-time. Use streaming endpoints or webhooks for the most current information without
overwhelming the API with polling requests.

