v14

latestOpenAPI 3.1.02026-08-043122950.3 KB
jobs

Start a job

post/api/jobs/{namespace}

Path parameters

namespacestring required

Request body

spaceIdstring
dockerImagestring
argumentsstring[]
commandstring[]
environmentobject
secretsobject
flavor'cpu-basic' | 'cpu-upgrade' | 'cpu-performance' | 'cpu-xl' | 'sprx8' | 'zero-a10g' | 't4-small' | 't4-medium' | 'l4x1' | 'l4x4' | 'l40sx1' | 'l40sx4' | 'l40sx8' | 'a10g-small' | 'a10g-large' | 'a10g-largex2' | 'a10g-largex4' | 'a100-large' | 'a100x4' | 'a100x8' | 'h200' | 'h200x2' | 'h200x4' | 'h200x8' | 'rtx-pro-6000' | 'rtx-pro-6000x2' | 'rtx-pro-6000x4' | 'rtx-pro-6000x8' | 'inf2x6' required
arch'amd64' | 'arm64'
timeoutSecondsinteger nullable
attemptsinteger

Max number of attempts to make. For example, if you set this to 3, the job will be retried up to 2 times if it fails.

labelsobject

Labels for the job as key-value pairs. Both keys and values must be max 100 characters and contain only alphanumeric characters, dots, dashes, and underscores.

resourceGroupIdstring

Response

The job after it has been started

idstring required
createdAtstring date-time required
spaceIdstring
dockerImagestring
timeoutnumber
environmentobject required
commandstring[]
argumentsstring[]
arch'amd64' | 'arm64'
flavor'cpu-basic' | 'cpu-upgrade' | 'cpu-performance' | 'cpu-xl' | 'sprx8' | 'zero-a10g' | 't4-small' | 't4-medium' | 'l4x1' | 'l4x4' | 'l40sx1' | 'l40sx4' | 'l40sx8' | 'a10g-small' | 'a10g-large' | 'a10g-largex2' | 'a10g-largex4' | 'a100-large' | 'a100x4' | 'a100x8' | 'h200' | 'h200x2' | 'h200x4' | 'h200x8' | 'rtx-pro-6000' | 'rtx-pro-6000x2' | 'rtx-pro-6000x4' | 'rtx-pro-6000x8' | 'inf2x6' required
resourceGroupIdstring
retrynumber
startedAtstring date-time
finishedAtstring date-time
type'job' required
secretsstring[]
labelsobject