RunCompareResponse
Fields
26 fields
ai_analysis_diff- AIAnalysisDiffBrief or null
ai_report- RunCompareAIReport or null
delta_broken- integer
delta_duration_ms- integer or null
delta_failed- integer
delta_pass_rate- number or null
delta_passed- integer
delta_skipped- integer
delta_total- integer
duration_spikes- integer
fixed- integer
improved- integer
left· required- RunCompareSummary
new_failures- integer
new_tests- integer
regressed- integer
removed_tests- integer
renamed- integer
right· required- RunCompareSummary
scope- string
selection- RunCompareSelection or null
still_failing- integer
suite_name- string or null
test_deltas- array of RunCompareTestDelta
transitions- array of RunCompareTransition
truncated- boolean
Raw schema (JSON)
{
"properties": {
"ai_analysis_diff": {
"anyOf": [
{
"$ref": "#/components/schemas/AIAnalysisDiffBrief"
},
{
"type": "null"
}
]
},
"ai_report": {
"anyOf": [
{
"$ref": "#/components/schemas/RunCompareAIReport"
},
{
"type": "null"
}
]
},
"delta_broken": {
"default": 0,
"title": "Delta Broken",
"type": "integer"
},
"delta_duration_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Delta Duration Ms"
},
"delta_failed": {
"default": 0,
"title": "Delta Failed",
"type": "integer"
},
"delta_pass_rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Delta Pass Rate"
},
"delta_passed": {
"default": 0,
"title": "Delta Passed",
"type": "integer"
},
"delta_skipped": {
"default": 0,
"title": "Delta Skipped",
"type": "integer"
},
"delta_total": {
"default": 0,
"title": "Delta Total",
"type": "integer"
},
"duration_spikes": {
"default": 0,
"title": "Duration Spikes",
"type": "integer"
},
"fixed": {
"default": 0,
"title": "Fixed",
"type": "integer"
},
"improved": {
"default": 0,
"title": "Improved",
"type": "integer"
},
"left": {
"$ref": "#/components/schemas/RunCompareSummary"
},
"new_failures": {
"default": 0,
"title": "New Failures",
"type": "integer"
},
"new_tests": {
"default": 0,
"title": "New Tests",
"type": "integer"
},
"regressed": {
"default": 0,
"title": "Regressed",
"type": "integer"
},
"removed_tests": {
"default": 0,
"title": "Removed Tests",
"type": "integer"
},
"renamed": {
"default": 0,
"title": "Renamed",
"type": "integer"
},
"right": {
"$ref": "#/components/schemas/RunCompareSummary"
},
"scope": {
"default": "run",
"enum": [
"run",
"suite"
],
"title": "Scope",
"type": "string"
},
"selection": {
"anyOf": [
{
"$ref": "#/components/schemas/RunCompareSelection"
},
{
"type": "null"
}
]
},
"still_failing": {
"default": 0,
"title": "Still Failing",
"type": "integer"
},
"suite_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Suite Name"
},
"test_deltas": {
"items": {
"$ref": "#/components/schemas/RunCompareTestDelta"
},
"title": "Test Deltas",
"type": "array"
},
"transitions": {
"items": {
"$ref": "#/components/schemas/RunCompareTransition"
},
"title": "Transitions",
"type": "array"
},
"truncated": {
"default": false,
"title": "Truncated",
"type": "boolean"
}
},
"required": [
"left",
"right"
],
"title": "RunCompareResponse",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”2 endpoints send or return this schema, on its own or inside another schema.
GET/api/v1/runs/compare— Compare Two RunsGET/api/v1/runs/compare/latest— Compare Latest Suite Runs
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON