Skip to main content
POST
Chat With Agent (Inference v3)

Authorizations

x-api-key
string
header
required

Body

application/json
user_id
string
required
Example:

"rohithchandra1952@gmail.com"

agent_id
string
required
Example:

"683f4657fcc016e56d66dbe8"

session_id
string
required
Example:

"683f4657fcc016e56d66dbe8-o6aq76s9a5"

message
string
required
Example:

"Hello, what are you upto?"

system_prompt_variables
object

Optional dynamic variables to fill in the system prompt

Example:
filter_variables
object

Optional filter values for prompt logic

Example:
features
object[]

Optional features to modify behavior

Response

Successful agent response

response
string
Example:

"Hello! How can I assist you today?"