Skip to main content
PUT
Update AI model

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

id
string
required

AI Model ID

Body

application/json

Partial update. Every field is optional; only the keys provided are written. The handler merges client_library / api_url / api_key with the stored document before re-validating, so you can update one field without resending the others.

name
string
institution
string
model_use
enum<string>
Available options:
conversationModel,
imageGenerationModel,
audioGenerationModel,
videoGenerationModel,
imageAnalysisModel,
embeddingsModel,
audioAnalysisModel,
videoAnalysisModel,
ttsModel,
summaryModel,
rtModel,
moderationModel
description
string
client_library
enum<string>
Available options:
openai_cli,
anthropic_cli,
bedrock_cli,
google_cli,
mistral_cli,
xai_cli,
stability_cli
api_url
string
api_key
string
default_headers
object
features
object

Capability flags advertised by the model.

input_media
object

Input modalities the model accepts.

output_media
object

Output modalities the model can produce.

max_input_tokens
integer
max_output_tokens
integer
reasoning_effort
enum<string> | null
Available options:
none,
low,
medium,
high,
max
extended_context
boolean
status
enum<string>
Available options:
active,
inactive
picture_url
string

Response

AI model updated successfully

success
boolean
Example:

true

message
string

Success message

Example:

"User institution deleted successfully"