Crear mensaje del assistant
Changed onGenera un mensaje de respuesta del assistant para el domain indicado. Compatible con el SDK de IA v5 o superior.
Autentícate con una clave de API del assistant.
post/v2/assistant/{domain}/message
Request
- Base URLhttps://api.mintlify.com/discovery
- AuthHTTP bearer
Path parameters
domainstring required
El identificador de domain de tu URL, por ejemplo domain.mintlify.site. Puedes encontrarlo al final de la URL de tu dashboard. Por ejemplo, en dashboard.mintlify.com/organization/domain, el identificador de domain es domain.
Request body
Response
Mensaje generado con éxito
object required
Streaming de respuestas compatible con AI SDK v5. Usa el hook useChat de @ai-sdk/react para gestionar el flujo de la respuesta.
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
5 more changes in this revision
- info