Update Model
Set or rename a model’s name (unique per org).
The console drives this; both naming an unnamed model and renaming an existing one are the same call. A name already taken in the org surfaces as 409 (the partial unique index is the guard); the request body’s validator rejects malformed names with 422 before reaching here.
Owner-scoped, matching delete: a member can read the org’s models but
only rename their own (a non-owned model returns 404).
Authorizations
An API key or OAuth2/OIDC access token sent as Authorization: Bearer <token>.
Path Parameters
Body
PATCH /v1/models/{model_id} — set or rename a model's name.
Names are unique per org; a clash is reported as 409. Whitespace is
normalized so a name round-trips through lookup.
New human-readable model name, unique per org.
Response
Successful Response
The canonical server-assigned model id.
Short, human-friendly model handle, e.g. mdl-7bQ2xV9mKp4R.
Human-readable model name, unique per org. Server-generated at creation; editable via PATCH /v1/models/{model_id}.
Id of the user who created the model (the creator/owner).
training for /v1/training_jobs results; reasoning for /v1/reasoning_jobs on flat tasks; sequence_reasoning for /v1/reasoning_jobs on a sequence task (predict + per-entity drivers only).
training, reasoning, sequence_reasoning The winning trial's hyperparameters (model-family specific).
Cross-validation scores the optimizer selected on, keyed by metric name (e.g. {"auc": 0.91}).
Names of the source tables the model trained on, captured at finalize from its training plan (read relations). Empty for models recorded before this was captured.