ConfidenceWhy
Fields
Explains the basis of the confidence score for transparency.
5 fields
confidence_basis- string or null
data_sources- array of string
evidence_count- integer
investigation_depth- string
is_llm_inference- boolean
Raw schema (JSON)
{
"description": "Explains the basis of the confidence score for transparency.",
"properties": {
"confidence_basis": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Confidence Basis"
},
"data_sources": {
"default": [],
"items": {
"type": "string"
},
"title": "Data Sources",
"type": "array"
},
"evidence_count": {
"default": 0,
"title": "Evidence Count",
"type": "integer"
},
"investigation_depth": {
"default": "fast_path",
"title": "Investigation Depth",
"type": "string"
},
"is_llm_inference": {
"default": false,
"title": "Is Llm Inference",
"type": "boolean"
}
},
"title": "ConfidenceWhy",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”2 endpoints send or return this schema, on its own or inside another schema.
POST/api/v1/analyze— Analyze Test CaseGET/api/v1/analyze/{test_case_id}— Fetch existing AI analysis for a test case (no re-run)
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON