Cook Job from Recipe
Create a job from a recipe, applying only the overrides supplied in the request body. Use GET /v1/compute/offers to compare machines against the recipe’s requirements, any intended overrides, and an optional discovery price ceiling before cooking.
Carry the chosen hardware and region constraints into the cook overrides; map discovery’s cpu_count filter to min_cpu_count. For exactly two installed GPUs, set min_gpu_count and max_gpu_count to 2. Omitted fields retain the recipe’s values, so omitting max_gpu_count preserves an existing ceiling; use null to clear it. Use min_gpu_count: 0 and max_gpu_count: 0 for CPU-only hardware and clear any inherited GPU model or VRAM requirements. Conflicting GPU bounds or legacy aliases are rejected after the overrides are merged with the recipe.
A discovery result does not reserve capacity. This request does not accept offer_id or max_hourly_rate_usd as a reservation, price lock, or job spending limit.
Path Parameters
Body
Override the job title from the recipe.
Override the job description from the recipe.
Override the task type. BATCH jobs run to completion; PERSISTENT jobs run indefinitely.
BATCH, PERSISTENT Legacy alias for min_cpu_count.
x >= 0Override the minimum CPU core count.
x >= 0Legacy alias for min_gpu_count.
x >= 0Override the inclusive minimum total GPUs installed on the assigned node, across all models. Set both GPU bounds to the same value for an exact count. Omission preserves the recipe minimum.
x >= 0Override the inclusive maximum total GPUs installed on the assigned node. Omission preserves the recipe ceiling; null clears it. The merged maximum must be at least the merged minimum. Use both bounds at 0 for CPU-only hardware and clear inherited GPU model or VRAM requirements.
x >= 0Override the GPU name requirement. Cannot be used with gpu_registry_uuid.
Override with a specific GPU registry UUID for precise matching. Cannot be used with gpu_name.
Override the minimum VRAM in GB.
x >= 0Override the minimum RAM in GB.
x >= 0Override the minimum storage in GB.
x >= 0Override the maximum number of nodes.
Override the maximum retry count.
x >= 0Override the assignment timeout in milliseconds.
x >= 300000Override the start timeout in milliseconds.
x >= 120000Override the run timeout in milliseconds. Required for BATCH tasks, must be null for PERSISTENT tasks.
x >= 60000Override the container/execution parameters.
Override the recipe`s allowed_region_codes for this cooked Job.
36ca-central-1, ca-west-1, mx-central-1, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2, eu-central-1, eu-central-2, eu-north-1, eu-south-1, eu-south-2, eu-west-1, eu-west-2, eu-west-3, ap-east-1, ap-east-2, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-south-2, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-4, ap-southeast-5, ap-southeast-6, ap-southeast-7, cn-north-1, cn-northwest-1, af-south-1, il-central-1, me-central-1, me-south-1 Response
Job created from recipe successfully
job PENDING, ASSIGNED, RUNNING, COMPLETED, CANCELLED, FAILED BATCH, PERSISTENT Legacy alias for min_cpu_count.
Legacy alias for min_gpu_count.
Minimum CPU cores required on the node.
Minimum total GPUs required on the node.
Inclusive maximum total GPUs on the node; null means unlimited.
x >= 0Coarse geographic-network region identifier (AWS-style naming).
ca-central-1, ca-west-1, mx-central-1, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2, eu-central-1, eu-central-2, eu-north-1, eu-south-1, eu-south-2, eu-west-1, eu-west-2, eu-west-3, ap-east-1, ap-east-2, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-south-2, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-4, ap-southeast-5, ap-southeast-6, ap-southeast-7, cn-north-1, cn-northwest-1, af-south-1, il-central-1, me-central-1, me-south-1, null "us-west-2"