v3

latestOpenAPI 3.1.02026-07-311,4541,5202.3 MB
models

Llm Models Model Update

PUT handler with superadmin lock and field protection.

Same as patch() - checks lock and field protection before delegating.

put/llm_models/model/{id}/

Path parameters

idinteger required

Headers

Authorizationstring required

JWT access token or Respan API key

Request body

affiliation_category'custom' | 'keywordsai'
  • custom - Custom
  • keywordsai - Keywordsai
is_managedboolean
is_called_by_custom_nameboolean
base_model_namestring
display_namestring
max_context_windowinteger
input_costnumber double
output_costnumber double
cache_hit_input_costnumber double
cache_creation_input_costnumber double
respan_discount_ratenumber double nullable
streaming_supportinteger
function_callinteger
image_supportinteger
overridden_fieldsstring[]
{"stackTrail":"components:schemas:PublicModelUpdateRequest:properties:load_balance_backups","oasType":"schema","type":"unknown","description":"Any type"}
status'active' | 'deprecated'
  • active - Active
  • deprecated - Deprecated
is_verifiedboolean

Whether the model's pricing has been human-verified. Unverified auto-discovered models are kept out of the live model dictionary.

source'hardcoded' | 'db'
  • hardcoded - Synced from Code
  • db - Database Only
model_type'chat' | 'embedding' | 'audio'
  • chat - Chat
  • embedding - Embedding
  • audio - Audio
providerinteger nullable

Response

projectstring nullable required
affiliation_category'custom' | 'keywordsai'
  • custom - Custom
  • keywordsai - Keywordsai
is_managedboolean
is_called_by_custom_nameboolean
model_namestring required
base_model_namestring
display_namestring
max_context_windowinteger
input_costnumber double
output_costnumber double
cache_hit_input_costnumber double
cache_creation_input_costnumber double
respan_discount_ratenumber double nullable
streaming_supportinteger
function_callinteger
image_supportinteger
overridden_fieldsstring[]
{"stackTrail":"components:schemas:PublicModelUpdate:properties:load_balance_backups","oasType":"schema","type":"unknown","description":"Any type"}
status'active' | 'deprecated'
  • active - Active
  • deprecated - Deprecated
is_verifiedboolean

Whether the model's pricing has been human-verified. Unverified auto-discovered models are kept out of the live model dictionary.

source'hardcoded' | 'db'
  • hardcoded - Synced from Code
  • db - Database Only
model_type'chat' | 'embedding' | 'audio'
  • chat - Chat
  • embedding - Embedding
  • audio - Audio
providerinteger nullable