TestHistoryAI
Fields
10 fields
analysis_mode- string or null
category- string or null
confidence- integer or null
is_flaky- boolean
model- string or null
requires_human_review- boolean
root_cause_excerpt- string
root_cause_sha- string or null
test_id· required- string
version_count- integer
Raw schema (JSON)
{
"properties": {
"analysis_mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Analysis Mode"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Category"
},
"confidence": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Confidence"
},
"is_flaky": {
"default": false,
"title": "Is Flaky",
"type": "boolean"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Model"
},
"requires_human_review": {
"default": false,
"title": "Requires Human Review",
"type": "boolean"
},
"root_cause_excerpt": {
"default": "",
"title": "Root Cause Excerpt",
"type": "string"
},
"root_cause_sha": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Root Cause Sha"
},
"test_id": {
"title": "Test Id",
"type": "string"
},
"version_count": {
"default": 0,
"title": "Version Count",
"type": "integer"
}
},
"required": [
"test_id"
],
"title": "TestHistoryAI",
"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}/tests/{test_id}/history— Get Test Case History Endpoint
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON