Skip to main content
POST
Create decisions decisions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
spanId
number
required
agentName
string
required
decisionType
required
Available options:
action
chosen
string
required
alternatives
object[]
required
confidence
number
reasoning
string
workflowRunId
number
inputContext
object

Response

Successful response

confidence
null | number
required
id
number
required
createdAt
string<date-time>
required
organizationId
string<uuid>
required
spanId
number
required
reasoning
null | string
required
workflowRunId
null | number
required
agentName
string
required
decisionType
string
required
chosen
string
required
alternatives
object[]
required
inputContext
null | object
required