POST
/api/public/v1/support/ai/chat
LiveAsk the AI assistant a question as a bound customer (ai:chat).
Parameters
| Name | In | Required | Description |
|---|---|---|---|
| message, sessionId | body (POST) | message required | The 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"