Skip to main content
POST
/
jobs
cURL
curl --request POST \
  --url https://api.example.com/jobs \
  --header 'Content-Type: application/json' \
  --data '
{
  "config": {
    "compute": {
      "container": {
        "cpu_request": "<string>",
        "image": "<string>",
        "memory_request": "<string>",
        "cpu_limit": "<string>",
        "environment": {},
        "memory_limit": "<string>"
      },
      "job_timeout_seconds": 1,
      "max_parallel_jobs": 1,
      "baremetal": {
        "max_parallel_processes": 1,
        "ssh_hosts": [
          {
            "cores": 1,
            "host": "<string>",
            "ssh_key_path": "<string>",
            "username": "<string>"
          }
        ],
        "working_directory": "<string>"
      },
      "kubernetes": {
        "cluster_name": "<string>",
        "namespace": "<string>",
        "node_selectors": {},
        "tolerations": [
          {
            "effect": "<string>",
            "key": "<string>",
            "operator": "<string>",
            "value": "<string>"
          }
        ]
      }
    },
    "dispersions": {},
    "early_termination": {
      "check_frequency_hz": 123,
      "conditions": [
        {
          "condition": "<string>",
          "description": "<string>",
          "variable": "<string>"
        }
      ],
      "enabled": true
    },
    "monte_carlo": {
      "runs": 1,
      "sampling_method": "latin_hypercube",
      "seed": 1
    },
    "simulation": {
      "duration_minutes": 1,
      "name": "<string>",
      "version": "<string>"
    },
    "telemetry": {
      "buffer_flush_interval_seconds": 1,
      "sampling_rate_hz": 123,
      "storage": {
        "compression": "none",
        "s3_bucket": "<string>",
        "s3_prefix": "<string>"
      },
      "variables": [
        "<string>"
      ]
    }
  },
  "name": "<string>",
  "runs_override": 1
}
'
{
  "batch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "total_jobs": 1,
  "estimated_completion_time_mins": 1
}

Body

application/json
config
object
required
name
string
required
runs_override
integer<int32> | null
Required range: x >= 0

Response

200 - application/json

Submit a new batch of jobs

batch_id
string<uuid>
required
total_jobs
integer<int32>
required
Required range: x >= 0
estimated_completion_time_mins
integer<int32> | null
Required range: x >= 0