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
Decision decisions().create(DecisionCreateParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/decisions
ModelsExpand Collapse
class Decision:
class DecisionChoiceOption:
class DecisionChoiceValue: A class that can be one of several variants.union

Choice values are typed: a string and a boolean with the same text are distinct.

class DecisionInputImage:

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

class DecisionInputMessage:

A user message containing text or images.

class DecisionInputPart: A class that can be one of several variants.union

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

class DecisionInputText: