Skip to main content
POST
Cook Job from Recipe

Path Parameters

uuid
string
required

Body

application/json
title
string

Override the job title from the recipe.

description
string | null

Override the job description from the recipe.

task
enum<string>

Override the task type. BATCH jobs run to completion; PERSISTENT jobs run indefinitely.

Available options:
BATCH,
PERSISTENT
cpu_count
integer

Legacy alias for min_cpu_count.

Required range: x >= 0
min_cpu_count
integer

Override the minimum CPU core count.

Required range: x >= 0
gpu_count
integer

Legacy alias for min_gpu_count.

Required range: x >= 0
min_gpu_count
integer

Override 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.

Required range: x >= 0
max_gpu_count
integer | null

Override 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.

Required range: x >= 0
gpu_name
string | null

Override the GPU name requirement. Cannot be used with gpu_registry_uuid.

gpu_registry_uuid
string<uuid> | null

Override with a specific GPU registry UUID for precise matching. Cannot be used with gpu_name.

min_vram_gb
number

Override the minimum VRAM in GB.

Required range: x >= 0
min_ram_gb
number

Override the minimum RAM in GB.

Required range: x >= 0
min_storage_gb
number

Override the minimum storage in GB.

Required range: x >= 0
max_node_count
number

Override the maximum number of nodes.

max_retry_count
number

Override the maximum retry count.

Required range: x >= 0
max_timeout_assign_ms
number

Override the assignment timeout in milliseconds.

Required range: x >= 300000
max_timeout_start_ms
number

Override the start timeout in milliseconds.

Required range: x >= 120000
max_timeout_run_ms
number | null

Override the run timeout in milliseconds. Required for BATCH tasks, must be null for PERSISTENT tasks.

Required range: x >= 60000
parameters
object

Override the container/execution parameters.

allowed_region_codes
enum<string>[]

Override the recipe`s allowed_region_codes for this cooked Job.

Maximum array length: 36
Available options:
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

Response

Job created from recipe successfully

object
enum<string>
required
Available options:
job
created_at
string<date-time> | null
required
updated_at
string<date-time> | null
required
status
enum<string>
required
Available options:
PENDING,
ASSIGNED,
RUNNING,
COMPLETED,
CANCELLED,
FAILED
task
enum<string>
required
Available options:
BATCH,
PERSISTENT
title
string
required
cpu_count
number | null
required

Legacy alias for min_cpu_count.

gpu_count
number | null
required

Legacy alias for min_gpu_count.

min_ram_gb
number
required
min_vram_gb
number
required
min_storage_gb
number
required
parameters
object
required
timeout_assign_at_ms
number | null
required
uuid
string | null
started_at
string<date-time> | null
completed_at
string<date-time> | null
description
string | null
min_cpu_count
number | null

Minimum CPU cores required on the node.

min_gpu_count
number | null

Minimum total GPUs required on the node.

max_gpu_count
integer | null

Inclusive maximum total GPUs on the node; null means unlimited.

Required range: x >= 0
gpu_name
string | null
gpu_registry_uuid
string | null
max_timeout_assign_ms
number | null
max_timeout_run_ms
number | null
max_timeout_start_ms
number | null
max_retry_count
number | null
max_node_count
number | null
image_size_bytes
number | null
allowed_region_codes
(enum<string> | null)[]

Coarse geographic-network region identifier (AWS-style naming).

Available options:
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
Example:

"us-west-2"

container_access_tokens
object[]
status_reason
string | null
source_recipe_uuid
string | null