Update a model
Update the editable fields (name, default prompt) of one of your models.
name and default_prompt are editable; ownership and privacy
fields cannot be changed. Omit a field to leave it unchanged — do not send it as an
explicit null. Unknown or other-organization ids return
404 not_found. Requires the models.write scope.Authorizations
Organization API key as a bearer token: Authorization: Bearer samsa_sk_....
Headers
Path Parameters
Body
PATCH /models/{id} body — the publicly editable fields only (ADR §10, ticket §3).
Ownership / privacy fields (owner_id, private, organization_id) are
intentionally NOT accepted. A field may be omitted (left unchanged) but must not
be sent as an explicit null — mirroring ApiKeyUpdate.
Response
Successful Response
A single model with full detail — the GET /models/{id} body (ADR §10).
"Acme Brand Style"
Creation status: pending, processing, completed, or failed.
pending, processing, completed, failed "completed"
True when the model is completed AND active — usable for generation.
true
Model category — one of style, object, person, setting.
style, object, person, setting "style"
Presigned, time-limited HTTPS thumbnail URL (null when the model has none).
"https://cdn.samsa.ai/models/…/thumbnail.webp?X-Amz-Signature=…"
Presigned, time-limited HTTPS URLs of the reference images used to create the model.
[
"https://cdn.samsa.ai/models/…/ref-0.webp?X-Amz-Signature=…"
]Free-text guidance for how to use the model.
"Use for hero banners and social posts."
The model's default prompt / capability description.
"A bold flat-design illustration in the Acme brand palette."
Trigger words associated with the model.
["acme"]
