Skip to main content
PATCH
Update a private model
Requires private_models:write and an owner or admin identity. Submit slug to rename the workspace-local model; model_id cannot be supplied directly.

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

id
string<uuid>
required

Body

application/json
model_reference
string

An exact catalogue model ID to attach this endpoint as a provider, or a short slug for automatic matching/workspace namespacing.

name
string
Required string length: 1 - 120
description
string | null
Maximum string length: 500
base_url
string<uri>
upstream_model_id
string
Required string length: 1 - 255
credential
string
write-only
Minimum string length: 8
supports_responses
boolean
enabled
boolean
context_length
integer | null
Required range: x >= 1
max_output_tokens
integer | null
Required range: x >= 1
host_provider_id
string | null
custom_provider_name
string | null
Required string length: 1 - 120
custom_provider_url
string<uri> | null
routing_policy
enum<string>
Available options:
preferred,
balanced,
fallback

Response

Private model updated

data
object
required
Last modified on September 4, 2026