training

Look up a training call by its Idempotency-Key

Changed on

Whether a call to an interactive job route (create-model, forward, forward-backward, optim-step, save-weights, save-weights-for-sampler, load-weights, sample, stop), or a POST /v1/training/jobs create, sent with this Idempotency-Key was accepted, and the job and future it made. A native call still admitting, before its job is recorded, reads as not_found with a 200 because its owner and Experiment cannot yet be verified. not_found does not prove the call never arrived: retry the original request with the same key, never a fresh key.

get/v1/training/operations/{idempotency_key}

Request

Path parameters

idempotency_keystring required

Response

Successful Response

future_idstring nullable

The future it queued; null until recorded, for a stop and for create-job.

future_status'pending' | 'running' | 'completed' | 'failed' | 'cancelled' | 'lost' nullable

The future's status; null without a future, and once a finished future is deleted (its retention).

idempotency_keystring required
job_idstring nullable

The job the call created or acted on; null until its identity is recorded.

operationstring nullable

The route the key was used on: create-model, forward-backward, stop, ..., or create-job for POST /v1/training/jobs.

status'accepted' | 'not_found' required

accepted: a call with this key was accepted and its job was recorded (work may still be running). not_found: no receipt is visible in the caller's scope, including while a native call is still admitting; this does not prove no work was accepted. Reconcile using the original key and request, not a fresh key.

Changes