Ask the in-till assistant a question
Sends a free-text prompt to the till’s built-in help assistant and returns its reply as PROSE. It backs the caisse /ia screen, where a cashier asks how to use the POS. WHY avoid: this operation answers about the product, never about your data — it cannot read a sale, a stock level or a customer, and its reply is natural-language text with no machine-readable field. Anything you might want from it is available as a real, typed operation elsewhere in this API; reach for that instead. Two further reasons to stay away: the behaviour is deployment-dependent (with no agent configured the server answers from a small deterministic French phrasebook that ignores your question’s specifics, so a confident-sounding reply may be a canned fallback), and when an agent IS configured the prompt and history are forwarded verbatim to a third-party model — never put customer identifiers, contact details or anything else confidential in them. prompt is required, trimmed, 1..2000 characters; history is an optional array of at most 50 prior { role, text } turns for context and is NOT stored server-side, so resend it each call. Replies are in French. The call is stateless and free of side effects — nothing is written and nothing is charged — so a retry is safe.
Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Body
Response
The assistant's free-text reply. Never parse it as data.
The assistant's free-text reply. Never parse it as data.
1
