API reference

API reference · API

Cancel a distillation

POST/v1/distill/{id}/cancelAPI key

Chat scope. Before training the hold is released; during it the provider is asked, and the share of steps that ran is charged. A 404 at every path while the operator has not turned distillation on.

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredstring

Answer 200

The distillation.

Fields of the 200 answer
FieldTypeWhat it is
idstring
object"distill.job"
worldstringantimatter/distilled/<id>, nameable by the owner's keys only.
teacherstring
base_modelstring
statusanyOne of "uploading", "validating", "training", "completed", "failed", "cancelled".
trainingobject
lossarray of object
loss[].kindanyOne of "train", "eval".
loss[].stepinteger
loss[].lossnumber
world_stateobject
world_state.stateanyOne of "dark", "lighting", "lit", "darkening".
world_state.hourly_microsinteger or null
world_state.untilinteger or null
world_state.spent_microsinteger
proofobject or nullAgreement on the held out slice with its 95% Wilson interval, latency beside the teacher's, and a request's cost before and after at the key's own rate.

Errors

  • 401OpenAI shaped error.
  • 404OpenAI shaped error.
  • 409OpenAI shaped error.
  • 502OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter