Endpoint: POST /v2/stream/

This endpoint allows for real-time or streamed interaction with an agent. It is designed for continuous dialogue where the agent’s responses are streamed back to the user incrementally, enhancing the real-time interaction experience.

Parameters

user_id
string
required

The unique identifier of the user interacting with the agent.

agent_id
string
required

The unique identifier of the agent handling the chat.

session_id
string
required

The session ID to maintain context across multiple interactions.

message
string
required

The user’s message or query to the agent.

Response Parameters

response
string

The agent’s response sent back incrementally.