Skip to main content
POST
Create decisions decisions

Authorizations

Authorization
string
header
required

Organization-scoped EvalGate API key. Discover the supported agent scopes at /.well-known/oauth-protected-resource. Per-operation grants are listed in x-evalgate-required-scopes; OpenAPI bearer security requirement arrays remain empty as required for non-OAuth schemes.

Body

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

Response

Successful response

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