WorkflowDecisionEvent
Fields
6 fields
alternatives- array of string or null
at· required- string
chosen· required- string
context- object or null
decision_point· required- string
rationale· required- string
Raw schema (JSON)
{
"properties": {
"alternatives": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Alternatives"
},
"at": {
"title": "At",
"type": "string"
},
"chosen": {
"title": "Chosen",
"type": "string"
},
"context": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Context"
},
"decision_point": {
"title": "Decision Point",
"type": "string"
},
"rationale": {
"title": "Rationale",
"type": "string"
}
},
"required": [
"at",
"decision_point",
"chosen",
"rationale"
],
"title": "WorkflowDecisionEvent",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
GET/api/v1/runs/{run_id}/decision-trail— AI decision trail for a test run
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON