Decide
Answer 1 to 16 typed questions about a context in a single call: choice (pick an option), noul (probability that a yes/no proposition holds), score (expected level and distribution over ordered levels) and multi (every option that applies). Types can be mixed. context is a string, or a list of content parts (text, and image / document / audio referencing uploaded assets). After a period without traffic, the first request can take up to about 2 minutes: use a client timeout of at least 180 s. Each answer has the same type as its question. The request id is returned in the X-Request-ID response header.
Authorizations
Headers
Body
The text to decide on (1–8,000 characters), or an ordered list of 1–16 content parts; text parts are joined with newlines. Media parts (image, document, audio) reference uploaded assets. Every modality is input only: the answer is always the structured decision. Video is not supported.
1 - 8000