Inferences
Chat
Endpoint: POST /v2/chat/
This endpoint allows interaction with an agent by sending a chat request. This enables a user to initiate or continue a conversation with the agent by passing relevant session data.
Parameters
user_id
string
requiredThe unique identifier of the user interacting with the agent.
agent_id
string
requiredThe unique identifier of the agent handling the chat.
session_id
string
requiredThe session ID to maintain context across multiple interactions.
message
string
requiredThe user’s message or query to the agent.
Response Parameters
response
string
The agent’s reply based on the user’s input message.