FAQ
Stream an AI FAQ response
Submits a question to the AI FAQ service and receives a Server-Sent Events (SSE) response. The stream emits exactly one event then closes.
Each event uses the following wire format:
Events
Event | When | Data shape |
|---|---|---|
| Always | See below |
| Stream interrupted |
|
Complete
Field | Type | Description |
|---|---|---|
| string (UUIDv4) | ID of the conversation (new or existing). |
| object \| absent | Present only when a matching FAQ entry was found within the relevance threshold. |
| string | Vector store ID of the matched FAQ entry. |
| string | The matched FAQ question. |
| string | The matched FAQ answer. |
| string \| null | Optional CTA URL associated with the FAQ. |
| string \| null | Optional CTA label associated with the FAQ. |
Example — match found:
Example — no match: