LiveEvent
Fields
A single test execution event from a client machine.
16 fields
call_ms- integer or null
The test body's own time, ms (0..24 h).
class_name- string or null
duration_ms- integer or null
error_message- string or null
event_type· required- string
Run_start | test_start | test_result | log | metric | run_complete | live_heartbeat. live_heartbeat is a no-op refresh emitted by SDK clients during long inter-test gaps — it only bumps the Redis last_event_at field so the reaper doesn't close the session as idle.
metadata- object or null
setup_ms- integer or null
Fixture / before-hook time of this test, ms (0..24 h).
stack_trace- string or null
started_at_ms- integer or null
Client epoch ms when the test started (its setup included), sent on test_result.
status- string or null
PASSED | FAILED | SKIPPED | BROKEN
suite_name- string or null
tags- array of string or null
teardown_ms- integer or null
Fixture / after-hook time of this test, ms (0..24 h).
test_name- string or null
timestamp_ms- integer or null
worker_id- string or null
The parallel worker / runner slot that ran the test (at most 64 characters).
Raw schema (JSON)
{
"description": "A single test execution event from a client machine.",
"properties": {
"call_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "The test body's own time, ms (0..24 h).",
"title": "Call Ms"
},
"class_name": {
"anyOf": [
{
"maxLength": 500,
"type": "string"
},
{
"type": "null"
}
],
"title": "Class Name"
},
"duration_ms": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"title": "Duration Ms"
},
"error_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Error Message"
},
"event_type": {
"description": "run_start | test_start | test_result | log | metric | run_complete | live_heartbeat. live_heartbeat is a no-op refresh emitted by SDK clients during long inter-test gaps — it only bumps the Redis last_event_at field so the reaper doesn't close the session as idle.",
"title": "Event Type",
"type": "string"
},
"metadata": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Metadata"
},
"setup_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Fixture / before-hook time of this test, ms (0..24 h).",
"title": "Setup Ms"
},
"stack_trace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Stack Trace"
},
"started_at_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Client epoch ms when the test started (its setup included), sent on test_result.",
"title": "Started At Ms"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "PASSED | FAILED | SKIPPED | BROKEN",
"title": "Status"
},
"suite_name": {
"anyOf": [
{
"maxLength": 500,
"type": "string"
},
{
"type": "null"
}
],
"title": "Suite Name"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Tags"
},
"teardown_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Fixture / after-hook time of this test, ms (0..24 h).",
"title": "Teardown Ms"
},
"test_name": {
"anyOf": [
{
"maxLength": 1000,
"type": "string"
},
{
"type": "null"
}
],
"title": "Test Name"
},
"timestamp_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Timestamp Ms"
},
"worker_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The parallel worker / runner slot that ran the test (at most 64 characters).",
"title": "Worker Id"
}
},
"required": [
"event_type"
],
"title": "LiveEvent",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”2 endpoints send or return this schema, on its own or inside another schema.
POST/api/v1/stream/events/batch— Ingest Event BatchPOST/api/v1/stream/ingest— Ingest Via Api Key
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON