RunCompareSummary
Fields
One side of the compare view — the subset of TestRun fields used by the diff UI. Kept tiny so the JSON payload is fast even on big runs.
18 fields
branch- string or null
broken_tests- integer
build_number- string or null
commit_hash- string or null
duration_ms- integer or null
end_time- string (date-time) or null
failed_tests- integer
id· required- string (uuid)
pass_rate- number or null
passed_tests- integer
primary_suite_name- string or null
project_id· required- string (uuid)
skipped_tests- integer
start_time- string (date-time) or null
status- string or null
suite_names- array of string or null
total_tests- integer
unknown_tests- integer
Raw schema (JSON)
{
"description": "One side of the compare view — the subset of TestRun fields used\nby the diff UI. Kept tiny so the JSON payload is fast even on big runs.",
"properties": {
"branch": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Branch"
},
"broken_tests": {
"default": 0,
"title": "Broken Tests",
"type": "integer"
},
"build_number": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Build Number"
},
"commit_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Commit Hash"
},
"duration_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Duration Ms"
},
"end_time": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "End Time"
},
"failed_tests": {
"default": 0,
"title": "Failed Tests",
"type": "integer"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"pass_rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Pass Rate"
},
"passed_tests": {
"default": 0,
"title": "Passed Tests",
"type": "integer"
},
"primary_suite_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Primary Suite Name"
},
"project_id": {
"format": "uuid",
"title": "Project Id",
"type": "string"
},
"skipped_tests": {
"default": 0,
"title": "Skipped Tests",
"type": "integer"
},
"start_time": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Start Time"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Status"
},
"suite_names": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Suite Names"
},
"total_tests": {
"default": 0,
"title": "Total Tests",
"type": "integer"
},
"unknown_tests": {
"default": 0,
"title": "Unknown Tests",
"type": "integer"
}
},
"required": [
"id",
"project_id"
],
"title": "RunCompareSummary",
"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”More details
Section titled “More details”- Specification: OpenAPI JSON