API reference · API
Light the distilled world
POST/v1/distill/{id}/lightAPI key
Chat scope. The hardware the model needs is priced at the provider's published hourly price for one replica, marked up; the hours are held on the funded balance, then the replica starts. Requests to the world carry no token charge. It is charged for the minutes it ran when it goes dark. keep_lit holds one more hour each hour. A 404 at every path while the operator has not turned distillation on.
Parameters
| Field | Type | What it is |
|---|---|---|
| id (path)required | string |
Request body
application/json, optional
| Field | Type | What it is |
|---|---|---|
| hours | integer | Hours held and lit, 1 unless set. From 1 to 9007199254740991. |
| keep_lit | boolean | Hold one more hour each hour until put out or the balance cannot hold it. |
Example
{
"hours": 1,
"keep_lit": false
}Answer 200
The distillation, its world lighting.
| Field | Type | What it is |
|---|---|---|
| id | string | |
| object | "distill.job" | |
| world | string | antimatter/distilled/<id>, nameable by the owner's keys only. |
| teacher | string | |
| base_model | string | |
| status | any | One of "uploading", "validating", "training", "completed", "failed", "cancelled". |
| training | object | |
| loss | array of object | |
| loss[] | any | One of "train", "eval". |
| loss[] | integer | |
| loss[] | number | |
| world_state | object | |
| world_state. | any | One of "dark", "lighting", "lit", "darkening". |
| world_state. | integer or null | |
| world_state. | integer or null | |
| world_state. | integer | |
| proof | object or null | Agreement 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
- 400OpenAI shaped error.
- 401OpenAI shaped error.
- 402OpenAI 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.