Create a structured decision
Changed onAnswer typed questions (choice, noul, score) about a state. TypeSafe-compatible (SystemOne), so the official SDK can use this endpoint directly. Not end-to-end encrypted.
Request
- Base URLhttps://gateway.prem.io
- AuthHTTP bearer and API key in header Authorization
Headers
Maximum seconds the request may wait in the inference queue when no capacity is free (decimals allowed). 0 never queues: a saturated model answers 429 immediately. Values above the server budget (10s) are capped; the header can only shorten the wait, never extend it. Invalid values are ignored. A request that cannot be admitted in time gets 429 with Retry-After.
Request body
Example request
{
"videos": [
"data:video/mp4;base64,<base64-encoded-mp4>"
]
}Response
A decision with per-question answers and probabilities.
Changes
- warning
added the new
405.00enum value to the/response property for the response status - warning
added the new
405.00enum value to the/response property for the response status - warning
added the new
405.00enum value to the/response property for the response status - warning
added the new
405.00enum value to theresponse property for the response status - warning
added the new
405.00enum value to theresponse property for the response status - warning
added the new
405.00enum value to theresponse property for the response status - warning
added the new
405.00enum value to theresponse property for the response status - warning
added the new
409.00enum value to the/response property for the response status - warning
added the new
409.00enum value to the/response property for the response status - warning
added the new
409.00enum value to the/response property for the response status - warning
added the new
409.00enum value to theresponse property for the response status - warning
added the new
409.00enum value to theresponse property for the response status - warning
added the new
409.00enum value to theresponse property for the response status - warning
added the new
409.00enum value to theresponse property for the response status - warning
added the new
500.00enum value to the/response property for the response status - warning
added the new
500.00enum value to the/response property for the response status - warning
added the new
500.00enum value to the/response property for the response status - warning
added the new
500.00enum value to theresponse property for the response status - warning
added the new
500.00enum value to theresponse property for the response status - warning
added the new
500.00enum value to theresponse property for the response status - warning
added the new
500.00enum value to theresponse property for the response status - info
added the new optional
headerrequest parameterX-Queue-Timeout
- warning
- info
endpoint added
- info