Create a decision (OpenAI format)
OpenAI's Decisions contract: ordered Predicate, Choice, and Score questions about one input, answered in the same order with probabilities. Use an OpenAI base URL of https://api.munito.ai/inference/v1 and call this path over HTTP. The models, rate limits, billing, and errors are those of Evaluate decisions, with OpenAI error envelopes. perplexity-ai/pplx-decider-v1.2 accepts up to 8 input_image parts whose image_url is a base64 data URL; an image link gets 400. blockbrain/cygnet is text only, and a request with an image gets 400.
Request
- Base URLhttps://api.munito.ai/inference/v1
- URLhttps://api.munito.ai/inference/v1/decisions
- Auth
- HTTP bearer
- or API key in header x-api-key
Headers
priority, standard or flex. The response names the tier that is billed; see x-ratelimit-over-limit. See Service tiers.
Request body
Response
Answers in question order. A predicate returns its probability. A choice returns the chosen value, its confidence, and the probability of each value. A score returns the expected level, its confidence, and the probability of each level.
Changes
No recorded changes to this operation across all 1 revision of this API.