models
Model-kind repo extras — model meta
PUT /v1/models/{owner}/{repo}/meta
Set model meta
Full replace of the model meta block on a model-kind repo (the M7 worker sets source_run_id when packaging a trained model). 409 problem if the repo kind is not model. UI-API: robot must be a robot repo the caller can read — a missing, private or malformed one is the same 422, word for word — and embodiment_fingerprint is the interface fingerprint the policy's manifest records.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
owner | path | Handle | Repo owner handle (username or org slug). |
repo | path | Slug | Repo slug. |
Request body
| Field | Type | Description |
|---|---|---|
policy_type | string | |
base_model | string | null | |
source_run_id | string | null | Must reference an existing run visible to the caller. |
control_class | ControlClass | null |
|
robot | string | null | UI-API: |
embodiment_fingerprint | string | null | UI-API: the interface fingerprint the policy's manifest records ( |
Responses
| Status | Description | Body |
|---|---|---|
200 | Stored model meta. | ModelMeta |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
422 | Request failed validation. | Problem |
Schemas (1)
The schemas these operations reach before any other tag’s do. A type that links elsewhere is rendered on that tag’s page.
ModelMetaPut
| Field | Type | Description |
|---|---|---|
policy_type | string | |
base_model | string | null | |
source_run_id | string | null | Must reference an existing run visible to the caller. |
control_class | ControlClass | null |
|
robot | string | null | UI-API: |
embodiment_fingerprint | string | null | UI-API: the interface fingerprint the policy's manifest records ( |