Assistant
Chat
Send a message and receive a streaming response.
Body: { "message": "como publico nos portais?", "context": { "currentRoute": "/vehicle/123/data", "visibleButtons": ["Publicar Anúncio", "Editar"], "page_data": { "vehicle_id": 123, "matricula": "AA-00-BB", "marca": "BMW", "modelo": "320d", "estado": "Stock" } } }
Returns SSE stream: data: {"type": "token", "text": "Para"} ... data: [DONE]
post/api/assistant/chat
Headers
x-api-tokenstring nullable
Request body
object required
Response
Successful Response
{"stackTrail":"paths:/api/assistant/chat:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.