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

Chat Completion

Note: "Use the Rag token saved in "Assistant Details" request"

POST/completion

Request body

application/json

object
conversation_idstring

Unique ID of the conversation.

example65776ir5tifgtuytjj6
messagesarray

List of messages exchanged in the conversation.

quoteboolean

Whether to include citations (quotes) in the response.

exampletrue

Responses

200Successful response
oneOf
option 1object
retcodeinteger
retmsgstring
dataobject
option 2object
retcodeinteger
retmsgstring
databoolean