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
client.decisions.create(DecisionCreateParams { input, model, questions, safety_identifier } body, RequestOptionsoptions?): Decision { answers, model, usage }
POST/decisions
ModelsExpand Collapse
Decision { answers, model, usage }
DecisionInputImage { image_url, type, detail }

An inline image. External URLs and file IDs are not supported.

DecisionInputMessage { content, role, type }

A user message containing text or inline images.

DecisionInputPart = DecisionInputText { text, type } | DecisionInputImage { image_url, type, detail }

An inline image. External URLs and file IDs are not supported.

DecisionInputText { text, type }