Create a model
Create a draft model. handle is required and must be in a namespace your key owns — there is no auto-minting. kind is reserved-now and only accepts scoring at launch.
Creates a model in theDocumentation Index
Fetch the complete documentation index at: https://u22a8-police-sweep-2026-06-01.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
draft state. The handle must be in a namespace your key owns. Next: add traits and samples, then train.Authorizations
API key issued in the platform console, sent as Authorization: Bearer <key>.
Body
POST /v1/models body. handle is required and must be in a
namespace the caller's key owns.
Namespaced handle, <namespace>.<name> (e.g. u22a8.foo). Required — there is no auto-minting. The namespace must be one your key owns. Want a random handle? Generate the string yourself.
"u22a8.my-model"
"balanced_cosine"
Model kind. Only scoring is accepted at launch — future kinds (classification/conformance/retrieval) land additively.
Enable zero-data-retention. When True, samples are purged at every training completion, automatic retraining is disabled, and POST /score with a feedback block is rejected.
Response
Successful Response
"u22a8.compelling-readme"
"balanced_cosine"
Lifecycle state: draft, busy, ready, failed, or archived. busy is the transient state while an asynchronous operation (training, discovery, retraining) runs — see last_operation for which one.
"draft"
"busy"
"ready"
"failed"
"archived"
"scoring"
["Clarity", "Flow"]Identifier of the version currently serving scores. Null before the first successful train; updates on every successful train or retrain.
Version number of the active snapshot — the integer behind vN. Null before the first train.
User-named tags pointing at the active version.
Whether zero-data-retention is enabled. When on, submitted content is not retained.
The most recent lifecycle operation: {kind, status, started_at, run_id?, progress?, error?}. kind identifies what the model is doing while busy (e.g. train, discover, retrain). Null on models that have never run an operation.
{
"kind": "train",
"run_id": "run_abc",
"started_at": "2026-05-19T12:00:00Z",
"status": "succeeded"
}