RECOMMEND_PRODUCT, RECOMMEND_PRODUCT, SUBMIT_FORM, BOOK_MEETING, COLLECT_PAYMENT, etc. — and orchestrates them on the caller’s behalf. There is no separate tools/list endpoint exposed to anonymous callers.
POST /chat/
widget capability.
Request body
Headers
Response — JSON envelope (default for agents)
WhenX-Agent-Model is present and stream is not explicitly set, the API returns a single JSON document.
The HTTP response also carries
X-AI-Generated: true (AI Act Art. 50 transparency).
Response — SSE stream (default for browsers)
Whenstream: true (the default for human visitors), the API returns Server-Sent Events.
done event carries all the envelope fields shown in the JSON shape (including toolExecutions when the caller is an agent).
Errors
Rate limits
Per-IP dual window: 20 messages / minute + 200 messages / hour. Exceeded calls return HTTP 429.Quick examples
Agent-to-agent (Python)
Streaming (JavaScript widget)
See also
Agent access guide
Full agent-to-agent walkthrough
Tools (concept)
The 15 tool types the chatbot can invoke