Samples

List samples

Every sample job with its JobSpec, in a fixed order. No auth.

GET/v1/samplesPublic

Authorization

None. Anyone can call this endpoint.

Responses

200application/json

Successful Response

Show response attributes
idstringrequired

Sample id used by GET /v1/samples/{id}, /jobs?sample=<id>, and the CLI and MCP tools.

namestringrequired
descriptionstringrequired

One line on what the sample does and what it reports.

job_specobjectrequired
Show child attributes
task_typeenum<string> | null

Needed for runtime matching; unset never matches.

Available options: training inference

model_idstring | null

Model the job trains or serves, such as Qwen/Qwen3-0.6B.

minLength: 1

precisionenum<string> | null

Numerical precision of the compute.

Available options: fp32 bf16 fp16 fp8 fp4 int8 int4

framework_versionstring | null

Framework and version string, matched exactly.

minLength: 1

islinteger | null

Inference input tokens per request.

minimum: 1

oslinteger | null

Inference output tokens per request.

minimum: 1

seq_leninteger | null

Training sequence length in tokens.

minimum: 1

concurrencyinteger | null

Inference requests in flight.

minimum: 1

global_batchinteger | null

Training examples per optimizer step across all GPUs.

minimum: 1

lora_rankinteger | null

LoRA rank when the job fine-tunes an adapter.

minimum: 1

work_unitsinteger | null

Units of work the job processes, such as requests or examples.

minimum: 1

maximum: 1000000000000

imagestringrequired

Immutable 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[]required

minItems: 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>required

minLength: 1

maxLength: 2083

mount_pathstringrequired
output_dirstringrequired
min_vram_gbintegerrequired

minimum: 1

gpu_countintegerdefault: 1
cpu_coresnumberrequired

maximum: 32

exclusiveMinimum: 0

memory_gbnumberrequired

maximum: 256

exclusiveMinimum: 0

timeout_secondsintegerrequired

At most 21600 (6 hours).

minimum: 1

maximum: 21600

workload_classstringrequired

minLength: 1

verifierobject | null
Show child attributes
expected_output_filesstring[]required

minItems: 1

metrics_filestringrequired
metric_must_decreasestringrequired

minLength: 1

allow_interruptiblebooleandefault: false

Lets an inference job use spot and preemptible capacity; training jobs always may.

500application/json

Unexpected failure: INTERNAL_ERROR.

INTERNAL_ERROR

MCP tool

list_samples: List the sample jobs (LoRA fine-tune, batch LLM inference, text embeddings, image generation, speech to text, vision training) with id, name, one-line description and job spec. Route one with route_job(sample=true, sample_id=id), run it with run_job. Free.