TestCaseHistoryResponse
Fields
Wrapper for GET /runs/{run_id}/tests/{test_id}/history.
10 fields
ai_changes- array of TestHistoryAIChange
baseline- TestDurationBaselineResponse or null
duration_stats- TestCaseDurationStatsResponse or null
flakiness· required- TestCaseFlakinessResponse
history- array of TestCaseHistoryPointResponse
metadata· required- TestCaseMetadataResponse
run_id· required- string
test_fingerprint- string or null
test_id· required- string
test_name· required- string
Raw schema (JSON)
{
"description": "Wrapper for GET /runs/{run_id}/tests/{test_id}/history.",
"properties": {
"ai_changes": {
"default": [],
"items": {
"$ref": "#/components/schemas/TestHistoryAIChange"
},
"title": "Ai Changes",
"type": "array"
},
"baseline": {
"anyOf": [
{
"$ref": "#/components/schemas/TestDurationBaselineResponse"
},
{
"type": "null"
}
]
},
"duration_stats": {
"anyOf": [
{
"$ref": "#/components/schemas/TestCaseDurationStatsResponse"
},
{
"type": "null"
}
]
},
"flakiness": {
"$ref": "#/components/schemas/TestCaseFlakinessResponse"
},
"history": {
"default": [],
"items": {
"$ref": "#/components/schemas/TestCaseHistoryPointResponse"
},
"title": "History",
"type": "array"
},
"metadata": {
"$ref": "#/components/schemas/TestCaseMetadataResponse"
},
"run_id": {
"title": "Run Id",
"type": "string"
},
"test_fingerprint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Test Fingerprint"
},
"test_id": {
"title": "Test Id",
"type": "string"
},
"test_name": {
"title": "Test Name",
"type": "string"
}
},
"required": [
"run_id",
"test_id",
"test_name",
"flakiness",
"metadata"
],
"title": "TestCaseHistoryResponse",
"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”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON