TestCaseSummary
Fields
15 fields
assigned_to_user_id- string (uuid) or null
class_name- string or null
created_at· required- string (date-time)
duration_ms- integer or null
failure_category- string or null
failure_kind· required- string or null
Derived failure-kind triad: product / test_code / infrastructure / unknown. AI-derived from the stored
failure_category+ the FAILED-vs-BROKEN status distinction — seeapp/services/failure_kind.pyfor the mapping rationale. None for non-failing rows (a kind only makes sense for failures). feature- string or null
has_attachments- boolean
id· required- string (uuid)
severity- string or null
status· required- TestStatus
step_count- integer or null
suite_name- string or null
test_name· required- string
test_run_id· required- string (uuid)
Raw schema (JSON)
{
"properties": {
"assigned_to_user_id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Assigned To User Id"
},
"class_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Class Name"
},
"created_at": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"duration_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Duration Ms"
},
"failure_category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Failure Category"
},
"failure_kind": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Derived failure-kind triad (US-9.1): product / test_code /\ninfrastructure / unknown. AI-derived from the stored\n``failure_category`` + the FAILED-vs-BROKEN status distinction —\nsee ``app/services/failure_kind.py`` for the mapping rationale.\nNone for non-failing rows (a kind only makes sense for failures).",
"readOnly": true,
"title": "Failure Kind"
},
"feature": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Feature"
},
"has_attachments": {
"default": false,
"title": "Has Attachments",
"type": "boolean"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"severity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Severity"
},
"status": {
"$ref": "#/components/schemas/TestStatus"
},
"step_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Step Count"
},
"suite_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Suite Name"
},
"test_name": {
"title": "Test Name",
"type": "string"
},
"test_run_id": {
"format": "uuid",
"title": "Test Run Id",
"type": "string"
}
},
"required": [
"id",
"test_run_id",
"test_name",
"status",
"created_at",
"failure_kind"
],
"title": "TestCaseSummary",
"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— List Test Cases
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON