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

Create an assistant

POST/rag/assistant/

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
namestringrequired
exampletir-rag-assistant-260326161850
prompt_configobjectrequired
similarity_thresholdnumber·floatrequired
example0.2
vector_similarity_weightnumber·floatrequired
example0.7
top_nintegerrequired
example8
isConversationsEnabledbooleanrequired
examplefalse
top_kintegerrequired
example1024
llm_model_sourcestringrequired
examplegenai
llm_max_tokensintegerrequired
example131072
llm_settingobjectrequired
kb_idsarrayrequired
llm_idintegerrequired
example1

Responses

201Assistant created successfully
object
codeinteger
example201
dataobject
errorsobject
messagestring
exampleCreated Successfully