jobs

Preflight + validate a job's checks, without submitting

Run PREFLIGHT and validate a job's CHECKS without submitting anything (docs/designs/job-checks.md). Free, about two seconds, and it changes nothing: use it in a loop while you get a job spec right, because it is faster and cheaper than a rejected submission per attempt. It answers the same three things submit_job would: does the checks block parse and mean something for this shape, does the job's worst-case cost fit the remaining spend cap (a BLOCK - the arithmetic is shown), and does the node's disk fit the model this job downloads (a WARNING). A check without sufficient data stays silent rather than guessing. Pass the same parameters you would pass to submit_job; the ones that only matter to a real run (context, image, idempotency_key, mission) are not needed.

post/preview/jobs/validate

Request

  • Base URL: https://autoresearch.sfcompute.com
  • URL: https://autoresearch.sfcompute.com/preview/jobs/validate
  • Auth: HTTP bearer

Query parameters

workspacestring

Act in this workspace (its slug). Omitted: the token's bound workspace, then the organization's default. Never ambient - there is no switch-workspace mutation on this door.

Request body

checksunknown
chipstring required

Chip: "h100", or a CPU size ("cpu-2", "cpu-8") - see submit_job.

chip_countinteger nullable

Chips per attempt (1-8). Defaults to 1. For more than one machine, set chip_count to 8 and set nodes.

commandstring nullable

The command the job would run - preflight reads a --model flag or a from_pretrained literal out of it.

envobject

Env the job would run with. Values are read only to identify a model reference; a stored-secret reference is never resolved here.

max_duration_minutesinteger nullable

Max run minutes (default 60) - half of the worst-case arithmetic.

modelstring nullable

The model the job downloads, e.g. "Qwen/Qwen3-VL-72B@main".

nodesinteger nullable

The number of whole machines for the job, from 2 to 8 (see submit_job's nodes). Omit it for a job on one machine.

resumestring nullable

"checkpoint" or "none" (see submit_job's resume). A job with nodes must pass checkpoint.

Response

The capability's JSON result.

objectstring

The resource type, when the result is one resource.

Changes

No recorded changes to this operation across all 1 revision of this API.