StageDecisionSummary
Fields
18 fields
analysis_mode- string or null
completed_at- string (date-time) or null
confidence_score- integer or null
cost_usd- number or null
decision_log- array of DecisionLogEntry
duration_seconds- number or null
error_category- string or null
evidence_count- integer or null
execution_path- string or null
fallback_reason- string or null
fallback_used- boolean or null
input_tokens- integer or null
output_tokens- integer or null
route_rationale- string or null
skipped_reason- string or null
stage_name· required- string
started_at- string (date-time) or null
status· required- string
Raw schema (JSON)
{
"properties": {
"analysis_mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Analysis Mode"
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Completed At"
},
"confidence_score": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Confidence Score"
},
"cost_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Cost Usd"
},
"decision_log": {
"items": {
"$ref": "#/components/schemas/DecisionLogEntry"
},
"title": "Decision Log",
"type": "array"
},
"duration_seconds": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Duration Seconds"
},
"error_category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Error Category"
},
"evidence_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Evidence Count"
},
"execution_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Execution Path"
},
"fallback_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Fallback Reason"
},
"fallback_used": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Fallback Used"
},
"input_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Input Tokens"
},
"output_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Output Tokens"
},
"route_rationale": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Route Rationale"
},
"skipped_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Skipped Reason"
},
"stage_name": {
"title": "Stage Name",
"type": "string"
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Started At"
},
"status": {
"title": "Status",
"type": "string"
}
},
"required": [
"stage_name",
"status"
],
"title": "StageDecisionSummary",
"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