v1
latestOpenAPI 3.0.12026-07-269427.8 KBAssistant message
Generates a response message from the assistant for the specified domain. Compatible with AI SDK v5+.
Authenticate with an assistant API key.
post/v2/assistant/{domain}/message
Path parameters
domainstring required
The domain identifier from your domain.mintlify.site URL. Can be found at the end of your dashboard URL. For example, app.mintlify.com/organization/domain has a domain identifier of domain.
Request body
Response
Message generated successfully
object required
Streaming response compatible with AI SDK v5. Use the useChat hook from @ai-sdk/react to handle the response stream.