Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Decisions

Create a decision
$ openai decisions create
POST/decisions
ModelsExpand Collapse
decision: object { answers, model, usage }
decision_input_image: object { image_url, type, detail }

An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.

decision_input_message: object { content, role, type }

A user message containing text or images.

decision_input_part: DecisionInputText { text, type } or DecisionInputImage { image_url, type, detail }

An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.

decision_input_text: object { text, type }