Body of POST /demo/chat. The frontend uses the Vercel AI SDK's ``useChat``/``DefaultChatTransport``, which posts ``{id, messages, trigger, messageId}`` (UIMessage array). The legacy ``{message}`` shape is still accepted for older clients/tests. The demo agent is fully scripted, so the content is only logged - never fed to a model.
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.