Skip to main content
PATCH
Mettre à jour un modèle privé
Nécessite private_models:write et une identité de propriétaire ou d’administrateur. Envoyez slug pour renommer le modèle propre à l’espace de travail ; model_id ne peut pas être fourni directement.

Autorisations

Authorization
string
header
requis

Authentification par jeton Bearer

Paramètres de chemin

id
string<uuid>
requis

Corps

application/json
model_reference
string

ID exact d’un modèle du catalogue pour rattacher cet endpoint comme fournisseur, ou slug court pour correspondance automatique/nommage dans l’espace de travail.

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
Plage requise: x >= 1
max_output_tokens
integer | null
Plage requise: 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>
Options disponibles:
preferred,
balanced,
fallback

Réponse

Modèle privé mis à jour

data
object
requis
Dernière modification le 2 octobre 2026