POST
/
inference
/
chat
/
curl --request POST \
  --url https://agent-prod.studio.lyzr.ai/v3/inference/chat/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "user_id": "rohithchandra1952@gmail.com",
  "system_prompt_variables": {},
  "agent_id": "683f4657fcc016e56d66dbe8",
  "session_id": "683f4657fcc016e56d66dbe8-o6aq76s9a5",
  "message": "Hello, what are you upto?",
  "filter_variables": {},
  "features": [
    {
      "additionalProp1": {}
    }
  ]
}'
{
  "response": "Hello! How can I assist you today?"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200
application/json

Successful agent response

The response is of type object.