Skip to main content
Effective Date — May 7, 2026
As part of the IAM hierarchy simplification, a new format of the TIR APIs is now available. All endpoints that previously included /teams/:team_id segment will now follow a service-centric structure, with project_id now passed as a query parameter instead of a path segment. You can read more about this change

Update an assistant

PUT/rag/assistant/{Assistant_Id}

Path parameters

  • Assistant_IdPathstringrequired

Query parameters

  • project_idQueryintegerrequired

    Project ID

  • active_iamQueryintegeroptional

    Active IAM ID (To access contact person account) Find your Active IAM ID here

Request body

application/json

object
idstring
exampleiyt87i76tfgi76kuiyi7t7g8g
namestring
exampletesting-assistant
kb_idsarray
prompt_configobject
similarity_thresholdnumber·float
example0.27
vector_similarity_weightnumber·float
example0.63
top_ninteger
example8
llm_idinteger
example4
llm_settingobject
rerank_idinteger
example5
top_kinteger
example1024
llm_model_sourcestring
examplegenai
llm_model_namestring
examplemistral_7b_instruct
isConversationsEnabledboolean
exampletrue

Responses

200Assistant updated successfully
object
codeinteger
example200
datastring
exampleAssistant updated successfully
errorsobject
messagestring
exampleSuccess