Overview
The cluster job system allows you to submit simulations to a distributed computing cluster for faster processing. Jobs are queued, allocated to compute nodes, and executed in parallel.This is an advanced feature for running extremely large simulation batches (1M+ simulations) across multiple machines.
Submit a Job
Submit a new simulation job to the cluster queue.Request Body
Financial profile for the simulation
User inputs (income, age, risk tolerance)
Financial goal details
Simulation parameters (n_simulations, etc.)
Response
Unique job identifier for tracking
Initial status (always “queued”)
Position in the job queue
Estimated wait time before job starts
Example
Get Job Status
Check the status and progress of a submitted job.Response
Job identifier
Current status:
queued, running, complete, failed, cancelledCompletion percentage (0-100)
Number of compute nodes allocated to this job
Total simulations to run
Simulations completed so far
Position in queue (if still queued)
Estimated time until completion
Per-node progress information
Simulation results (only present when status is “complete”)
Sensitivity analysis results (only present when status is “complete”)
Error message (only present when status is “failed”)
Example
Cancel a Job
Cancel a queued or running job.Response
Whether the job was successfully cancelled
Confirmation message
Example
You can only cancel jobs that are “queued” or “running”. Completed or failed jobs cannot be cancelled.
Get Cluster Status
Retrieve overall cluster health and capacity information.Response
Total compute nodes in the cluster
Nodes currently available for new jobs
Nodes currently running jobs
Number of jobs waiting in queue
Number of jobs currently executing
Average time jobs spend in queue
Example
Polling for Completion
Poll the job status endpoint to monitor progress:Error Responses
- 400 Bad Request - Missing required fields
- 404 Not Found - Job ID not found
- 500 Internal Server Error - Cluster or job execution error