API reference

API reference · API

Put the distilled world out

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

Chat scope. The replica is stopped, its minutes charged, and any shadow switch to it reverted first. 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, its world dark.

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.

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