Samples
Show sample
One sample JobSpec by id, ready for POST /v1/routes or POST /v1/jobs. No auth.
Authorization
None. Anyone can call this endpoint.
Path parameters
idstringrequiredResponses
200application/jsonSuccessful Response
Show response attributes
task_typeenum<string> | nullNeeded for runtime matching; unset never matches.
Available options: training inference
model_idstring | nullModel the job trains or serves, such as Qwen/Qwen3-0.6B.
minLength: 1
precisionenum<string> | nullNumerical precision of the compute.
Available options: fp32 bf16 fp16 fp8 fp4 int8 int4
framework_versionstring | nullFramework and version string, matched exactly.
minLength: 1
islinteger | nullInference input tokens per request.
minimum: 1
oslinteger | nullInference output tokens per request.
minimum: 1
seq_leninteger | nullTraining sequence length in tokens.
minimum: 1
concurrencyinteger | nullInference requests in flight.
minimum: 1
global_batchinteger | nullTraining examples per optimizer step across all GPUs.
minimum: 1
lora_rankinteger | nullLoRA rank when the job fine-tunes an adapter.
minimum: 1
work_unitsinteger | nullUnits of work the job processes, such as requests or examples.
minimum: 1
maximum: 1000000000000
imagestringrequiredImmutable container image reference.
minLength: 1
pattern: ^(?:[A-Za-z0-9]+(?:[._-][A-Za-z0-9]+)*(?::[0-9]{1,5})?/)?[a-z0-9]+(?:[._-]+[a-z0-9]+)*(?:/[a-z0-9]+(?:[._-]+[a-z0-9]+)*)*(?::[A-Za-z0-9_][A-Za-z0-9._-]{0,127})?(?:@sha256:[a-f0-9]{64})?$
commandstring[]requiredminItems: 1
envobjectdefault: {}Keys match ^[A-Za-z_][A-Za-z0-9_]*$; values are masked in every response and never logged.
inputsobject[]default: []Show child attributes
urlstring<uri>requiredminLength: 1
maxLength: 2083
mount_pathstringrequiredoutput_dirstringrequiredmin_vram_gbintegerrequiredminimum: 1
gpu_countintegerdefault: 1cpu_coresnumberrequiredmaximum: 32
exclusiveMinimum: 0
memory_gbnumberrequiredmaximum: 256
exclusiveMinimum: 0
timeout_secondsintegerrequiredAt most 21600 (6 hours).
minimum: 1
maximum: 21600
workload_classstringrequiredminLength: 1
verifierobject | nullShow child attributes
expected_output_filesstring[]requiredminItems: 1
metrics_filestringrequiredmetric_must_decreasestringrequiredminLength: 1
allow_interruptiblebooleandefault: falseLets an inference job use spot and preemptible capacity; training jobs always may.
404application/jsonSAMPLE_NOT_FOUND: no sample has this id.
SAMPLE_NOT_FOUND500application/jsonUnexpected failure: INTERNAL_ERROR.
INTERNAL_ERRORMCP tool
get_sample_spec: Show one sample job spec by id (default lora, a LoRA fine-tune of Qwen/Qwen3-0.6B; list_samples gives the ids) as a template for run_job fields; env values are masked. Run it with run_job(sample=true, sample_id=id). Free.