POST

/api/public/v1/support/ai/chat

Live

Ask the AI assistant a question as a bound customer (ai:chat).

Parameters

NameInRequiredDescription
message, sessionIdbody (POST)message requiredThe assistant answers only from published articles the customer may read and cites them. If it cannot answer, handoffOffered is true.

Response

{ sessionId, reply: { text, citations, handoffOffered } }.

Example

curl -H "Authorization: Bearer $INAYA_API_KEY" \
  "https://app.inaya.network/api/public/v1/support/ai/chat"