Generates a response message from the assistant for the specified domain. For best results, use the useChat hook from ai-sdk to send requests and handle responses. You can set fp
, threadId
, and filter
in the body
field of the options parameter passed to the hook.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The domain identifier from your domain.mintlify.app
URL. Can be found in the top left of your dashboard.
Message generated successfully
Response object that streams formatted data stream parts with the specified status, headers, and content. This matches what is expected from the AI SDK as documented at ai-sdk.dev/docs/ai-sdk-ui/streaming-data. Instead of writing your own parser, it is recommended to use the useChat hook from ai-sdk as documented here.