http
GET /runs/{run_id}/eventsRead run event details: errors, steps, model calls and tool results, paginated by canonical UUID; MODEL_CALL_COMPLETED reports per-call usage.
Servers
JSON
[ { "url": "https://api.veryfront.com" }]Authentication
JSON
[ { "bearerAuth": [] }, { "apiKeyAuth": [] }, { "runExecutionAuth": [] }]JSON
{ "bearerAuth": { "type": "http", "scheme": "bearer", "bearerFormat": "JWT or API Key", "description": "Use a JWT bearer token or a Veryfront API key in the `Authorization` header." }, "apiKeyAuth": { "type": "apiKey", "in": "header", "name": "X-API-Key", "description": "Alternative API key header for `vf_<prefix>_<secret>` tokens." }, "runExecutionAuth": { "type": "http", "scheme": "bearer", "bearerFormat": "JWT", "description": "Server-issued credential bound to project, run, registered runtime, execution generation, audience, expiry, and explicitly allowed operations; user/API-key editor access is insufficient." }}Parameters
Parameter contracts
JSON
[ { "schema": { "type": "string", "minLength": 1, "description": "Run UUID, or the public run id (run_…) that run lists and getRun carry as run_id. Normal callers need access to the run owner and project.runs.read. A bound eval runtime may instead read its authorized direct agent child." }, "required": true, "description": "Run UUID, or the public run id (run_…) that run lists and getRun carry as run_id. Normal callers need access to the run owner and project.runs.read. A bound eval runtime may instead read its authorized direct agent child.", "name": "run_id", "in": "path" }, { "schema": { "anyOf": [ { "type": "string", "enum": [ "run-events-v1" ], "description": "Use `run-events-v1` to receive Agent Events Protocol CloudEvents with opaque page cursors. Omit it to keep the released run-event row contract." }, { "type": "string", "enum": [ "canonical-v1" ] } ], "description": "Use `run-events-v1` to receive Agent Events Protocol CloudEvents with opaque page cursors. Omit it to keep the released run-event row contract." }, "required": false, "description": "Use `run-events-v1` to receive Agent Events Protocol CloudEvents with opaque page cursors. Omit it to keep the released run-event row contract.", "name": "event_representation", "in": "query" }, { "schema": { "type": "string", "description": "The previous page’s continuation cursor. Released row reads use a positive event_id. With event_representation=run-events-v1, this is the opaque `page_info.next_cursor` token from the previous target page." }, "required": false, "description": "Opaque `page_info.next` cursor. Reuse it with the same filters, sort order and descendant scope.", "name": "cursor", "in": "query" }, { "schema": { "anyOf": [ { "type": "integer", "minimum": 1, "maximum": 100, "default": 20, "description": "Maximum number of records in a page, from 1 to 100. Defaults to 20.", "format": "int32" }, { "anyOf": [ { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, { "type": "string", "pattern": "^\\d+$" } ] } ], "default": 20, "description": "Maximum number of records in a page, from 1 to 100. Defaults to 20.", "format": "int32" }, "required": false, "description": "Maximum number of records in a page, from 1 to 100. Defaults to 20.", "name": "limit", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "enum": [ "asc", "desc" ], "default": "asc", "description": "Event order by durable event id. `asc` returns older events first; `desc` returns newer events first. Defaults to `asc`." }, { "type": "string", "enum": [ "asc", "desc" ] } ], "default": "asc", "description": "Event order by durable event id. `asc` returns older events first; `desc` returns newer events first. Defaults to `asc`." }, "required": false, "description": "Event order by durable event id. `asc` returns older events first; `desc` returns newer events first. Defaults to `asc`.", "name": "sort_order", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "enum": [ "fact", "delta" ], "description": "Event class to include: `fact` for state changes or `delta` for streaming fragments. If omitted, returns both." }, { "type": "string", "enum": [ "fact", "delta" ] } ], "description": "Event class to include: `fact` for state changes or `delta` for streaming fragments. If omitted, returns both." }, "required": false, "description": "The event class associated with this record.", "name": "event_class", "in": "query" }, { "schema": { "anyOf": [ { "type": "array", "items": { "type": "string" }, "maxItems": 32 }, { "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] } ] }, "required": false, "description": "Filter by event_type. Repeat the query parameter for multiple values; comma-separated values remain a compatibility alias. Values within this filter use OR; different filters use AND.", "style": "form", "explode": true, "name": "event_type", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "description": "If true, returns only events with `is_error: true`. If false, returns other events. If omitted, returns both.", "enum": [ "true", "false" ] }, { "anyOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false" ] } ] } ], "description": "If true, returns only events with `is_error: true`. If false, returns other events. If omitted, returns both." }, "required": false, "description": "If true, returns only events with `is_error: true`. If false, returns other events. If omitted, returns both.", "name": "is_error", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "format": "date-time", "description": "Only events created at or after this instant (ISO 8601 with a UTC offset, inclusive). A summary bucket start can be sent as is." }, { "type": "string" } ], "description": "Only events created at or after this instant (ISO 8601 with a UTC offset, inclusive). A summary bucket start can be sent as is." }, "required": false, "description": "Only events created at or after this instant (ISO 8601 with a UTC offset, inclusive). A summary bucket start can be sent as is.", "name": "start", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "format": "date-time", "description": "Only events created before this instant (ISO 8601 with a UTC offset, exclusive). Must be later than start. A summary bucket end can be sent as is." }, { "type": "string" } ], "description": "Only events created before this instant (ISO 8601 with a UTC offset, exclusive). Must be later than start. A summary bucket end can be sent as is." }, "required": false, "description": "Only events created before this instant (ISO 8601 with a UTC offset, exclusive). Must be later than start. A summary bucket end can be sent as is.", "name": "end", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "minLength": 1, "description": "Only events whose envelope span_id, as served to the caller, is exactly this value (tool:<id>, message:<id>, step:<id>, input_request:<id>, run:<id>, with a non-empty <id>)." }, { "type": "string" } ], "description": "Only events whose envelope span_id, as served to the caller, is exactly this value (tool:<id>, message:<id>, step:<id>, input_request:<id>, run:<id>, with a non-empty <id>)." }, "required": false, "description": "Only events whose envelope span_id, as served to the caller, is exactly this value (tool:<id>, message:<id>, step:<id>, input_request:<id>, run:<id>, with a non-empty <id>).", "name": "span_id", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "minLength": 1, "description": "Only events whose envelope turn_id, as served to the caller, is exactly this value (message:<id>, with a non-empty <id>)." }, { "type": "string" } ], "description": "Only events whose envelope turn_id, as served to the caller, is exactly this value (message:<id>, with a non-empty <id>)." }, "required": false, "description": "Only events whose envelope turn_id, as served to the caller, is exactly this value (message:<id>, with a non-empty <id>).", "name": "turn_id", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "minLength": 1, "maxLength": 200, "description": "Case-insensitive substring of the event payload JSON as served to the caller (1-200 characters after trimming, matched literally)." }, { "type": "string" } ], "description": "Case-insensitive substring of the event payload JSON as served to the caller (1-200 characters after trimming, matched literally)." }, "required": false, "description": "Case-insensitive substring of the event payload JSON as served to the caller (1-200 characters after trimming, matched literally).", "name": "search", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "description": "If true, includes events from readable descendant runs, up to 16 generations. Results share one `event_id` order and cursor. Each event retains its `run_id` and the payload visibility permitted for that run. Runs the caller cannot read are excluded. Defaults to false.\n\nIf at least one descendant is included, task or workflow runs without stored events do not contribute synthetic lifecycle events. Event IDs are allocated before commit. During active writes, ascending pagination can pass an ID that another run commits later.", "enum": [ "true", "false" ], "default": "false" }, { "anyOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false" ] } ] } ], "default": "false", "description": "If true, includes events from readable descendant runs, up to 16 generations. Results share one `event_id` order and cursor. Each event retains its `run_id` and the payload visibility permitted for that run. Runs the caller cannot read are excluded. Defaults to false.\n\nIf at least one descendant is included, task or workflow runs without stored events do not contribute synthetic lifecycle events. Event IDs are allocated before commit. During active writes, ascending pagination can pass an ID that another run commits later." }, "required": false, "description": "If true, includes events from readable descendant runs, up to 16 generations. Results share one `event_id` order and cursor. Each event retains its `run_id` and the payload visibility permitted for that run. Runs the caller cannot read are excluded. Defaults to false.\n\nIf at least one descendant is included, task or workflow runs without stored events do not contribute synthetic lifecycle events. Event IDs are allocated before commit. During active writes, ascending pagination can pass an ID that another run commits later.", "name": "include_descendants", "in": "query" }, { "schema": { "anyOf": [ { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, { "type": "string", "pattern": "^\\d+$" }, { "type": "null" } ] }, "required": false, "name": "after_event_id", "in": "query" }, { "schema": { "type": "string", "enum": [ "run-events-descendants-v1" ] }, "required": false, "name": "cursor_profile", "in": "query" }]Responses
200
Run events. Editors read diagnostic payloads; viewers read public ones.
JSON
{ "description": "Run events. Editors read diagnostic payloads; viewers read public ones.", "content": { "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/ListRunEventsResponse" }, { "$ref": "#/components/schemas/TargetRunEventsResponse" }, { "type": "object", "properties": { "entries": { "type": "array", "items": { "oneOf": [ { "type": "object", "properties": { "kind": { "type": "string", "enum": [ "canonical" ] }, "event": { "type": "object", "properties": { "specversion": { "type": "string", "enum": [ "1.0" ] }, "vfversion": { "type": "string", "enum": [ "1" ] }, "id": { "type": "string" }, "source": { "type": "string" }, "subject": { "type": "string", "minLength": 1 }, "type": { "type": "string", "minLength": 1 }, "datacontenttype": { "type": "string", "enum": [ "application/json" ] }, "dataschema": { "type": "string" }, "data": { "type": "object", "additionalProperties": {} }, "runid": { "type": "string", "minLength": 1 }, "recordedat": { "type": "string", "format": "date-time" } }, "required": [ "specversion", "vfversion", "id", "source", "subject", "type", "datacontenttype", "dataschema", "data", "runid", "recordedat" ], "additionalProperties": {} }, "metadata": { "type": "object", "properties": { "event_id": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "run_id": { "type": "string", "minLength": 1 }, "storage": { "type": "string", "enum": [ "persisted" ] }, "view": { "type": "string", "enum": [ "public", "diagnostic" ] }, "recorded_at": { "type": "string", "format": "date-time" }, "event_class": { "type": [ "string", "null" ], "enum": [ "fact", "delta", null ] }, "is_error": { "type": [ "boolean", "null" ] }, "span_id": { "type": [ "string", "null" ], "minLength": 1 }, "turn_id": { "type": [ "string", "null" ], "minLength": 1 }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "origin": {} }, "required": [ "event_id", "run_id", "storage", "view", "recorded_at", "event_class", "is_error", "span_id", "turn_id", "unrecoverable_fields" ], "additionalProperties": false } }, "required": [ "kind", "event", "metadata" ], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "enum": [ "legacy" ] }, "reason": { "type": "string", "enum": [ "unknown_type", "reserved_type", "blocked_type", "unclassified_outcome", "unclassified_request", "unclassified_dispatch", "malformed_payload", "discriminator_conflict", "unavailable_converter", "derived_history", "unprojectable_view" ] }, "legacy": { "type": "object", "properties": { "event_type": { "type": "string", "minLength": 1 }, "payload": {} }, "required": [ "event_type", "payload" ], "additionalProperties": false }, "metadata": { "type": "object", "properties": { "event_id": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "run_id": { "type": "string", "minLength": 1 }, "storage": { "type": "string", "enum": [ "persisted", "derived" ] }, "view": { "type": "string", "enum": [ "public", "diagnostic" ] }, "recorded_at": { "type": [ "string", "null" ], "format": "date-time" }, "event_class": { "type": [ "string", "null" ], "enum": [ "fact", "delta", null ] }, "is_error": { "type": [ "boolean", "null" ] }, "span_id": { "type": [ "string", "null" ], "minLength": 1 }, "turn_id": { "type": [ "string", "null" ], "minLength": 1 }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "origin": {} }, "required": [ "event_id", "run_id", "storage", "view", "recorded_at", "event_class", "is_error", "span_id", "turn_id", "unrecoverable_fields" ], "additionalProperties": false } }, "required": [ "kind", "reason", "legacy", "metadata" ], "additionalProperties": false } ] }, "maxItems": 100 }, "next_cursor": { "type": [ "string", "null" ] }, "has_more": { "type": "boolean" } }, "required": [ "entries", "next_cursor", "has_more" ], "additionalProperties": false }, { "type": "object", "properties": { "cursor_profile": { "type": "string", "enum": [ "run-events-descendants-v1" ] }, "entries": { "type": "array", "items": { "oneOf": [ { "type": "object", "properties": { "kind": { "type": "string", "enum": [ "canonical" ] }, "event": { "type": "object", "properties": { "specversion": { "type": "string", "enum": [ "1.0" ] }, "vfversion": { "type": "string", "enum": [ "1" ] }, "id": { "type": "string" }, "source": { "type": "string" }, "subject": { "type": "string", "minLength": 1 }, "type": { "type": "string", "minLength": 1 }, "datacontenttype": { "type": "string", "enum": [ "application/json" ] }, "dataschema": { "type": "string" }, "data": { "type": "object", "additionalProperties": {} }, "runid": { "type": "string", "minLength": 1 }, "recordedat": { "type": "string", "format": "date-time" } }, "required": [ "specversion", "vfversion", "id", "source", "subject", "type", "datacontenttype", "dataschema", "data", "runid", "recordedat" ], "additionalProperties": {} }, "metadata": { "type": "object", "properties": { "event_id": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "run_id": { "type": "string", "minLength": 1 }, "storage": { "type": "string", "enum": [ "persisted" ] }, "view": { "type": "string", "enum": [ "public", "diagnostic" ] }, "recorded_at": { "type": "string", "format": "date-time" }, "event_class": { "type": [ "string", "null" ], "enum": [ "fact", "delta", null ] }, "is_error": { "type": [ "boolean", "null" ] }, "span_id": { "type": [ "string", "null" ], "minLength": 1 }, "turn_id": { "type": [ "string", "null" ], "minLength": 1 }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "origin": {} }, "required": [ "event_id", "run_id", "storage", "view", "recorded_at", "event_class", "is_error", "span_id", "turn_id", "unrecoverable_fields" ], "additionalProperties": false } }, "required": [ "kind", "event", "metadata" ], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "enum": [ "legacy" ] }, "reason": { "type": "string", "enum": [ "unknown_type", "reserved_type", "blocked_type", "unclassified_outcome", "unclassified_request", "unclassified_dispatch", "malformed_payload", "discriminator_conflict", "unavailable_converter", "derived_history", "unprojectable_view" ] }, "legacy": { "type": "object", "properties": { "event_type": { "type": "string", "minLength": 1 }, "payload": {} }, "required": [ "event_type", "payload" ], "additionalProperties": false }, "metadata": { "type": "object", "properties": { "event_id": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "run_id": { "type": "string", "minLength": 1 }, "storage": { "type": "string", "enum": [ "persisted", "derived" ] }, "view": { "type": "string", "enum": [ "public", "diagnostic" ] }, "recorded_at": { "type": [ "string", "null" ], "format": "date-time" }, "event_class": { "type": [ "string", "null" ], "enum": [ "fact", "delta", null ] }, "is_error": { "type": [ "boolean", "null" ] }, "span_id": { "type": [ "string", "null" ], "minLength": 1 }, "turn_id": { "type": [ "string", "null" ], "minLength": 1 }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "origin": {} }, "required": [ "event_id", "run_id", "storage", "view", "recorded_at", "event_class", "is_error", "span_id", "turn_id", "unrecoverable_fields" ], "additionalProperties": false } }, "required": [ "kind", "reason", "legacy", "metadata" ], "additionalProperties": false } ] }, "maxItems": 100 }, "next_cursor": { "type": [ "string", "null" ], "maxLength": 2048 }, "has_more": { "type": "boolean" } }, "required": [ "cursor_profile", "entries", "next_cursor", "has_more" ], "additionalProperties": false } ] }, "examples": { "example": { "summary": "Example response", "value": { "data": [ { "event_id": 42, "event_type": "MODEL_CALL_COMPLETED", "payload": { "type": "MODEL_CALL_COMPLETED", "provider": "example-provider", "model": "example-model", "inputTokens": 120, "outputTokens": 30, "cacheCreationTokens": 0, "cacheReadTokens": 0, "totalTokens": 150, "costCredits": "0.001", "latencyMs": 800, "usageCaptureStatus": "complete", "providerRequestId": "request_example", "modelCallContextEventId": null }, "is_error": false, "created_at": "2026-10-02T10:00:00Z", "run_id": "11111111-1111-4111-8111-111111111111", "event_class": "fact", "span_id": "span_example", "parent_span_id": null, "turn_id": null, "origin_event_type": "MODEL_CALL_COMPLETED", "origin_custom_name": null, "unrecoverable_fields": [] } ], "page_info": { "next": null } } } } } }}400
Canonical Events v1 refusal
JSON
{ "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 400 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } }}401
Unauthorized
JSON
{ "description": "Unauthorized", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 401 } } } ] } } }}403
Forbidden
JSON
{ "description": "Forbidden", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 403 } } } ] } } }}404
Canonical Events v1 refusal
JSON
{ "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 404 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } }}409
Canonical Events v1 refusal
JSON
{ "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 409 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } }}422
Canonical Events v1 refusal
JSON
{ "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 422 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } }}429
Rate limit exceeded
JSON
{ "description": "Rate limit exceeded", "headers": { "Retry-After": { "schema": { "type": "integer", "format": "int32", "minimum": 1 } } }, "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 429 } } } ] } } }}500
Canonical Events v1 refusal
JSON
{ "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 500 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } }}503
Service unavailable
JSON
{ "description": "Service unavailable", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 503 } } } ] } } }}Referenced contracts
components/schemas/ListRunEventsResponse
JSON
{ "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/RunEvent" } }, "page_info": { "$ref": "#/components/schemas/RunsPageInfo" } }, "required": [ "data", "page_info" ]}components/schemas/RunEvent
JSON
{ "oneOf": [ { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "RUN_STARTED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/RunStartedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_STARTED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "RUN_FINISHED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/RunFinishedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_FINISHED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "RUN_ERROR" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/RunErrorPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_ERROR" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "TEXT_MESSAGE_START" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/TextMessageStartPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TEXT_MESSAGE_START" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "TEXT_MESSAGE_CONTENT" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/TextMessageContentPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TEXT_MESSAGE_CONTENT" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "TEXT_MESSAGE_END" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/TextMessageEndPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TEXT_MESSAGE_END" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "TOOL_CALL_START" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ToolCallStartPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_START" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "TOOL_CALL_ARGS" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ToolCallArgsPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_ARGS" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "TOOL_CALL_CHUNK" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ToolCallChunkPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_CHUNK" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "TOOL_CALL_END" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ToolCallEndPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_END" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "TOOL_CALL_RESULT" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ToolCallResultPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_RESULT" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "STATE_SNAPSHOT" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/StateSnapshotPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "STATE_SNAPSHOT" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "STATE_DELTA" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/StateDeltaPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "STATE_DELTA" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "MESSAGES_SNAPSHOT" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/MessagesSnapshotPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "MESSAGES_SNAPSHOT" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "STEP_STARTED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/StepStartedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "STEP_STARTED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "STEP_FINISHED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/StepFinishedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "STEP_FINISHED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "REASONING_START" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ReasoningStartPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_START" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "REASONING_MESSAGE_START" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ReasoningMessageStartPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_MESSAGE_START" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "REASONING_MESSAGE_CONTENT" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ReasoningMessageContentPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_MESSAGE_CONTENT" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "REASONING_MESSAGE_END" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ReasoningMessageEndPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_MESSAGE_END" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "REASONING_CONTENT" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ReasoningContentPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_CONTENT" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "REASONING_END" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ReasoningEndPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_END" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "ACTIVITY_SNAPSHOT" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ActivitySnapshotPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "ACTIVITY_SNAPSHOT" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "ACTIVITY_DELTA" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ActivityDeltaPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "ACTIVITY_DELTA" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_TASK_INPUT_ACCEPTED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunTaskInputAcceptedPayload" }, { "$ref": "#/components/schemas/AgentRunTaskInputAcceptedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_TASK_INPUT_ADMITTED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunTaskInputAdmittedPayload" }, { "$ref": "#/components/schemas/AgentRunTaskInputAdmittedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_AUTHORIZATION_SEALED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunAuthorizationSealedPayload" }, { "$ref": "#/components/schemas/AgentRunAuthorizationSealedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_REQUEST_ENQUEUED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunRequestEnqueuedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_REQUEST_ENQUEUED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_DEFAULT_CHAT_START_ENQUEUED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunDefaultChatStartEnqueuedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_DEFAULT_CHAT_START_ENQUEUED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_RESULT_SUBMITTED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunToolResultSubmittedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_RESULT_SUBMITTED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_RESULT_DELIVERY_FAILED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunToolResultDeliveryFailedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_RESULT_DELIVERY_FAILED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_INTEGRATION_CONNECTION_REFUSED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunIntegrationConnectionRefusedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_INTEGRATION_CONNECTION_REFUSED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_RUNTIME_OWNER_BOUND" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunRuntimeOwnerBoundPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_RUNTIME_OWNER_BOUND" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_WORKER_EXECUTION_ACCEPTED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunWorkerExecutionAcceptedPayload" }, { "$ref": "#/components/schemas/AgentRunWorkerExecutionAcceptedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_RUNTIME_INVOKE_RETRIED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunRuntimeInvokeRetriedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_RUNTIME_INVOKE_RETRIED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_CONTEXT_COMPACTED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunContextCompactedPayload" }, { "$ref": "#/components/schemas/AgentRunContextCompactedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_EXPOSURE_CHECKPOINTED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunToolExposureCheckpointedPayload" }, { "$ref": "#/components/schemas/AgentRunToolExposureCheckpointedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_PROVIDER_REPLAY_CHECKPOINTED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunProviderReplayCheckpointedPayloadRead" }, { "$ref": "#/components/schemas/AgentRunProviderReplayCheckpointedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_PROVIDER_REPLAY_TURN_STARTED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunProviderReplayTurnStartedPayload" }, { "$ref": "#/components/schemas/AgentRunProviderReplayTurnStartedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_PROVIDER_REPLAY_TURN_FINISHED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunProviderReplayTurnFinishedPayload" }, { "$ref": "#/components/schemas/AgentRunProviderReplayTurnFinishedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_MODEL_CALL_CONTEXT_RECORDED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunModelCallContextRecordedPayloadRead" }, { "$ref": "#/components/schemas/AgentRunModelCallContextRecordedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_MODEL_CALL_PROVIDER_ATTEMPT_RECORDED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunModelCallProviderAttemptRecordedPayload" }, { "$ref": "#/components/schemas/AgentRunModelCallProviderAttemptRecordedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_CONTROL_PLANE_DISPATCH_ACCEPTED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunControlPlaneDispatchAcceptedPayloadRead" }, { "$ref": "#/components/schemas/AgentRunControlPlaneDispatchAcceptedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_DETACHED_ACCEPTED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunDetachedAcceptedPayload" }, { "$ref": "#/components/schemas/AgentRunDetachedAcceptedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_INVOKE_AGENT_BILLING_MODE_RETAINED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunInvokeAgentBillingModeRetainedPayload" }, { "$ref": "#/components/schemas/AgentRunInvokeAgentBillingModeRetainedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_BILLING_USAGE_RETAINED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunBillingUsageRetainedPayload" }, { "$ref": "#/components/schemas/AgentRunBillingUsageRetainedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_REPLAYED_UPLOADS_SEALED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunReplayedUploadsSealedPayload" }, { "$ref": "#/components/schemas/AgentRunReplayedUploadsSealedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_CALL_ADMITTED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunToolCallAdmittedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_CALL_ADMITTED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_REQUEST_PROVENANCE_RECORDED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunRequestProvenanceRecordedPayload" }, { "$ref": "#/components/schemas/AgentRunRequestProvenanceRecordedPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_EXECUTION_START_OBSERVED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunExecutionStartObservedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_EXECUTION_START_OBSERVED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "TOOL_CALL_STATUS_CHANGED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ToolCallStatusChangedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_STATUS_CHANGED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "INPUT_REQUEST_CREATED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/InputRequestCreatedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "INPUT_REQUEST_CREATED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "INPUT_REQUEST_UPDATED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/InputRequestUpdatedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "INPUT_REQUEST_UPDATED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "CHILD_RUN_STATUS_CHANGED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ChildRunStatusChangedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "CHILD_RUN_STATUS_CHANGED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "MODEL_CALL_COMPLETED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/ModelCallCompletedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "MODEL_CALL_COMPLETED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "RUN_PARKED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/RunParkedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_PARKED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "RUN_LOG_CAPTURED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/RunLogCapturedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_LOG_CAPTURED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "STREAM_HEARTBEAT_EMITTED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/StreamHeartbeatEmittedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "STREAM_HEARTBEAT_EMITTED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "URL_CITED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/UrlCitedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "URL_CITED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "DOCUMENT_CITED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/DocumentCitedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "DOCUMENT_CITED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "FILE_ATTACHED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/FileAttachedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "FILE_ATTACHED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "FILES_CHANGED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/FilesChangedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "FILES_CHANGED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "RUNTIME_EVENT_RECORDED" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/RuntimeEventRecordedPayload" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUNTIME_EVENT_RECORDED" ] } }, "required": [ "type" ], "additionalProperties": false } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_CONTROL_PLANE_DISPATCH_RECEIPT" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunControlPlaneDispatchReceiptPayload" }, { "$ref": "#/components/schemas/AgentRunControlPlaneDispatchReceiptPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_EXPOSURE_CHECKPOINT" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunToolExposureCheckpointPayload" }, { "$ref": "#/components/schemas/AgentRunToolExposureCheckpointPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_PROVIDER_REPLAY_CHECKPOINT" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunProviderReplayCheckpointPayloadRead" }, { "$ref": "#/components/schemas/AgentRunProviderReplayCheckpointPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "enum": [ "AGENT_RUN_MODEL_CALL_CONTEXT" ] }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/AgentRunModelCallContextPayload" }, { "$ref": "#/components/schemas/AgentRunModelCallContextPayloadRedacted" } ] }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false }, { "type": "object", "properties": { "event_id": { "type": "integer", "minimum": 0 }, "event_type": { "type": "string", "not": { "enum": [ "RUN_STARTED", "RUN_FINISHED", "RUN_ERROR", "TEXT_MESSAGE_START", "TEXT_MESSAGE_CONTENT", "TEXT_MESSAGE_END", "TOOL_CALL_START", "TOOL_CALL_ARGS", "TOOL_CALL_CHUNK", "TOOL_CALL_END", "TOOL_CALL_RESULT", "STATE_SNAPSHOT", "STATE_DELTA", "MESSAGES_SNAPSHOT", "STEP_STARTED", "STEP_FINISHED", "REASONING_START", "REASONING_MESSAGE_START", "REASONING_MESSAGE_CONTENT", "REASONING_MESSAGE_END", "REASONING_CONTENT", "REASONING_END", "ACTIVITY_SNAPSHOT", "ACTIVITY_DELTA", "AGENT_RUN_TASK_INPUT_ACCEPTED", "AGENT_RUN_TASK_INPUT_ADMITTED", "AGENT_RUN_AUTHORIZATION_SEALED", "AGENT_RUN_REQUEST_ENQUEUED", "AGENT_RUN_DEFAULT_CHAT_START_ENQUEUED", "AGENT_RUN_TOOL_RESULT_SUBMITTED", "AGENT_RUN_TOOL_RESULT_DELIVERY_FAILED", "AGENT_RUN_INTEGRATION_CONNECTION_REFUSED", "AGENT_RUN_RUNTIME_OWNER_BOUND", "AGENT_RUN_WORKER_EXECUTION_ACCEPTED", "AGENT_RUN_RUNTIME_INVOKE_RETRIED", "AGENT_RUN_CONTEXT_COMPACTED", "AGENT_RUN_TOOL_EXPOSURE_CHECKPOINTED", "AGENT_RUN_PROVIDER_REPLAY_CHECKPOINTED", "AGENT_RUN_PROVIDER_REPLAY_TURN_STARTED", "AGENT_RUN_PROVIDER_REPLAY_TURN_FINISHED", "AGENT_RUN_MODEL_CALL_CONTEXT_RECORDED", "AGENT_RUN_MODEL_CALL_PROVIDER_ATTEMPT_RECORDED", "AGENT_RUN_CONTROL_PLANE_DISPATCH_ACCEPTED", "AGENT_RUN_DETACHED_ACCEPTED", "AGENT_RUN_INVOKE_AGENT_BILLING_MODE_RETAINED", "AGENT_RUN_BILLING_USAGE_RETAINED", "AGENT_RUN_REPLAYED_UPLOADS_SEALED", "AGENT_RUN_TOOL_CALL_ADMITTED", "AGENT_RUN_REQUEST_PROVENANCE_RECORDED", "AGENT_RUN_EXECUTION_START_OBSERVED", "TOOL_CALL_STATUS_CHANGED", "INPUT_REQUEST_CREATED", "INPUT_REQUEST_UPDATED", "CHILD_RUN_STATUS_CHANGED", "MODEL_CALL_COMPLETED", "RUN_PARKED", "RUN_LOG_CAPTURED", "STREAM_HEARTBEAT_EMITTED", "URL_CITED", "DOCUMENT_CITED", "FILE_ATTACHED", "FILES_CHANGED", "RUNTIME_EVENT_RECORDED", "AGENT_RUN_CONTROL_PLANE_DISPATCH_RECEIPT", "AGENT_RUN_TOOL_EXPOSURE_CHECKPOINT", "AGENT_RUN_PROVIDER_REPLAY_CHECKPOINT", "AGENT_RUN_MODEL_CALL_CONTEXT" ] } }, "payload": { "description": "Payload of an unrecognized historical or future event." }, "is_error": { "type": "boolean" }, "created_at": { "type": "string" }, "run_id": { "type": "string", "format": "uuid", "description": "Run identifier associated with the record." }, "event_class": { "type": "string", "enum": [ "fact", "delta" ], "description": "The event class associated with this record." }, "span_id": { "type": "string", "minLength": 1, "description": "The span id associated with this record." }, "parent_span_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The parent span id associated with this record." }, "turn_id": { "type": [ "string", "null" ], "minLength": 1, "description": "The turn id associated with this record." }, "origin_event_type": { "type": "string", "minLength": 1, "description": "The origin event type associated with this record." }, "origin_custom_name": { "type": [ "string", "null" ], "minLength": 1, "description": "The origin custom name associated with this record." }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1, "description": "One unrecoverable field item associated with this record." }, "description": "List of unrecoverable fields associated with this record." } }, "required": [ "event_id", "event_type", "payload", "is_error", "created_at", "run_id", "event_class", "span_id", "parent_span_id", "turn_id", "origin_event_type", "origin_custom_name", "unrecoverable_fields" ], "additionalProperties": false } ]}components/schemas/RunStartedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_STARTED" ] }, "runId": { "type": "string", "minLength": 1 } }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_STARTED" ] } }, "required": [ "type" ] } ]}components/schemas/RunFinishedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_FINISHED" ] }, "runId": { "type": "string", "minLength": 1 }, "metadata": { "type": "object", "additionalProperties": {} } }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_FINISHED" ] } }, "required": [ "type" ] } ]}components/schemas/RunErrorPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_ERROR" ] }, "runId": { "type": "string", "minLength": 1 }, "code": { "type": "string", "minLength": 1 }, "message": { "type": "string" }, "metadata": { "type": "object", "additionalProperties": {} } }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_ERROR" ] } }, "required": [ "type" ] } ]}components/schemas/TextMessageStartPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "TEXT_MESSAGE_START" ] }, "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "role": { "type": "string" } }, "required": [ "type", "messageId", "contentId" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TEXT_MESSAGE_START" ] }, "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "role": { "type": "string" } }, "required": [ "type", "messageId", "contentId" ] } ]}components/schemas/TextMessageContentPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "TEXT_MESSAGE_CONTENT" ] }, "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "delta": { "type": "string" } }, "required": [ "type", "messageId", "delta" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TEXT_MESSAGE_CONTENT" ] }, "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "delta": { "type": "string" } }, "required": [ "type", "messageId", "contentId", "delta" ] } ]}components/schemas/TextMessageEndPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "TEXT_MESSAGE_END" ] }, "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 } }, "required": [ "type", "messageId" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TEXT_MESSAGE_END" ] }, "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 } }, "required": [ "type", "messageId", "contentId" ] } ]}components/schemas/ToolCallStartPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_START" ] }, "toolCallId": { "type": "string", "minLength": 1 }, "toolCallName": { "type": "string", "minLength": 1 }, "startObservedFromResult": { "type": "boolean", "enum": [ true ] }, "parentMessageId": { "type": "string", "minLength": 1 } }, "required": [ "type", "toolCallId", "toolCallName" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_START" ] }, "toolCallId": { "type": "string", "minLength": 1 }, "toolCallName": { "type": "string", "minLength": 1 }, "startObservedFromResult": { "type": "boolean", "enum": [ true ] } }, "required": [ "type", "toolCallId", "toolCallName" ] } ]}components/schemas/ToolCallArgsPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_ARGS" ] }, "toolCallId": { "type": "string", "minLength": 1 }, "delta": { "type": "string" } }, "required": [ "type", "toolCallId", "delta" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_ARGS" ] }, "toolCallId": { "type": "string", "minLength": 1 }, "delta": { "type": "string" } }, "required": [ "type", "toolCallId", "delta" ] } ]}components/schemas/ToolCallChunkPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_CHUNK" ] }, "toolCallId": { "type": "string", "minLength": 1 }, "delta": { "type": "string" } }, "required": [ "type", "toolCallId", "delta" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_CHUNK" ] }, "toolCallId": { "type": "string", "minLength": 1 }, "delta": { "type": "string" } }, "required": [ "type", "toolCallId", "delta" ] } ]}components/schemas/ToolCallEndPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_END" ] }, "toolCallId": { "type": "string", "minLength": 1 } }, "required": [ "type", "toolCallId" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_END" ] }, "toolCallId": { "type": "string", "minLength": 1 } }, "required": [ "type", "toolCallId" ] } ]}components/schemas/ToolCallResultPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_RESULT" ] }, "toolCallId": { "type": "string", "minLength": 1 }, "messageId": { "type": "string", "minLength": 1 }, "parentMessageId": { "type": "string", "minLength": 1 }, "content": {}, "isError": { "type": [ "boolean", "null" ] }, "role": { "type": "string", "enum": [ "tool" ] } }, "required": [ "type", "toolCallId", "isError" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_RESULT" ] }, "messageId": { "type": "string", "minLength": 1 }, "parentMessageId": { "type": "string", "minLength": 1 }, "toolCallId": { "type": "string", "minLength": 1 }, "input": {}, "content": {}, "result": {}, "role": { "type": "string", "enum": [ "tool" ] }, "isError": { "type": [ "boolean", "null" ] } }, "required": [ "type", "toolCallId" ] } ]}components/schemas/StateSnapshotPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "STATE_SNAPSHOT" ] }, "snapshot": { "type": "object", "additionalProperties": {} } }, "required": [ "type", "snapshot" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "STATE_SNAPSHOT" ] }, "snapshot": { "type": "object", "additionalProperties": {} } }, "required": [ "type", "snapshot" ] } ]}components/schemas/StateDeltaPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "STATE_DELTA" ] }, "delta": {} }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "STATE_DELTA" ] }, "delta": { "anyOf": [ { "type": "object", "additionalProperties": {} }, { "type": "array", "items": { "type": "object", "properties": { "op": { "type": "string", "enum": [ "add", "remove", "replace", "move", "copy", "test" ] }, "path": { "type": "string", "minLength": 1 }, "from": { "type": "string", "minLength": 1 }, "value": {} }, "required": [ "op", "path" ] } } ] } }, "required": [ "type", "delta" ] } ]}components/schemas/MessagesSnapshotPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "MESSAGES_SNAPSHOT" ] }, "messages": { "type": "array", "items": { "type": "object", "additionalProperties": {} } } }, "required": [ "type", "messages" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "MESSAGES_SNAPSHOT" ] }, "messages": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string", "minLength": 1 }, "role": { "type": "string", "minLength": 1 }, "parts": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "minLength": 1 } }, "required": [ "type" ] } }, "content": {} } } } }, "required": [ "type", "messages" ] } ]}components/schemas/StepStartedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "STEP_STARTED" ] }, "stepId": { "type": "string", "minLength": 1 }, "stepName": { "type": "string", "minLength": 1 }, "runtime": { "type": "string", "minLength": 1 } }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "STEP_STARTED" ] } }, "required": [ "type" ] } ]}components/schemas/StepFinishedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "STEP_FINISHED" ] }, "stepId": { "type": "string", "minLength": 1 }, "stepName": { "type": "string", "minLength": 1 }, "runtime": { "type": "string", "minLength": 1 }, "status": { "type": "string", "minLength": 1 } }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "STEP_FINISHED" ] } }, "required": [ "type" ] } ]}components/schemas/ReasoningStartPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_START" ] }, "messageId": { "type": "string", "minLength": 1 } }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_START" ] } }, "required": [ "type" ] } ]}components/schemas/ReasoningMessageStartPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_MESSAGE_START" ] }, "messageId": { "type": "string", "minLength": 1 } }, "required": [ "type", "messageId" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_MESSAGE_START" ] } }, "required": [ "type" ] } ]}components/schemas/ReasoningMessageContentPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_MESSAGE_CONTENT" ] }, "messageId": { "type": "string", "minLength": 1 }, "delta": { "type": "string" } }, "required": [ "type", "messageId", "delta" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_MESSAGE_CONTENT" ] } }, "required": [ "type" ] } ]}components/schemas/ReasoningMessageEndPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_MESSAGE_END" ] }, "messageId": { "type": "string", "minLength": 1 } }, "required": [ "type", "messageId" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_MESSAGE_END" ] } }, "required": [ "type" ] } ]}components/schemas/ReasoningContentPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_CONTENT" ] }, "messageId": { "type": "string", "minLength": 1 }, "delta": { "type": "string" } }, "required": [ "type", "delta" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_CONTENT" ] } }, "required": [ "type" ] } ]}components/schemas/ReasoningEndPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_END" ] }, "messageId": { "type": "string", "minLength": 1 } }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "REASONING_END" ] } }, "required": [ "type" ] } ]}components/schemas/ActivitySnapshotPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "ACTIVITY_SNAPSHOT" ] } }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "ACTIVITY_SNAPSHOT" ] } }, "required": [ "type" ] } ]}components/schemas/ActivityDeltaPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "ACTIVITY_DELTA" ] } }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "ACTIVITY_DELTA" ] } }, "required": [ "type" ] } ]}components/schemas/AgentRunTaskInputAcceptedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TASK_INPUT_ACCEPTED" ] } }, "required": [ "type" ]}components/schemas/AgentRunTaskInputAcceptedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TASK_INPUT_ACCEPTED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunTaskInputAdmittedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TASK_INPUT_ADMITTED" ] } }, "required": [ "type" ]}components/schemas/AgentRunTaskInputAdmittedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TASK_INPUT_ADMITTED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunAuthorizationSealedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_AUTHORIZATION_SEALED" ] } }, "required": [ "type" ]}components/schemas/AgentRunAuthorizationSealedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_AUTHORIZATION_SEALED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunRequestEnqueuedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_REQUEST_ENQUEUED" ] } }, "required": [ "type" ]}components/schemas/AgentRunDefaultChatStartEnqueuedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_DEFAULT_CHAT_START_ENQUEUED" ] } }, "required": [ "type" ]}components/schemas/AgentRunToolResultSubmittedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_RESULT_SUBMITTED" ] } }, "required": [ "type" ]}components/schemas/AgentRunToolResultDeliveryFailedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_RESULT_DELIVERY_FAILED" ] } }, "required": [ "type" ]}components/schemas/AgentRunIntegrationConnectionRefusedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_INTEGRATION_CONNECTION_REFUSED" ] }, "integration": { "type": "string", "minLength": 1 }, "toolName": { "type": "string", "minLength": 1 }, "message": { "type": "string", "minLength": 1 } }, "required": [ "type", "integration", "toolName", "message" ]}components/schemas/AgentRunRuntimeOwnerBoundPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_RUNTIME_OWNER_BOUND" ] } }, "required": [ "type" ]}components/schemas/AgentRunWorkerExecutionAcceptedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_WORKER_EXECUTION_ACCEPTED" ] }, "executionId": { "type": "string", "format": "uuid" }, "runtimeInstance": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid" }, "name": { "type": "string", "minLength": 1 }, "mode": { "type": "string", "enum": [ "worker" ] } }, "required": [ "id", "mode" ] }, "acceptedAt": { "type": "string", "format": "date-time" } }, "required": [ "type", "executionId", "runtimeInstance", "acceptedAt" ]}components/schemas/AgentRunWorkerExecutionAcceptedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_WORKER_EXECUTION_ACCEPTED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunRuntimeInvokeRetriedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_RUNTIME_INVOKE_RETRIED" ] } }, "required": [ "type" ]}components/schemas/AgentRunContextCompactedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_CONTEXT_COMPACTED" ] } }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_CONTEXT_COMPACTED" ] }, "summary": { "type": "object", "properties": { "text": { "type": "string", "minLength": 1 } }, "required": [ "text" ] }, "firstKeptEntryId": { "type": "string", "minLength": 1 }, "preservedMessageIds": { "type": "array", "items": { "type": "string", "minLength": 1 }, "maxItems": 1, "description": "The source run’s exact active user input ID, or an empty array. Replay validates the source run binding.", "uniqueItems": true }, "tokensBefore": { "type": "integer", "minimum": 0 }, "tokensAfter": { "type": "integer", "minimum": 0 }, "tokenBudget": { "type": "integer", "exclusiveMinimum": 0 }, "reserveTokens": { "type": "integer", "minimum": 0 }, "reason": { "type": "string", "enum": [ "context_window", "transport_body" ] }, "elapsedMs": { "type": "number", "minimum": 0 }, "emittedAt": { "type": "integer", "minimum": 0 } }, "required": [ "type", "summary", "firstKeptEntryId", "tokensBefore", "tokensAfter", "tokenBudget", "reserveTokens", "reason" ], "additionalProperties": false } ]}components/schemas/AgentRunContextCompactedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_CONTEXT_COMPACTED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunToolExposureCheckpointedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_EXPOSURE_CHECKPOINTED" ] } }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_EXPOSURE_CHECKPOINTED" ] }, "version": { "anyOf": [ { "type": "number", "enum": [ 1 ] }, { "type": "number", "enum": [ 2 ] } ] }, "authorizedCatalogFingerprint": { "type": "string", "minLength": 1, "maxLength": 256 }, "loadedToolNames": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[a-zA-Z][a-zA-Z0-9._:-]*$" } }, "elapsedMs": { "type": "number", "minimum": 0 }, "emittedAt": { "type": "integer", "minimum": 0 } }, "required": [ "type", "version", "loadedToolNames" ], "additionalProperties": false } ]}components/schemas/AgentRunToolExposureCheckpointedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_EXPOSURE_CHECKPOINTED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunProviderReplayCheckpointedPayloadRead
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_PROVIDER_REPLAY_CHECKPOINTED" ] }, "version": { "type": "number", "enum": [ 1 ] }, "messageId": { "type": "string", "minLength": 1, "maxLength": 256 }, "provider": { "type": "string", "enum": [ "anthropic", "openai-responses" ] }, "providerMessageBlockCounts": { "type": "array", "items": { "type": "integer", "minimum": 1, "maximum": 100 }, "minItems": 1, "maxItems": 100 }, "totalPartCount": { "type": "integer", "minimum": 1, "maximum": 10000 }, "elapsedMs": { "type": "number", "minimum": 0 }, "emittedAt": { "type": "integer", "minimum": 0 }, "providerBlockCount": { "type": "integer", "minimum": 1, "maximum": 100 } }, "required": [ "type", "version", "messageId", "provider", "totalPartCount", "providerBlockCount" ], "additionalProperties": false}components/schemas/AgentRunProviderReplayCheckpointedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_PROVIDER_REPLAY_CHECKPOINTED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunProviderReplayTurnStartedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_PROVIDER_REPLAY_TURN_STARTED" ] } }, "required": [ "type" ]}components/schemas/AgentRunProviderReplayTurnStartedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_PROVIDER_REPLAY_TURN_STARTED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunProviderReplayTurnFinishedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_PROVIDER_REPLAY_TURN_FINISHED" ] } }, "required": [ "type" ]}components/schemas/AgentRunProviderReplayTurnFinishedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_PROVIDER_REPLAY_TURN_FINISHED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunModelCallContextRecordedPayloadRead
JSON
{ "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_MODEL_CALL_CONTEXT_RECORDED", "AGENT_RUN_MODEL_CALL_CONTEXT" ] }, "modelCallId": { "type": "string", "format": "uuid" }, "model": { "type": "object", "properties": { "id": { "type": "string", "minLength": 1 }, "modelProvider": { "type": "string", "minLength": 1 } }, "required": [ "id" ], "additionalProperties": false }, "request": { "type": "object", "properties": { "maxOutputTokens": { "type": "number", "minimum": 0 }, "temperature": { "type": "number" }, "topP": { "type": "number" }, "topK": { "type": "number" }, "stopSequences": { "type": "array", "items": { "type": "string" } }, "seed": { "type": "number" }, "presencePenalty": { "type": "number" }, "frequencyPenalty": { "type": "number" }, "parallelToolCalls": { "type": "boolean" }, "responseFormat": { "oneOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "text" ] } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "json" ] } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "json_schema" ] }, "name": { "type": "string" }, "schema": {}, "description": { "type": "string" }, "strict": { "type": "boolean" } }, "required": [ "type", "name", "schema" ], "additionalProperties": false } ] }, "reasoning": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "effort": { "type": "string", "enum": [ "low", "medium", "high", "max" ] }, "budgetTokens": { "type": "integer", "minimum": 0 } }, "additionalProperties": false } }, "additionalProperties": false }, "messages": { "type": "array", "items": { "oneOf": [ { "type": "object", "properties": { "role": { "type": "string", "enum": [ "system" ] }, "content": { "type": "string" }, "providerOptions": { "type": "object", "additionalProperties": { "type": "object", "properties": { "cacheControl": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "ephemeral" ] }, "ttl": { "type": "string", "enum": [ "5m", "1h" ] } }, "required": [ "type" ], "additionalProperties": false } }, "required": [ "cacheControl" ], "additionalProperties": false } } }, "required": [ "role", "content" ], "additionalProperties": false }, { "type": "object", "properties": { "role": { "type": "string", "enum": [ "user" ] }, "content": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "text" ] }, "text": { "type": "string" } }, "required": [ "type", "text" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "image", "file" ] }, "mediaType": { "type": "string" }, "url": { "type": "string" }, "filename": { "type": "string" } }, "required": [ "type", "mediaType", "url" ], "additionalProperties": false } ] } } }, "required": [ "role", "content" ], "additionalProperties": false }, { "type": "object", "properties": { "role": { "type": "string", "enum": [ "assistant" ] }, "providerMetadata": { "type": "object", "description": "Provider-generated assistant controls preserved as finite, acyclic JSON data for faithful replay.", "additionalProperties": {} }, "content": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "text" ] }, "text": { "type": "string" } }, "required": [ "type", "text" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "tool-call" ] }, "toolCallId": { "type": "string" }, "toolName": { "type": "string" }, "input": {}, "providerExecuted": { "type": "boolean" } }, "required": [ "type", "toolCallId", "toolName", "input" ], "additionalProperties": false } ] } } }, "required": [ "role", "content" ], "additionalProperties": false }, { "type": "object", "properties": { "role": { "type": "string", "enum": [ "tool" ] }, "content": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "tool-result" ] }, "toolCallId": { "type": "string" }, "toolName": { "type": "string" }, "output": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "json" ] }, "value": {} }, "required": [ "type", "value" ], "additionalProperties": false } }, "required": [ "type", "toolCallId", "toolName", "output" ], "additionalProperties": false } } }, "required": [ "role", "content" ], "additionalProperties": false } ] } }, "tools": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "function" ] }, "name": { "type": "string" }, "description": { "type": "string" }, "inputSchema": {} }, "required": [ "type", "name", "inputSchema" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "provider" ] }, "name": { "type": "string" }, "id": { "type": "string" }, "args": { "type": "object", "additionalProperties": {} } }, "required": [ "type", "name", "id", "args" ], "additionalProperties": false } ] } }, "elapsedMs": { "type": "number", "minimum": 0 }, "emittedAt": { "type": "integer", "minimum": 0 } }, "required": [ "type", "messages" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_MODEL_CALL_CONTEXT_RECORDED", "AGENT_RUN_MODEL_CALL_CONTEXT" ] }, "modelCallId": { "type": "string", "format": "uuid" }, "model": { "type": "object", "properties": { "id": { "type": "string", "minLength": 1 }, "modelProvider": { "type": "string", "minLength": 1 } }, "required": [ "id" ], "additionalProperties": false }, "request": { "type": "object", "properties": { "maxOutputTokens": { "type": "number", "minimum": 0 }, "temperature": { "type": "number" }, "topP": { "type": "number" }, "topK": { "type": "number" }, "stopSequences": { "type": "array", "items": { "type": "string" } }, "seed": { "type": "number" }, "presencePenalty": { "type": "number" }, "frequencyPenalty": { "type": "number" }, "parallelToolCalls": { "type": "boolean" }, "responseFormat": { "oneOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "text" ] } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "json" ] } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "json_schema" ] }, "name": { "type": "string" }, "schema": {}, "description": { "type": "string" }, "strict": { "type": "boolean" } }, "required": [ "type", "name", "schema" ], "additionalProperties": false } ] }, "reasoning": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "effort": { "type": "string", "enum": [ "low", "medium", "high", "max" ] }, "budgetTokens": { "type": "integer", "minimum": 0 } }, "additionalProperties": false } }, "additionalProperties": false }, "messages": { "type": "array", "items": { "oneOf": [ { "type": "object", "properties": { "role": { "type": "string", "enum": [ "system" ] }, "content": { "type": "string" }, "providerOptions": { "type": "object", "additionalProperties": { "type": "object", "properties": { "cacheControl": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "ephemeral" ] }, "ttl": { "type": "string", "enum": [ "5m", "1h" ] } }, "required": [ "type" ], "additionalProperties": false } }, "required": [ "cacheControl" ], "additionalProperties": false } } }, "required": [ "role", "content" ], "additionalProperties": false }, { "type": "object", "properties": { "role": { "type": "string", "enum": [ "user" ] }, "content": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "text" ] }, "text": { "type": "string" } }, "required": [ "type", "text" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "image", "file" ] }, "mediaType": { "type": "string" }, "url": { "type": "string" }, "filename": { "type": "string" } }, "required": [ "type", "mediaType", "url" ], "additionalProperties": false } ] } } }, "required": [ "role", "content" ], "additionalProperties": false }, { "type": "object", "properties": { "role": { "type": "string", "enum": [ "assistant" ] }, "providerMetadata": { "type": "object", "description": "Provider-generated assistant controls preserved as finite, acyclic JSON data for faithful replay.", "additionalProperties": {} }, "content": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "text" ] }, "text": { "type": "string" } }, "required": [ "type", "text" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "tool-call" ] }, "toolCallId": { "type": "string" }, "toolName": { "type": "string" }, "input": {}, "providerExecuted": { "type": "boolean" } }, "required": [ "type", "toolCallId", "toolName", "input" ], "additionalProperties": false } ] } } }, "required": [ "role", "content" ], "additionalProperties": false }, { "type": "object", "properties": { "role": { "type": "string", "enum": [ "tool" ] }, "content": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "tool-result" ] }, "toolCallId": { "type": "string" }, "toolName": { "type": "string" }, "output": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "json" ] }, "value": {} }, "required": [ "type", "value" ], "additionalProperties": false } }, "required": [ "type", "toolCallId", "toolName", "output" ], "additionalProperties": false } } }, "required": [ "role", "content" ], "additionalProperties": false } ] } }, "tools": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "function" ] }, "name": { "type": "string" }, "description": { "type": "string" }, "inputSchema": {} }, "required": [ "type", "name", "inputSchema" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "provider" ] }, "name": { "type": "string" }, "id": { "type": "string" }, "args": { "type": "object", "additionalProperties": {} } }, "required": [ "type", "name", "id", "args" ], "additionalProperties": false } ] } }, "elapsedMs": { "type": "number", "minimum": 0 }, "emittedAt": { "type": "integer", "minimum": 0 } }, "required": [ "type", "modelCallId", "messages" ], "additionalProperties": false } ]}components/schemas/AgentRunModelCallContextRecordedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_MODEL_CALL_CONTEXT_RECORDED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunModelCallProviderAttemptRecordedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_MODEL_CALL_PROVIDER_ATTEMPT_RECORDED" ] } }, "required": [ "type" ]}components/schemas/AgentRunModelCallProviderAttemptRecordedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_MODEL_CALL_PROVIDER_ATTEMPT_RECORDED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunControlPlaneDispatchAcceptedPayloadRead
JSON
{ "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_CONTROL_PLANE_DISPATCH_ACCEPTED" ] }, "requestHash": { "type": "string", "pattern": "^[A-Za-z0-9_-]{43}$" } }, "required": [ "type", "requestHash" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_CONTROL_PLANE_DISPATCH_ACCEPTED" ] }, "version": { "type": "number", "enum": [ 2 ] }, "state": { "type": "string", "enum": [ "intent_recorded" ] }, "runId": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[a-zA-Z0-9_-]+$" }, "projectId": { "type": "string", "format": "uuid" }, "leaseOwner": { "type": "string", "pattern": "^agent-run-detached:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$" }, "dispatchAttemptId": { "type": "string", "format": "uuid" }, "transportRecoveryAttempt": { "type": "integer", "minimum": 0 }, "resumesDispatchAttemptId": { "type": "string", "format": "uuid" }, "requestHash": { "type": "string", "pattern": "^[A-Za-z0-9_-]{43}$" }, "leaseExpiresAt": { "type": "string", "format": "date-time" } }, "required": [ "type", "version", "state", "runId", "projectId", "leaseOwner", "dispatchAttemptId", "transportRecoveryAttempt", "requestHash", "leaseExpiresAt" ], "additionalProperties": false } ]}components/schemas/AgentRunControlPlaneDispatchAcceptedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_CONTROL_PLANE_DISPATCH_ACCEPTED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunDetachedAcceptedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_DETACHED_ACCEPTED" ] }, "leaseOwner": { "type": "string", "minLength": 1 }, "dispatchAttemptId": { "type": "string", "format": "uuid" } }, "required": [ "type", "leaseOwner", "dispatchAttemptId" ]}components/schemas/AgentRunDetachedAcceptedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_DETACHED_ACCEPTED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunInvokeAgentBillingModeRetainedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_INVOKE_AGENT_BILLING_MODE_RETAINED" ] } }, "required": [ "type" ]}components/schemas/AgentRunInvokeAgentBillingModeRetainedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_INVOKE_AGENT_BILLING_MODE_RETAINED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunBillingUsageRetainedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_BILLING_USAGE_RETAINED" ] } }, "required": [ "type" ]}components/schemas/AgentRunBillingUsageRetainedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_BILLING_USAGE_RETAINED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunReplayedUploadsSealedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_REPLAYED_UPLOADS_SEALED" ] } }, "required": [ "type" ]}components/schemas/AgentRunReplayedUploadsSealedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_REPLAYED_UPLOADS_SEALED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunToolCallAdmittedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_CALL_ADMITTED" ] } }, "required": [ "type" ]}components/schemas/AgentRunRequestProvenanceRecordedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_REQUEST_PROVENANCE_RECORDED" ] } }, "required": [ "type" ]}components/schemas/AgentRunRequestProvenanceRecordedPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_REQUEST_PROVENANCE_RECORDED" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunExecutionStartObservedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_EXECUTION_START_OBSERVED" ] } }, "required": [ "type" ]}components/schemas/ToolCallStatusChangedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_STATUS_CHANGED" ] }, "toolCallId": { "type": "string", "minLength": 1 }, "status": { "type": "string", "minLength": 1 }, "toolCallName": { "type": [ "string", "null" ], "minLength": 1 } }, "required": [ "type", "toolCallId", "status", "toolCallName" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "TOOL_CALL_STATUS_CHANGED" ] }, "toolCallId": { "type": "string", "minLength": 1 }, "status": { "type": "string", "minLength": 1 }, "toolCallName": { "type": [ "string", "null" ], "minLength": 1 } }, "required": [ "type", "toolCallId", "status", "toolCallName" ] } ]}components/schemas/InputRequestCreatedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "INPUT_REQUEST_CREATED" ] }, "inputRequest": { "type": "object", "properties": { "id": { "type": "string", "minLength": 1 } }, "required": [ "id" ] } }, "required": [ "type", "inputRequest" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "INPUT_REQUEST_CREATED" ] }, "inputRequest": { "type": "object", "properties": { "id": { "type": "string", "minLength": 1 } }, "required": [ "id" ] } }, "required": [ "type", "inputRequest" ] } ]}components/schemas/InputRequestUpdatedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "INPUT_REQUEST_UPDATED" ] }, "inputRequest": { "type": "object", "properties": { "id": { "type": "string", "minLength": 1 } }, "required": [ "id" ] } }, "required": [ "type", "inputRequest" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "INPUT_REQUEST_UPDATED" ] }, "inputRequest": { "type": "object", "properties": { "id": { "type": "string", "minLength": 1 } }, "required": [ "id" ] } }, "required": [ "type", "inputRequest" ] } ]}components/schemas/ChildRunStatusChangedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "CHILD_RUN_STATUS_CHANGED" ] }, "toolCallId": { "type": "string", "minLength": 1 }, "childRunId": { "type": "string", "minLength": 1 }, "status": { "type": "string", "minLength": 1 }, "childConversationId": { "type": [ "string", "null" ], "minLength": 1 }, "childMessageId": { "type": [ "string", "null" ], "minLength": 1 }, "childAgentId": { "type": [ "string", "null" ], "minLength": 1 }, "description": { "type": "string", "minLength": 1 } }, "required": [ "type", "toolCallId", "childRunId", "status" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "CHILD_RUN_STATUS_CHANGED" ] }, "toolCallId": { "type": "string", "minLength": 1 }, "childRunId": { "type": "string", "minLength": 1 }, "status": { "type": "string", "minLength": 1 }, "childConversationId": { "type": [ "string", "null" ], "minLength": 1 }, "childMessageId": { "type": [ "string", "null" ], "minLength": 1 }, "childAgentId": { "type": [ "string", "null" ], "minLength": 1 }, "description": { "type": "string", "minLength": 1 } }, "required": [ "type", "toolCallId", "childRunId", "status" ] } ]}components/schemas/ModelCallCompletedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "MODEL_CALL_COMPLETED" ] }, "provider": { "type": "string", "minLength": 1 }, "model": { "type": "string", "minLength": 1 }, "inputTokens": { "type": "integer", "minimum": 0 }, "outputTokens": { "type": "integer", "minimum": 0 }, "cacheCreationTokens": { "type": "integer", "minimum": 0 }, "cacheReadTokens": { "type": "integer", "minimum": 0 }, "totalTokens": { "type": "integer", "minimum": 0 }, "costCredits": { "type": "string", "minLength": 1 }, "latencyMs": { "type": [ "integer", "null" ], "minimum": 0 }, "usageCaptureStatus": { "type": "string", "enum": [ "complete", "partial", "missing" ] }, "providerRequestId": { "type": [ "string", "null" ], "minLength": 1 }, "modelCallContextEventId": { "type": [ "integer", "null" ], "exclusiveMinimum": 0 } }, "required": [ "type", "provider", "model", "inputTokens", "outputTokens", "cacheCreationTokens", "cacheReadTokens", "totalTokens", "costCredits", "latencyMs", "usageCaptureStatus", "providerRequestId", "modelCallContextEventId" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "MODEL_CALL_COMPLETED" ] }, "provider": { "type": "string", "minLength": 1 }, "model": { "type": "string", "minLength": 1 }, "inputTokens": { "type": "integer", "minimum": 0 }, "outputTokens": { "type": "integer", "minimum": 0 }, "cacheCreationTokens": { "type": "integer", "minimum": 0 }, "cacheReadTokens": { "type": "integer", "minimum": 0 }, "totalTokens": { "type": "integer", "minimum": 0 }, "costCredits": { "type": "string", "minLength": 1 }, "latencyMs": { "type": [ "integer", "null" ], "minimum": 0 }, "usageCaptureStatus": { "type": "string", "enum": [ "complete", "partial", "missing" ] }, "providerRequestId": { "type": [ "string", "null" ], "minLength": 1 }, "modelCallContextEventId": { "type": [ "integer", "null" ], "exclusiveMinimum": 0 } }, "required": [ "type", "provider", "model", "inputTokens", "outputTokens", "cacheCreationTokens", "cacheReadTokens", "totalTokens", "costCredits", "latencyMs", "usageCaptureStatus", "providerRequestId", "modelCallContextEventId" ] } ]}components/schemas/RunParkedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_PARKED" ] }, "runId": { "type": "string", "minLength": 1 }, "reason": { "type": "string", "minLength": 1 }, "lastEventId": { "type": "integer", "minimum": 0 } }, "required": [ "type", "runId", "reason", "lastEventId" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_PARKED" ] }, "runId": { "type": "string", "minLength": 1 }, "reason": { "type": "string", "minLength": 1 }, "lastEventId": { "type": "integer", "minimum": 0 } }, "required": [ "type", "runId", "reason", "lastEventId" ] } ]}components/schemas/RunLogCapturedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_LOG_CAPTURED" ] }, "logs": { "type": "string" } }, "required": [ "type", "logs" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUN_LOG_CAPTURED" ] }, "logs": { "type": "string" } }, "required": [ "type", "logs" ] } ]}components/schemas/StreamHeartbeatEmittedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "STREAM_HEARTBEAT_EMITTED" ] }, "runId": { "type": "string", "minLength": 1 }, "lastEventId": { "type": "integer", "minimum": 0 } }, "required": [ "type", "runId", "lastEventId" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "STREAM_HEARTBEAT_EMITTED" ] }, "runId": { "type": "string", "minLength": 1 }, "lastEventId": { "type": "integer", "minimum": 0 } }, "required": [ "type", "runId", "lastEventId" ] } ]}components/schemas/UrlCitedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "URL_CITED" ] }, "url": { "type": "string", "minLength": 1 }, "sourceId": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 } }, "required": [ "type", "url", "sourceId" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "URL_CITED" ] }, "url": { "type": "string", "minLength": 1 }, "sourceId": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 } }, "required": [ "type", "url", "sourceId" ] } ]}components/schemas/DocumentCitedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "DOCUMENT_CITED" ] }, "mediaType": { "type": "string", "minLength": 1 }, "sourceId": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "filename": { "type": "string", "minLength": 1 } }, "required": [ "type", "mediaType", "sourceId" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "DOCUMENT_CITED" ] }, "mediaType": { "type": "string", "minLength": 1 }, "sourceId": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "filename": { "type": "string", "minLength": 1 } }, "required": [ "type", "mediaType", "sourceId" ] } ]}components/schemas/FileAttachedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "FILE_ATTACHED" ] }, "mediaType": { "type": "string", "minLength": 1 }, "url": { "type": "string", "minLength": 1 }, "filename": { "type": "string", "minLength": 1 } }, "required": [ "type", "mediaType" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "FILE_ATTACHED" ] }, "mediaType": { "type": "string", "minLength": 1 }, "url": { "type": "string", "minLength": 1 }, "filename": { "type": "string", "minLength": 1 } }, "required": [ "type", "mediaType" ] } ]}components/schemas/FilesChangedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "FILES_CHANGED" ] }, "id": { "type": [ "string", "null" ], "minLength": 1 }, "status": { "type": [ "string", "null" ], "minLength": 1 }, "changes": {} }, "required": [ "type", "id", "status", "changes" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "FILES_CHANGED" ] }, "id": { "type": [ "string", "null" ], "minLength": 1 }, "status": { "type": [ "string", "null" ], "minLength": 1 }, "changes": {} }, "required": [ "type", "id", "status", "changes" ] } ]}components/schemas/RuntimeEventRecordedPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUNTIME_EVENT_RECORDED" ] }, "runtime": { "type": "string", "minLength": 1 }, "kind": { "type": "string", "minLength": 1 }, "value": {} }, "required": [ "type", "runtime", "kind", "value" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "RUNTIME_EVENT_RECORDED" ] }, "runtime": { "type": "string", "minLength": 1 }, "kind": { "type": "string", "minLength": 1 }, "value": {} }, "required": [ "type", "runtime", "kind", "value" ] } ]}components/schemas/AgentRunControlPlaneDispatchReceiptPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_CONTROL_PLANE_DISPATCH_RECEIPT" ] } }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_CONTROL_PLANE_DISPATCH_RECEIPT" ] }, "requestHash": { "type": "string", "pattern": "^[A-Za-z0-9_-]{43}$" } }, "required": [ "type", "requestHash" ], "additionalProperties": false } ]}components/schemas/AgentRunControlPlaneDispatchReceiptPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_CONTROL_PLANE_DISPATCH_RECEIPT" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunToolExposureCheckpointPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_EXPOSURE_CHECKPOINT" ] } }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_EXPOSURE_CHECKPOINT" ] }, "version": { "anyOf": [ { "type": "number", "enum": [ 1 ] }, { "type": "number", "enum": [ 2 ] } ] }, "authorizedCatalogFingerprint": { "type": "string", "minLength": 1, "maxLength": 256 }, "loadedToolNames": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[a-zA-Z][a-zA-Z0-9._:-]*$" } }, "elapsedMs": { "type": "number", "minimum": 0 }, "emittedAt": { "type": "integer", "minimum": 0 } }, "required": [ "type", "version", "loadedToolNames" ], "additionalProperties": false } ]}components/schemas/AgentRunToolExposureCheckpointPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_TOOL_EXPOSURE_CHECKPOINT" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunProviderReplayCheckpointPayloadRead
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_PROVIDER_REPLAY_CHECKPOINT" ] }, "version": { "type": "number", "enum": [ 1 ] }, "messageId": { "type": "string", "minLength": 1, "maxLength": 256 }, "provider": { "type": "string", "enum": [ "anthropic", "openai-responses" ] }, "providerMessageBlockCounts": { "type": "array", "items": { "type": "integer", "minimum": 1, "maximum": 100 }, "minItems": 1, "maxItems": 100 }, "totalPartCount": { "type": "integer", "minimum": 1, "maximum": 10000 }, "elapsedMs": { "type": "number", "minimum": 0 }, "emittedAt": { "type": "integer", "minimum": 0 }, "providerBlockCount": { "type": "integer", "minimum": 1, "maximum": 100 } }, "required": [ "type", "version", "messageId", "provider", "totalPartCount", "providerBlockCount" ], "additionalProperties": false}components/schemas/AgentRunProviderReplayCheckpointPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_PROVIDER_REPLAY_CHECKPOINT" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/AgentRunModelCallContextPayload
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_MODEL_CALL_CONTEXT" ] } }, "required": [ "type" ], "allOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_MODEL_CALL_CONTEXT" ] }, "modelCallId": { "type": "string", "format": "uuid" }, "model": { "type": "object", "properties": { "id": { "type": "string", "minLength": 1 }, "modelProvider": { "type": "string", "minLength": 1 } }, "required": [ "id" ], "additionalProperties": false }, "request": { "type": "object", "properties": { "maxOutputTokens": { "type": "number", "minimum": 0 }, "temperature": { "type": "number" }, "topP": { "type": "number" }, "topK": { "type": "number" }, "stopSequences": { "type": "array", "items": { "type": "string" } }, "seed": { "type": "number" }, "presencePenalty": { "type": "number" }, "frequencyPenalty": { "type": "number" }, "parallelToolCalls": { "type": "boolean" }, "responseFormat": { "oneOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "text" ] } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "json" ] } }, "required": [ "type" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "json_schema" ] }, "name": { "type": "string" }, "schema": {}, "description": { "type": "string" }, "strict": { "type": "boolean" } }, "required": [ "type", "name", "schema" ], "additionalProperties": false } ] }, "reasoning": { "type": "object", "properties": { "enabled": { "type": "boolean" }, "effort": { "type": "string", "enum": [ "low", "medium", "high", "max" ] }, "budgetTokens": { "type": "integer", "minimum": 0 } }, "additionalProperties": false } }, "additionalProperties": false }, "messages": { "type": "array", "items": { "oneOf": [ { "type": "object", "properties": { "role": { "type": "string", "enum": [ "system" ] }, "content": { "type": "string" }, "providerOptions": { "type": "object", "additionalProperties": { "type": "object", "properties": { "cacheControl": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "ephemeral" ] }, "ttl": { "type": "string", "enum": [ "5m", "1h" ] } }, "required": [ "type" ], "additionalProperties": false } }, "required": [ "cacheControl" ], "additionalProperties": false } } }, "required": [ "role", "content" ], "additionalProperties": false }, { "type": "object", "properties": { "role": { "type": "string", "enum": [ "user" ] }, "content": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "text" ] }, "text": { "type": "string" } }, "required": [ "type", "text" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "image", "file" ] }, "mediaType": { "type": "string" }, "url": { "type": "string" }, "filename": { "type": "string" } }, "required": [ "type", "mediaType", "url" ], "additionalProperties": false } ] } } }, "required": [ "role", "content" ], "additionalProperties": false }, { "type": "object", "properties": { "role": { "type": "string", "enum": [ "assistant" ] }, "providerMetadata": { "type": "object", "description": "Provider-generated assistant controls preserved as finite, acyclic JSON data for faithful replay.", "additionalProperties": {} }, "content": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "text" ] }, "text": { "type": "string" } }, "required": [ "type", "text" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "tool-call" ] }, "toolCallId": { "type": "string" }, "toolName": { "type": "string" }, "input": {}, "providerExecuted": { "type": "boolean" } }, "required": [ "type", "toolCallId", "toolName", "input" ], "additionalProperties": false } ] } } }, "required": [ "role", "content" ], "additionalProperties": false }, { "type": "object", "properties": { "role": { "type": "string", "enum": [ "tool" ] }, "content": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "tool-result" ] }, "toolCallId": { "type": "string" }, "toolName": { "type": "string" }, "output": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "json" ] }, "value": {} }, "required": [ "type", "value" ], "additionalProperties": false } }, "required": [ "type", "toolCallId", "toolName", "output" ], "additionalProperties": false } } }, "required": [ "role", "content" ], "additionalProperties": false } ] } }, "tools": { "type": "array", "items": { "anyOf": [ { "type": "object", "properties": { "type": { "type": "string", "enum": [ "function" ] }, "name": { "type": "string" }, "description": { "type": "string" }, "inputSchema": {} }, "required": [ "type", "name", "inputSchema" ], "additionalProperties": false }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "provider" ] }, "name": { "type": "string" }, "id": { "type": "string" }, "args": { "type": "object", "additionalProperties": {} } }, "required": [ "type", "name", "id", "args" ], "additionalProperties": false } ] } }, "elapsedMs": { "type": "number", "minimum": 0 }, "emittedAt": { "type": "integer", "minimum": 0 } }, "required": [ "type", "messages" ], "additionalProperties": false } ]}components/schemas/AgentRunModelCallContextPayloadRedacted
JSON
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "AGENT_RUN_MODEL_CALL_CONTEXT" ] } }, "required": [ "type" ], "additionalProperties": false}components/schemas/RunsPageInfo
JSON
{ "type": "object", "properties": { "next": { "type": [ "string", "null" ] } }, "required": [ "next" ], "description": "Opaque cursor for the next page; null means there are no more results."}components/schemas/TargetRunEventsResponse
JSON
{ "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/TargetRunEvent" } }, "page_info": { "type": "object", "properties": { "next_cursor": { "type": [ "string", "null" ] }, "has_more": { "type": "boolean" } }, "required": [ "next_cursor", "has_more" ], "additionalProperties": false } }, "required": [ "data", "page_info" ], "additionalProperties": false}components/schemas/TargetRunEvent
JSON
{ "type": "object", "description": "A CloudEvent with an Agent Events Protocol payload. Full schemas are included in x-agent-event-envelope-schema and x-agent-event-payload-schemas.", "additionalProperties": true, "x-agent-event-envelope-schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Agent Events Protocol target CloudEvent", "type": "object", "properties": { "specversion": { "const": "1.0" }, "id": { "type": "string", "minLength": 1, "format": "ce-string" }, "source": { "type": "string", "minLength": 1, "format": "uri-reference" }, "type": { "enum": [ "com.veryfront.run.requested", "com.veryfront.run.enqueued", "com.veryfront.run.started", "com.veryfront.run.succeeded", "com.veryfront.run.failed", "com.veryfront.run.cancelled", "com.veryfront.run.log.captured", "com.veryfront.child-run.reported", "com.veryfront.step.started", "com.veryfront.step.succeeded", "com.veryfront.step.failed", "com.veryfront.step.cancelled", "com.veryfront.step.ended", "com.veryfront.tool-call.started", "com.veryfront.tool-call.arguments.delta.emitted", "com.veryfront.tool-call.arguments.ended", "com.veryfront.tool-call.refused", "com.veryfront.tool-call.status.reported", "com.veryfront.tool-call.result.recorded", "com.veryfront.tool-call.result.submitted", "com.veryfront.tool-call.result.delivery.failed", "com.veryfront.model-call.input.captured", "com.veryfront.model-call.usage.recorded", "com.veryfront.input-request.created", "com.veryfront.input-request.updated", "com.veryfront.message.text.started", "com.veryfront.message.text.delta.emitted", "com.veryfront.message.text.ended", "com.veryfront.message.reasoning.started", "com.veryfront.message.reasoning.delta.emitted", "com.veryfront.message.reasoning.ended", "com.veryfront.message.url.referenced", "com.veryfront.message.document.referenced", "com.veryfront.message.file.attached", "com.veryfront.stream.heartbeat.emitted", "com.veryfront.stream.closed" ] }, "datacontenttype": { "const": "application/json" }, "dataschema": { "type": "string", "minLength": 1, "format": "uri" }, "data": { "type": "object" }, "subject": { "type": "string", "minLength": 1, "format": "ce-string" }, "time": { "type": "string", "format": "date-time" }, "recordedat": { "type": "string", "format": "date-time" }, "runid": { "type": "string", "minLength": 1, "format": "ce-string" }, "runkind": { "enum": [ "agent", "workflow", "task" ] }, "conversationid": { "type": "string", "minLength": 1, "format": "ce-string" }, "modelcallid": { "type": "string", "minLength": 1, "format": "ce-string" }, "attemptid": { "type": "string", "minLength": 1, "format": "ce-string" }, "traceparent": { "type": "string", "pattern": "^00-(?!0{32}-)[0-9a-f]{32}-(?!0{16}-)[0-9a-f]{16}-[0-9a-f]{2}$" }, "tracestate": { "type": "string", "minLength": 1, "maxLength": 512, "format": "w3c-tracestate" } }, "required": [ "specversion", "id", "source", "type", "datacontenttype", "dataschema", "data" ], "propertyNames": { "pattern": "^[a-z0-9]+$" }, "additionalProperties": { "anyOf": [ { "type": "string", "format": "ce-string" }, { "type": "boolean" }, { "type": "integer", "minimum": -2147483648, "maximum": 2147483647 } ] }, "dependentRequired": { "runkind": [ "runid" ], "attemptid": [ "modelcallid" ], "tracestate": [ "traceparent" ] }, "allOf": [ { "if": { "properties": { "type": { "const": "com.veryfront.run.requested" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/RunRequested" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/RunRequested" } }, "required": [ "runid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.run.enqueued" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/RunEnqueued" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/RunEnqueued" } }, "required": [ "runid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.run.started" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/RunStarted" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/RunStarted" } }, "required": [ "runid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.run.succeeded" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/RunSucceeded" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/RunSucceeded" } }, "required": [ "runid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.run.failed" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/RunFailed" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/RunFailed" } }, "required": [ "runid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.run.cancelled" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/RunCancelled" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/RunCancelled" } }, "required": [ "runid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.run.log.captured" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/RunLogCaptured" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/RunLogCaptured" } }, "required": [ "runid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.child-run.reported" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/ChildRunReported" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ChildRunReported" } }, "required": [ "runid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.step.started" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/StepStarted" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/StepStarted" } }, "required": [ "runid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.step.succeeded" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/StepSucceeded" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/StepSucceeded" } }, "required": [ "runid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.step.failed" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/StepFailed" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/StepFailed" } }, "required": [ "runid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.step.cancelled" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/StepCancelled" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/StepCancelled" } }, "required": [ "runid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.step.ended" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/StepEnded" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/StepEnded" } }, "required": [ "runid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.tool-call.started" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallStarted" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallStarted" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.tool-call.arguments.delta.emitted" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallArgumentsDeltaEmitted" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallArgumentsDeltaEmitted" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.tool-call.arguments.ended" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallArgumentsEnded" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallArgumentsEnded" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.tool-call.refused" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallRefused" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallRefused" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.tool-call.status.reported" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallStatusReported" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallStatusReported" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.tool-call.result.recorded" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallResultRecorded" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallResultRecorded" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.tool-call.result.submitted" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallResultSubmitted" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallResultSubmitted" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.tool-call.result.delivery.failed" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallResultDeliveryFailed" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallResultDeliveryFailed" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.model-call.input.captured" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/ModelCallInputCaptured" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ModelCallInputCaptured" } }, "required": [ "modelcallid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.model-call.usage.recorded" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/ModelCallUsageRecorded" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ModelCallUsageRecorded" } }, "required": [ "modelcallid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.input-request.created" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/InputRequestCreated" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestCreated" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.input-request.updated" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/InputRequestUpdated" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestUpdated" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.message.text.started" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageTextStarted" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageTextStarted" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.message.text.delta.emitted" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageTextDeltaEmitted" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageTextDeltaEmitted" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.message.text.ended" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageTextEnded" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageTextEnded" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.message.reasoning.started" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageReasoningStarted" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageReasoningStarted" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.message.reasoning.delta.emitted" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageReasoningDeltaEmitted" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageReasoningDeltaEmitted" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.message.reasoning.ended" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageReasoningEnded" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageReasoningEnded" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.message.url.referenced" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageUrlReferenced" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageUrlReferenced" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.message.document.referenced" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageDocumentReferenced" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageDocumentReferenced" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.message.file.attached" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageFileAttached" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageFileAttached" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.stream.heartbeat.emitted" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/StreamHeartbeatEmitted" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/StreamHeartbeatEmitted" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.stream.closed" } }, "required": [ "type" ] }, "then": { "properties": { "dataschema": { "const": "urn:veryfront:run-events:target:payloads:1#/$defs/StreamClosed" }, "data": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/StreamClosed" } } } }, { "if": { "properties": { "type": { "const": "com.veryfront.model-call.usage.recorded" }, "data": { "properties": { "scope": { "const": "attempt" } }, "required": [ "scope" ] } }, "required": [ "type", "data" ] }, "then": { "required": [ "attemptid" ] } }, { "if": { "properties": { "type": { "const": "com.veryfront.model-call.usage.recorded" }, "data": { "properties": { "scope": { "const": "call" } }, "required": [ "scope" ] } }, "required": [ "type", "data" ] }, "then": { "not": { "required": [ "attemptid" ] } } }, { "if": { "properties": { "type": { "enum": [ "com.veryfront.stream.heartbeat.emitted", "com.veryfront.stream.closed" ] } }, "required": [ "type" ] }, "then": { "not": { "required": [ "recordedat" ] } } }, { "not": { "required": [ "vfversion" ] } }, { "not": { "required": [ "extensions" ] } }, { "not": { "required": [ "data_base64" ] } }, { "not": { "required": [ "metadata" ] } }, { "not": { "required": [ "event_id" ] } }, { "not": { "required": [ "event_type" ] } }, { "not": { "required": [ "payload" ] } }, { "not": { "required": [ "kind" ] } }, { "not": { "required": [ "legacy" ] } }, { "not": { "required": [ "modelcontextid" ] } } ], "x-source-schema-id": "urn:veryfront:run-events:target:envelope:1" }, "x-agent-event-schema-by-type": { "com.veryfront.run.requested": "urn:veryfront:run-events:target:payloads:1#/$defs/RunRequested", "com.veryfront.run.enqueued": "urn:veryfront:run-events:target:payloads:1#/$defs/RunEnqueued", "com.veryfront.run.started": "urn:veryfront:run-events:target:payloads:1#/$defs/RunStarted", "com.veryfront.run.succeeded": "urn:veryfront:run-events:target:payloads:1#/$defs/RunSucceeded", "com.veryfront.run.failed": "urn:veryfront:run-events:target:payloads:1#/$defs/RunFailed", "com.veryfront.run.cancelled": "urn:veryfront:run-events:target:payloads:1#/$defs/RunCancelled", "com.veryfront.run.log.captured": "urn:veryfront:run-events:target:payloads:1#/$defs/RunLogCaptured", "com.veryfront.child-run.reported": "urn:veryfront:run-events:target:payloads:1#/$defs/ChildRunReported", "com.veryfront.step.started": "urn:veryfront:run-events:target:payloads:1#/$defs/StepStarted", "com.veryfront.step.succeeded": "urn:veryfront:run-events:target:payloads:1#/$defs/StepSucceeded", "com.veryfront.step.failed": "urn:veryfront:run-events:target:payloads:1#/$defs/StepFailed", "com.veryfront.step.cancelled": "urn:veryfront:run-events:target:payloads:1#/$defs/StepCancelled", "com.veryfront.step.ended": "urn:veryfront:run-events:target:payloads:1#/$defs/StepEnded", "com.veryfront.tool-call.started": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallStarted", "com.veryfront.tool-call.arguments.delta.emitted": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallArgumentsDeltaEmitted", "com.veryfront.tool-call.arguments.ended": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallArgumentsEnded", "com.veryfront.tool-call.refused": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallRefused", "com.veryfront.tool-call.status.reported": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallStatusReported", "com.veryfront.tool-call.result.recorded": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallResultRecorded", "com.veryfront.tool-call.result.submitted": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallResultSubmitted", "com.veryfront.tool-call.result.delivery.failed": "urn:veryfront:run-events:target:payloads:1#/$defs/ToolCallResultDeliveryFailed", "com.veryfront.model-call.input.captured": "urn:veryfront:run-events:target:payloads:1#/$defs/ModelCallInputCaptured", "com.veryfront.model-call.usage.recorded": "urn:veryfront:run-events:target:payloads:1#/$defs/ModelCallUsageRecorded", "com.veryfront.input-request.created": "urn:veryfront:run-events:target:payloads:1#/$defs/InputRequestCreated", "com.veryfront.input-request.updated": "urn:veryfront:run-events:target:payloads:1#/$defs/InputRequestUpdated", "com.veryfront.message.text.started": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageTextStarted", "com.veryfront.message.text.delta.emitted": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageTextDeltaEmitted", "com.veryfront.message.text.ended": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageTextEnded", "com.veryfront.message.reasoning.started": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageReasoningStarted", "com.veryfront.message.reasoning.delta.emitted": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageReasoningDeltaEmitted", "com.veryfront.message.reasoning.ended": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageReasoningEnded", "com.veryfront.message.url.referenced": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageUrlReferenced", "com.veryfront.message.document.referenced": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageDocumentReferenced", "com.veryfront.message.file.attached": "urn:veryfront:run-events:target:payloads:1#/$defs/MessageFileAttached", "com.veryfront.stream.heartbeat.emitted": "urn:veryfront:run-events:target:payloads:1#/$defs/StreamHeartbeatEmitted", "com.veryfront.stream.closed": "urn:veryfront:run-events:target:payloads:1#/$defs/StreamClosed" }, "x-agent-event-payload-schemas": { "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Agent Events Protocol target payloads", "description": "Working draft portable payload contracts. com.veryfront is a publisher namespace. Select exactly one root definition using envelope.type; data has no duplicate type. Existing source schemas remain migration evidence, not this target.", "x-profile": "portable-public-core", "x-event-count": 36, "x-payload-selection": "Envelope type selects the x-event-type definition. The bundle itself is not a payload union.", "x-excluded-private-events": [ "com.veryfront.run.authorization.sealed", "com.veryfront.run.billing.mode.retained", "com.veryfront.run.billing.usage.retained", "com.veryfront.run.context.compacted", "com.veryfront.run.dispatch.accepted", "com.veryfront.run.dispatch.requested", "com.veryfront.run.input.uploads.sealed", "com.veryfront.run.provider.replay.boundary.recorded", "com.veryfront.run.provider.replay.boundary.required", "com.veryfront.run.provider.replay.checkpointed", "com.veryfront.run.runtime.owner.changed", "com.veryfront.run.runtime.retry.recorded", "com.veryfront.run.tool.exposure.checkpointed" ], "x-excluded-synchronization-events": [ "com.veryfront.messages.snapshot.emitted", "com.veryfront.shared-state.delta.emitted", "com.veryfront.shared-state.snapshot.emitted" ], "$defs": { "JsonValue": { "anyOf": [ { "type": "null" }, { "type": "boolean" }, { "type": "number" }, { "type": "string" }, { "type": "array", "items": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" } }, { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonObject" } ] }, "JsonObject": { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" } }, "Extensions": { "type": "object", "propertyNames": { "type": "string", "minLength": 1, "format": "uri" }, "additionalProperties": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonObject" }, "description": "Optional producer-owned absolute URI namespaces, such as https://example.test/extensions or urn:org.example:telemetry. Each value is a JSON object; core fields remain closed. Publishing extensions still requires authorization." }, "ErrorInfo": { "type": "object", "properties": { "code": { "type": "string", "minLength": 1 }, "message": { "type": "string" } }, "required": [], "additionalProperties": false, "minProperties": 1 }, "ModelDescriptor": { "type": "object", "properties": { "provider": { "type": "string", "minLength": 1 }, "name": { "type": "string", "minLength": 1 } }, "required": [ "provider", "name" ], "additionalProperties": false }, "ModelInput": { "oneOf": [ { "type": "object", "properties": { "messages": { "type": "array", "items": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" } }, "tools": { "type": "array", "items": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" } }, "parameters": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonObject" } }, "required": [ "messages" ], "additionalProperties": false }, { "type": "object", "properties": { "redacted": { "const": true } }, "required": [ "redacted" ], "additionalProperties": false } ], "description": "Full captured model input or an explicit authorized redaction. Redaction is not missing-input recovery." }, "TokenUsage": { "type": "object", "properties": { "input": { "type": "integer", "minimum": 0 }, "output": { "type": "integer", "minimum": 0 }, "total": { "type": "integer", "minimum": 0 }, "cacheRead": { "type": "integer", "minimum": 0 }, "cacheWrite": { "type": "integer", "minimum": 0 }, "reasoning": { "type": "integer", "minimum": 0 } }, "required": [ "input", "output" ], "additionalProperties": false, "description": "Input/output token counts are the base counters. cacheRead and cacheWrite are subsets of input; reasoning is a subset of output. These counters are not additive charges and must not be added to input/output or total. Optional total is actually reported, not synthesized. Cross-field subset bounds are semantic conformance checks.", "x-semantic-constraints": [ "cacheRead <= input when present", "cacheWrite <= input when present", "reasoning <= output when present" ] }, "InputField": { "type": "object", "properties": { "name": { "type": "string", "minLength": 1 }, "type": { "type": "string", "minLength": 1 }, "label": { "type": "string", "minLength": 1 }, "required": { "type": "boolean" }, "options": { "type": "array", "items": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" } } }, "required": [ "name", "type" ], "additionalProperties": false }, "InputRequestSnapshot": { "type": "object", "properties": { "id": { "type": "string", "minLength": 1 }, "status": { "enum": [ "open", "submitted", "cancelled", "expired" ] }, "title": { "type": "string", "minLength": 1 }, "description": { "type": "string" }, "fields": { "type": "array", "items": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputField" }, "minItems": 1 }, "schema": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonObject" }, "response": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" }, "expiresAt": { "type": "string", "format": "date-time" }, "toolCallId": { "type": "string", "minLength": 1, "description": "Exact logical tool-call occurrence that created the request, when known. Immutable; provider-local IDs do not establish this relation." } }, "required": [ "id", "status" ], "additionalProperties": false }, "InputRequestReference": { "type": "object", "properties": { "id": { "type": "string", "minLength": 1 }, "uri": { "type": "string", "format": "uri" }, "toolCallId": { "type": "string", "minLength": 1, "description": "Exact logical tool-call occurrence that created the request, when known. Immutable; provider-local IDs do not establish this relation." } }, "required": [ "id", "uri" ], "additionalProperties": false }, "InputRequestChanges": { "type": "object", "properties": { "status": { "enum": [ "open", "submitted", "cancelled", "expired" ] }, "title": { "type": "string", "minLength": 1 }, "description": { "type": [ "string", "null" ] }, "fields": { "type": "array", "items": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputField" }, "minItems": 1 }, "schema": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonObject" }, "response": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" }, "expiresAt": { "type": [ "string", "null" ], "format": "date-time" } }, "required": [], "additionalProperties": false, "minProperties": 1 }, "ChildRun": { "type": "object", "properties": { "id": { "type": "string", "minLength": 1 }, "status": { "enum": [ "queued", "running", "waiting", "succeeded", "failed", "cancelled", "unknown" ] }, "kind": { "type": "string", "minLength": 1 }, "conversationId": { "type": "string", "minLength": 1 } }, "required": [ "id", "status" ], "additionalProperties": false }, "RunRequested": { "type": "object", "properties": { "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [], "additionalProperties": false, "title": "com.veryfront.run.requested", "x-event-type": "com.veryfront.run.requested", "x-envelope-required": [ "runid" ], "x-semantics": "Owning run lifecycle fact. The envelope runid is authoritative. No execution snapshot or internal runtime protocol is required.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "RunEnqueued": { "type": "object", "properties": { "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [], "additionalProperties": false, "title": "com.veryfront.run.enqueued", "x-event-type": "com.veryfront.run.enqueued", "x-envelope-required": [ "runid" ], "x-semantics": "Owning run lifecycle fact. The envelope runid is authoritative. No execution snapshot or internal runtime protocol is required.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "RunStarted": { "type": "object", "properties": { "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [], "additionalProperties": false, "title": "com.veryfront.run.started", "x-event-type": "com.veryfront.run.started", "x-envelope-required": [ "runid" ], "x-semantics": "Owning run lifecycle fact. The envelope runid is authoritative. No execution snapshot or internal runtime protocol is required.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "RunSucceeded": { "type": "object", "properties": { "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [], "additionalProperties": false, "title": "com.veryfront.run.succeeded", "x-event-type": "com.veryfront.run.succeeded", "x-envelope-required": [ "runid" ], "x-semantics": "Owning run lifecycle fact. The envelope runid is authoritative. No execution snapshot or internal runtime protocol is required.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "RunFailed": { "type": "object", "properties": { "error": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ErrorInfo" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [], "additionalProperties": false, "title": "com.veryfront.run.failed", "x-event-type": "com.veryfront.run.failed", "x-envelope-required": [ "runid" ], "x-semantics": "Owning failed run transition; optional error details do not classify an unrelated transport or delivery error.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "RunCancelled": { "type": "object", "properties": { "reason": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [], "additionalProperties": false, "title": "com.veryfront.run.cancelled", "x-event-type": "com.veryfront.run.cancelled", "x-envelope-required": [ "runid" ], "x-semantics": "Owning cancelled run transition. A cancellation reason is optional and is not synthesized from every run error.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "RunLogCaptured": { "type": "object", "properties": { "text": { "type": "string" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "text" ], "additionalProperties": false, "title": "com.veryfront.run.log.captured", "x-event-type": "com.veryfront.run.log.captured", "x-envelope-required": [ "runid" ], "x-semantics": "Captured log string. No line splitting, severity or timestamp is invented.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "ChildRunReported": { "type": "object", "properties": { "childRun": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ChildRun" }, "toolCallId": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "childRun" ], "additionalProperties": false, "title": "com.veryfront.child-run.reported", "x-event-type": "com.veryfront.child-run.reported", "x-envelope-required": [ "runid" ], "x-semantics": "Reports a real association to the recipient run named by envelope runid. It does not create a run or synthesize creator/parent ancestry. unknown must be explicitly reported; missing/unrecognized status is not defaulted.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "StepStarted": { "type": "object", "properties": { "stepId": { "type": "string", "minLength": 1 }, "name": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "stepId" ], "additionalProperties": false, "title": "com.veryfront.step.started", "x-event-type": "com.veryfront.step.started", "x-envelope-required": [ "runid" ], "x-semantics": "Exact producer-owned step occurrence scoped to the envelope runid. Outcome belongs to the owning step transition; ended does not assert a classified outcome.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "StepSucceeded": { "type": "object", "properties": { "stepId": { "type": "string", "minLength": 1 }, "name": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "stepId" ], "additionalProperties": false, "title": "com.veryfront.step.succeeded", "x-event-type": "com.veryfront.step.succeeded", "x-envelope-required": [ "runid" ], "x-semantics": "Exact producer-owned step occurrence scoped to the envelope runid. Outcome belongs to the owning step transition; ended does not assert a classified outcome.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "StepFailed": { "type": "object", "properties": { "stepId": { "type": "string", "minLength": 1 }, "name": { "type": "string", "minLength": 1 }, "error": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ErrorInfo" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "stepId" ], "additionalProperties": false, "title": "com.veryfront.step.failed", "x-event-type": "com.veryfront.step.failed", "x-envelope-required": [ "runid" ], "x-semantics": "Exact producer-owned step occurrence scoped to the envelope runid. Outcome belongs to the owning step transition; ended does not assert a classified outcome.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "StepCancelled": { "type": "object", "properties": { "stepId": { "type": "string", "minLength": 1 }, "name": { "type": "string", "minLength": 1 }, "reason": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "stepId" ], "additionalProperties": false, "title": "com.veryfront.step.cancelled", "x-event-type": "com.veryfront.step.cancelled", "x-envelope-required": [ "runid" ], "x-semantics": "Exact producer-owned step occurrence scoped to the envelope runid. Outcome belongs to the owning step transition; ended does not assert a classified outcome.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "StepEnded": { "type": "object", "properties": { "stepId": { "type": "string", "minLength": 1 }, "name": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "stepId" ], "additionalProperties": false, "title": "com.veryfront.step.ended", "x-event-type": "com.veryfront.step.ended", "x-envelope-required": [ "runid" ], "x-semantics": "Exact producer-owned step occurrence scoped to the envelope runid. Outcome belongs to the owning step transition; ended does not assert a classified outcome.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "ToolCallStarted": { "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "messageId": { "type": "string", "minLength": 1 }, "input": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" }, "toolName": { "type": "string", "minLength": 1 } }, "required": [ "toolCallId", "toolName" ], "additionalProperties": false, "title": "com.veryfront.tool-call.started", "x-event-type": "com.veryfront.tool-call.started", "x-envelope-required": [], "x-semantics": "Introduces an exact public tool-call occurrence. Introduction and input assembly do not prove tool execution.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "ToolCallArgumentsDeltaEmitted": { "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "delta": { "type": "string" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "toolCallId", "delta" ], "additionalProperties": false, "title": "com.veryfront.tool-call.arguments.delta.emitted", "x-event-type": "com.veryfront.tool-call.arguments.delta.emitted", "x-envelope-required": [], "x-semantics": "Argument string fragment for the same public toolCallId. It is not a tool output or execution outcome.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "ToolCallArgumentsEnded": { "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "input": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "toolCallId" ], "additionalProperties": false, "title": "com.veryfront.tool-call.arguments.ended", "x-event-type": "com.veryfront.tool-call.arguments.ended", "x-envelope-required": [], "x-semantics": "Argument assembly ended. Optional input is included only when the completed value is known; no execution completion is inferred.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "ToolCallRefused": { "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "reason": { "anyOf": [ { "enum": [ "missing_integration_connection", "permission_denied", "budget_exhausted", "invalid_input" ] }, { "type": "string", "minLength": 1, "format": "uri" } ], "description": "Reported classified refusal code. Common codes or an absolute URI identifying a producer-defined code; arbitrary error text is not a code." }, "integration": { "type": "string", "minLength": 1 }, "message": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" }, "toolName": { "type": "string", "minLength": 1 } }, "required": [ "toolCallId", "reason" ], "additionalProperties": false, "title": "com.veryfront.tool-call.refused", "x-event-type": "com.veryfront.tool-call.refused", "x-envelope-required": [], "x-semantics": "Owning executor refused this exact call for the reported classified reason. It does not prove a provider attempt, a generic call end or run failure.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "ToolCallStatusReported": { "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "status": { "enum": [ "introduced", "argumentsReady", "queued", "running", "waiting", "succeeded", "failed", "cancelled", "refused", "unknown" ] }, "message": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "toolCallId", "status" ], "additionalProperties": false, "title": "com.veryfront.tool-call.status.reported", "x-event-type": "com.veryfront.tool-call.status.reported", "x-envelope-required": [], "x-semantics": "Explicit reported status for the exact call. Terminal execution statuses require owning execution evidence; unknown is never a default for missing/unrecognized source text.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "ToolCallResultRecorded": { "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "output": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" }, "outputRedacted": { "const": true }, "isError": { "type": "boolean" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "toolCallId" ], "additionalProperties": false, "title": "com.veryfront.tool-call.result.recorded", "x-event-type": "com.veryfront.tool-call.result.recorded", "x-envelope-required": [], "x-semantics": "Exact call result recorded. Result recording/submission is not proof of execution success or receiver delivery. isError is included only when explicitly reported; unknown is omitted.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data.", "oneOf": [ { "required": [ "output" ], "not": { "required": [ "outputRedacted" ] } }, { "required": [ "outputRedacted" ], "not": { "required": [ "output" ] } } ] }, "ToolCallResultSubmitted": { "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "output": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" }, "outputRedacted": { "const": true }, "isError": { "type": "boolean" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "toolCallId" ], "additionalProperties": false, "title": "com.veryfront.tool-call.result.submitted", "x-event-type": "com.veryfront.tool-call.result.submitted", "x-envelope-required": [], "x-semantics": "Exact call result submitted. Result recording/submission is not proof of execution success or receiver delivery. isError is included only when explicitly reported; unknown is omitted.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data.", "oneOf": [ { "required": [ "output" ], "not": { "required": [ "outputRedacted" ] } }, { "required": [ "outputRedacted" ], "not": { "required": [ "output" ] } } ] }, "ToolCallResultDeliveryFailed": { "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "error": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ErrorInfo" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "toolCallId" ], "additionalProperties": false, "title": "com.veryfront.tool-call.result.delivery.failed", "x-event-type": "com.veryfront.tool-call.result.delivery.failed", "x-envelope-required": [], "x-semantics": "The result delivery failed for this exact call; transport/receiver delivery failure does not establish tool execution failure or run failure.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "ModelCallInputCaptured": { "type": "object", "properties": { "model": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ModelDescriptor" }, "input": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ModelInput" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "model", "input" ], "additionalProperties": false, "title": "com.veryfront.model-call.input.captured", "x-event-type": "com.veryfront.model-call.input.captured", "x-envelope-required": [ "modelcallid" ], "x-semantics": "Captured model input linked by envelope modelcallid; attemptid is included only if the exact provider attempt is known. Provider-native input JSON is intentional data, not an AG-UI or Veryfront wrapper.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "ModelCallUsageRecorded": { "type": "object", "properties": { "model": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ModelDescriptor" }, "tokens": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/TokenUsage" }, "durationMs": { "type": "number", "minimum": 0, "description": "Measured wall time for the stated scope: attempt dispatch to final response/error, or first call dispatch to final completion including retries and waits. Excludes preparation; omit when boundaries were not measured." }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" }, "scope": { "enum": [ "attempt", "call" ], "description": "Accounting scope. attempt requires exact envelope attemptid; call is an actual call aggregate and omits attemptid. Missing identity never selects a scope." } }, "required": [ "model", "tokens", "scope" ], "additionalProperties": false, "title": "com.veryfront.model-call.usage.recorded", "x-event-type": "com.veryfront.model-call.usage.recorded", "x-envelope-required": [ "modelcallid" ], "x-semantics": "Reported token usage for an actual known attempt or call accounting bucket, selected by scope and linked by envelope modelcallid. Attempt scope additionally requires exact attemptid. Call aggregates and their constituent attempts are alternative accounting views and must not be added together. Unknown bucket or required counters prevents canonical publication; no provider attempt, call aggregate, total or billing value is invented.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data.", "x-attempt-scope-envelope-required": [ "attemptid" ] }, "InputRequestCreated": { "type": "object", "properties": { "inputRequest": { "oneOf": [ { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestSnapshot" }, { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestReference" } ] }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "inputRequest" ], "additionalProperties": false, "title": "com.veryfront.input-request.created", "x-event-type": "com.veryfront.input-request.created", "x-envelope-required": [], "x-semantics": "Typed authorized snapshot or resolvable reference. Created snapshots show open initial state. Updated snapshots show authoritative after-state; updated references require a nonempty typed change set. Optional details may be absent/redacted, but ID and typed state/reference remain meaningful.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data.", "allOf": [ { "if": { "properties": { "inputRequest": { "required": [ "status" ] } }, "required": [ "inputRequest" ] }, "then": { "properties": { "inputRequest": { "properties": { "status": { "const": "open" } } } } } } ] }, "InputRequestUpdated": { "type": "object", "properties": { "inputRequest": { "oneOf": [ { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestSnapshot" }, { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestReference" } ] }, "changes": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestChanges" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "inputRequest" ], "additionalProperties": false, "title": "com.veryfront.input-request.updated", "x-event-type": "com.veryfront.input-request.updated", "x-envelope-required": [], "x-semantics": "Typed authorized snapshot or resolvable reference. Updated snapshots are the whole authoritative after-state and prohibit changes. Updated references require a nonempty typed change set. Optional details may be absent/redacted, but ID and typed state/reference remain meaningful.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data.", "allOf": [ { "if": { "properties": { "inputRequest": { "required": [ "uri" ] } }, "required": [ "inputRequest" ] }, "then": { "required": [ "changes" ] }, "else": { "not": { "required": [ "changes" ] } } } ] }, "MessageTextStarted": { "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "role": { "enum": [ "assistant", "user", "system", "developer", "tool" ] }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "contentId" ], "additionalProperties": false, "title": "com.veryfront.message.text.started", "x-event-type": "com.veryfront.message.text.started", "x-envelope-required": [], "x-semantics": "Exact message/content segment identity. Reasoning content is only explicitly publishable text; provider-native signed/redacted replay material is not rendered or reclassified. Redacted deltas retain identity without inventing text.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "MessageTextDeltaEmitted": { "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "delta": { "type": "string" }, "contentRedacted": { "const": true }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "contentId" ], "additionalProperties": false, "title": "com.veryfront.message.text.delta.emitted", "x-event-type": "com.veryfront.message.text.delta.emitted", "x-envelope-required": [], "x-semantics": "Exact message/content segment identity. Reasoning content is only explicitly publishable text; provider-native signed/redacted replay material is not rendered or reclassified. Redacted deltas retain identity without inventing text.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data.", "oneOf": [ { "required": [ "delta" ], "not": { "required": [ "contentRedacted" ] } }, { "required": [ "contentRedacted" ], "not": { "required": [ "delta" ] } } ] }, "MessageTextEnded": { "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "contentId" ], "additionalProperties": false, "title": "com.veryfront.message.text.ended", "x-event-type": "com.veryfront.message.text.ended", "x-envelope-required": [], "x-semantics": "Exact message/content segment identity. Reasoning content is only explicitly publishable text; provider-native signed/redacted replay material is not rendered or reclassified. Redacted deltas retain identity without inventing text.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "MessageReasoningStarted": { "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "contentId" ], "additionalProperties": false, "title": "com.veryfront.message.reasoning.started", "x-event-type": "com.veryfront.message.reasoning.started", "x-envelope-required": [], "x-semantics": "Exact message/content segment identity. Reasoning content is only explicitly publishable text; provider-native signed/redacted replay material is not rendered or reclassified. Redacted deltas retain identity without inventing text.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "MessageReasoningDeltaEmitted": { "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "delta": { "type": "string" }, "contentRedacted": { "const": true }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "contentId" ], "additionalProperties": false, "title": "com.veryfront.message.reasoning.delta.emitted", "x-event-type": "com.veryfront.message.reasoning.delta.emitted", "x-envelope-required": [], "x-semantics": "Exact message/content segment identity. Reasoning content is only explicitly publishable text; provider-native signed/redacted replay material is not rendered or reclassified. Redacted deltas retain identity without inventing text.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data.", "oneOf": [ { "required": [ "delta" ], "not": { "required": [ "contentRedacted" ] } }, { "required": [ "contentRedacted" ], "not": { "required": [ "delta" ] } } ] }, "MessageReasoningEnded": { "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "contentId" ], "additionalProperties": false, "title": "com.veryfront.message.reasoning.ended", "x-event-type": "com.veryfront.message.reasoning.ended", "x-envelope-required": [], "x-semantics": "Exact message/content segment identity. Reasoning content is only explicitly publishable text; provider-native signed/redacted replay material is not rendered or reclassified. Redacted deltas retain identity without inventing text.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "MessageUrlReferenced": { "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "sourceId": { "type": "string", "minLength": 1 }, "url": { "type": "string", "format": "uri" }, "title": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "sourceId", "url" ], "additionalProperties": false, "title": "com.veryfront.message.url.referenced", "x-event-type": "com.veryfront.message.url.referenced", "x-envelope-required": [], "x-semantics": "Reference belongs to this exact message. Optional contentId scopes the segment; sourceId/URL cannot substitute for message ownership.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "MessageDocumentReferenced": { "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "sourceId": { "type": "string", "minLength": 1 }, "mediaType": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "filename": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "sourceId", "mediaType" ], "additionalProperties": false, "title": "com.veryfront.message.document.referenced", "x-event-type": "com.veryfront.message.document.referenced", "x-envelope-required": [], "x-semantics": "Document reference belongs to this exact message. Optional contentId scopes the segment; source identity is separate from message identity.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "MessageFileAttached": { "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "mediaType": { "type": "string", "minLength": 1 }, "url": { "type": "string", "format": "uri" }, "filename": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "mediaType" ], "additionalProperties": false, "title": "com.veryfront.message.file.attached", "x-event-type": "com.veryfront.message.file.attached", "x-envelope-required": [], "x-semantics": "Attachment descriptor belongs to this exact message. Optional contentId scopes the segment. Omitted URL/filename may reflect authorized descriptor-only disclosure; no missing locator is fabricated.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "StreamHeartbeatEmitted": { "type": "object", "properties": { "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [], "additionalProperties": false, "title": "com.veryfront.stream.heartbeat.emitted", "x-event-type": "com.veryfront.stream.heartbeat.emitted", "x-envelope-required": [], "x-semantics": "Optional liveness notification. It carries no execution transition, durable cursor, provider attempt or completion acknowledgement.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." }, "StreamClosed": { "type": "object", "properties": { "reason": { "anyOf": [ { "type": "string", "pattern": "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$" }, { "type": "string", "minLength": 1, "format": "uri" } ], "description": "Nonempty closure reason code. integration_auth_required is valid only when that actual stream closure is observed; waiting alone does not establish closure." }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "reason" ], "additionalProperties": false, "title": "com.veryfront.stream.closed", "x-event-type": "com.veryfront.stream.closed", "x-envelope-required": [], "x-semantics": "Optional delivery notification that this stream was observed to close for the reported reason. It establishes no paused, cancelled, succeeded or failed execution outcome. Legacy run.paused or RUN_PARKED alone is insufficient source evidence.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data." } }, "x-source-schema-id": "urn:veryfront:run-events:target:payloads:1" }}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/RunRequested
JSON
{ "type": "object", "properties": { "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [], "additionalProperties": false, "title": "com.veryfront.run.requested", "x-event-type": "com.veryfront.run.requested", "x-envelope-required": [ "runid" ], "x-semantics": "Owning run lifecycle fact. The envelope runid is authoritative. No execution snapshot or internal runtime protocol is required.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions
JSON
{ "type": "object", "propertyNames": { "type": "string", "minLength": 1, "format": "uri" }, "additionalProperties": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonObject" }, "description": "Optional producer-owned absolute URI namespaces, such as https://example.test/extensions or urn:org.example:telemetry. Each value is a JSON object; core fields remain closed. Publishing extensions still requires authorization."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonObject
JSON
{ "type": "object", "additionalProperties": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" }}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue
JSON
{ "anyOf": [ { "type": "null" }, { "type": "boolean" }, { "type": "number" }, { "type": "string" }, { "type": "array", "items": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" } }, { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonObject" } ]}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/RunEnqueued
JSON
{ "type": "object", "properties": { "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [], "additionalProperties": false, "title": "com.veryfront.run.enqueued", "x-event-type": "com.veryfront.run.enqueued", "x-envelope-required": [ "runid" ], "x-semantics": "Owning run lifecycle fact. The envelope runid is authoritative. No execution snapshot or internal runtime protocol is required.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/RunStarted
JSON
{ "type": "object", "properties": { "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [], "additionalProperties": false, "title": "com.veryfront.run.started", "x-event-type": "com.veryfront.run.started", "x-envelope-required": [ "runid" ], "x-semantics": "Owning run lifecycle fact. The envelope runid is authoritative. No execution snapshot or internal runtime protocol is required.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/RunSucceeded
JSON
{ "type": "object", "properties": { "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [], "additionalProperties": false, "title": "com.veryfront.run.succeeded", "x-event-type": "com.veryfront.run.succeeded", "x-envelope-required": [ "runid" ], "x-semantics": "Owning run lifecycle fact. The envelope runid is authoritative. No execution snapshot or internal runtime protocol is required.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/RunFailed
JSON
{ "type": "object", "properties": { "error": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ErrorInfo" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [], "additionalProperties": false, "title": "com.veryfront.run.failed", "x-event-type": "com.veryfront.run.failed", "x-envelope-required": [ "runid" ], "x-semantics": "Owning failed run transition; optional error details do not classify an unrelated transport or delivery error.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ErrorInfo
JSON
{ "type": "object", "properties": { "code": { "type": "string", "minLength": 1 }, "message": { "type": "string" } }, "required": [], "additionalProperties": false, "minProperties": 1}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/RunCancelled
JSON
{ "type": "object", "properties": { "reason": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [], "additionalProperties": false, "title": "com.veryfront.run.cancelled", "x-event-type": "com.veryfront.run.cancelled", "x-envelope-required": [ "runid" ], "x-semantics": "Owning cancelled run transition. A cancellation reason is optional and is not synthesized from every run error.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/RunLogCaptured
JSON
{ "type": "object", "properties": { "text": { "type": "string" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "text" ], "additionalProperties": false, "title": "com.veryfront.run.log.captured", "x-event-type": "com.veryfront.run.log.captured", "x-envelope-required": [ "runid" ], "x-semantics": "Captured log string. No line splitting, severity or timestamp is invented.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ChildRunReported
JSON
{ "type": "object", "properties": { "childRun": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ChildRun" }, "toolCallId": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "childRun" ], "additionalProperties": false, "title": "com.veryfront.child-run.reported", "x-event-type": "com.veryfront.child-run.reported", "x-envelope-required": [ "runid" ], "x-semantics": "Reports a real association to the recipient run named by envelope runid. It does not create a run or synthesize creator/parent ancestry. unknown must be explicitly reported; missing/unrecognized status is not defaulted.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ChildRun
JSON
{ "type": "object", "properties": { "id": { "type": "string", "minLength": 1 }, "status": { "enum": [ "queued", "running", "waiting", "succeeded", "failed", "cancelled", "unknown" ] }, "kind": { "type": "string", "minLength": 1 }, "conversationId": { "type": "string", "minLength": 1 } }, "required": [ "id", "status" ], "additionalProperties": false}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/StepStarted
JSON
{ "type": "object", "properties": { "stepId": { "type": "string", "minLength": 1 }, "name": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "stepId" ], "additionalProperties": false, "title": "com.veryfront.step.started", "x-event-type": "com.veryfront.step.started", "x-envelope-required": [ "runid" ], "x-semantics": "Exact producer-owned step occurrence scoped to the envelope runid. Outcome belongs to the owning step transition; ended does not assert a classified outcome.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/StepSucceeded
JSON
{ "type": "object", "properties": { "stepId": { "type": "string", "minLength": 1 }, "name": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "stepId" ], "additionalProperties": false, "title": "com.veryfront.step.succeeded", "x-event-type": "com.veryfront.step.succeeded", "x-envelope-required": [ "runid" ], "x-semantics": "Exact producer-owned step occurrence scoped to the envelope runid. Outcome belongs to the owning step transition; ended does not assert a classified outcome.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/StepFailed
JSON
{ "type": "object", "properties": { "stepId": { "type": "string", "minLength": 1 }, "name": { "type": "string", "minLength": 1 }, "error": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ErrorInfo" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "stepId" ], "additionalProperties": false, "title": "com.veryfront.step.failed", "x-event-type": "com.veryfront.step.failed", "x-envelope-required": [ "runid" ], "x-semantics": "Exact producer-owned step occurrence scoped to the envelope runid. Outcome belongs to the owning step transition; ended does not assert a classified outcome.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/StepCancelled
JSON
{ "type": "object", "properties": { "stepId": { "type": "string", "minLength": 1 }, "name": { "type": "string", "minLength": 1 }, "reason": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "stepId" ], "additionalProperties": false, "title": "com.veryfront.step.cancelled", "x-event-type": "com.veryfront.step.cancelled", "x-envelope-required": [ "runid" ], "x-semantics": "Exact producer-owned step occurrence scoped to the envelope runid. Outcome belongs to the owning step transition; ended does not assert a classified outcome.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/StepEnded
JSON
{ "type": "object", "properties": { "stepId": { "type": "string", "minLength": 1 }, "name": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "stepId" ], "additionalProperties": false, "title": "com.veryfront.step.ended", "x-event-type": "com.veryfront.step.ended", "x-envelope-required": [ "runid" ], "x-semantics": "Exact producer-owned step occurrence scoped to the envelope runid. Outcome belongs to the owning step transition; ended does not assert a classified outcome.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallStarted
JSON
{ "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "messageId": { "type": "string", "minLength": 1 }, "input": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" }, "toolName": { "type": "string", "minLength": 1 } }, "required": [ "toolCallId", "toolName" ], "additionalProperties": false, "title": "com.veryfront.tool-call.started", "x-event-type": "com.veryfront.tool-call.started", "x-envelope-required": [], "x-semantics": "Introduces an exact public tool-call occurrence. Introduction and input assembly do not prove tool execution.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallArgumentsDeltaEmitted
JSON
{ "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "delta": { "type": "string" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "toolCallId", "delta" ], "additionalProperties": false, "title": "com.veryfront.tool-call.arguments.delta.emitted", "x-event-type": "com.veryfront.tool-call.arguments.delta.emitted", "x-envelope-required": [], "x-semantics": "Argument string fragment for the same public toolCallId. It is not a tool output or execution outcome.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallArgumentsEnded
JSON
{ "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "input": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "toolCallId" ], "additionalProperties": false, "title": "com.veryfront.tool-call.arguments.ended", "x-event-type": "com.veryfront.tool-call.arguments.ended", "x-envelope-required": [], "x-semantics": "Argument assembly ended. Optional input is included only when the completed value is known; no execution completion is inferred.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallRefused
JSON
{ "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "reason": { "anyOf": [ { "enum": [ "missing_integration_connection", "permission_denied", "budget_exhausted", "invalid_input" ] }, { "type": "string", "minLength": 1, "format": "uri" } ], "description": "Reported classified refusal code. Common codes or an absolute URI identifying a producer-defined code; arbitrary error text is not a code." }, "integration": { "type": "string", "minLength": 1 }, "message": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" }, "toolName": { "type": "string", "minLength": 1 } }, "required": [ "toolCallId", "reason" ], "additionalProperties": false, "title": "com.veryfront.tool-call.refused", "x-event-type": "com.veryfront.tool-call.refused", "x-envelope-required": [], "x-semantics": "Owning executor refused this exact call for the reported classified reason. It does not prove a provider attempt, a generic call end or run failure.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallStatusReported
JSON
{ "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "status": { "enum": [ "introduced", "argumentsReady", "queued", "running", "waiting", "succeeded", "failed", "cancelled", "refused", "unknown" ] }, "message": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "toolCallId", "status" ], "additionalProperties": false, "title": "com.veryfront.tool-call.status.reported", "x-event-type": "com.veryfront.tool-call.status.reported", "x-envelope-required": [], "x-semantics": "Explicit reported status for the exact call. Terminal execution statuses require owning execution evidence; unknown is never a default for missing/unrecognized source text.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallResultRecorded
JSON
{ "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "output": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" }, "outputRedacted": { "const": true }, "isError": { "type": "boolean" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "toolCallId" ], "additionalProperties": false, "title": "com.veryfront.tool-call.result.recorded", "x-event-type": "com.veryfront.tool-call.result.recorded", "x-envelope-required": [], "x-semantics": "Exact call result recorded. Result recording/submission is not proof of execution success or receiver delivery. isError is included only when explicitly reported; unknown is omitted.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data.", "oneOf": [ { "required": [ "output" ], "not": { "required": [ "outputRedacted" ] } }, { "required": [ "outputRedacted" ], "not": { "required": [ "output" ] } } ]}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallResultSubmitted
JSON
{ "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "output": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" }, "outputRedacted": { "const": true }, "isError": { "type": "boolean" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "toolCallId" ], "additionalProperties": false, "title": "com.veryfront.tool-call.result.submitted", "x-event-type": "com.veryfront.tool-call.result.submitted", "x-envelope-required": [], "x-semantics": "Exact call result submitted. Result recording/submission is not proof of execution success or receiver delivery. isError is included only when explicitly reported; unknown is omitted.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data.", "oneOf": [ { "required": [ "output" ], "not": { "required": [ "outputRedacted" ] } }, { "required": [ "outputRedacted" ], "not": { "required": [ "output" ] } } ]}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ToolCallResultDeliveryFailed
JSON
{ "type": "object", "properties": { "toolCallId": { "type": "string", "minLength": 1 }, "error": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ErrorInfo" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "toolCallId" ], "additionalProperties": false, "title": "com.veryfront.tool-call.result.delivery.failed", "x-event-type": "com.veryfront.tool-call.result.delivery.failed", "x-envelope-required": [], "x-semantics": "The result delivery failed for this exact call; transport/receiver delivery failure does not establish tool execution failure or run failure.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ModelCallInputCaptured
JSON
{ "type": "object", "properties": { "model": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ModelDescriptor" }, "input": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ModelInput" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "model", "input" ], "additionalProperties": false, "title": "com.veryfront.model-call.input.captured", "x-event-type": "com.veryfront.model-call.input.captured", "x-envelope-required": [ "modelcallid" ], "x-semantics": "Captured model input linked by envelope modelcallid; attemptid is included only if the exact provider attempt is known. Provider-native input JSON is intentional data, not an AG-UI or Veryfront wrapper.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ModelDescriptor
JSON
{ "type": "object", "properties": { "provider": { "type": "string", "minLength": 1 }, "name": { "type": "string", "minLength": 1 } }, "required": [ "provider", "name" ], "additionalProperties": false}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ModelInput
JSON
{ "oneOf": [ { "type": "object", "properties": { "messages": { "type": "array", "items": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" } }, "tools": { "type": "array", "items": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" } }, "parameters": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonObject" } }, "required": [ "messages" ], "additionalProperties": false }, { "type": "object", "properties": { "redacted": { "const": true } }, "required": [ "redacted" ], "additionalProperties": false } ], "description": "Full captured model input or an explicit authorized redaction. Redaction is not missing-input recovery."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ModelCallUsageRecorded
JSON
{ "type": "object", "properties": { "model": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/ModelDescriptor" }, "tokens": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/TokenUsage" }, "durationMs": { "type": "number", "minimum": 0, "description": "Measured wall time for the stated scope: attempt dispatch to final response/error, or first call dispatch to final completion including retries and waits. Excludes preparation; omit when boundaries were not measured." }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" }, "scope": { "enum": [ "attempt", "call" ], "description": "Accounting scope. attempt requires exact envelope attemptid; call is an actual call aggregate and omits attemptid. Missing identity never selects a scope." } }, "required": [ "model", "tokens", "scope" ], "additionalProperties": false, "title": "com.veryfront.model-call.usage.recorded", "x-event-type": "com.veryfront.model-call.usage.recorded", "x-envelope-required": [ "modelcallid" ], "x-semantics": "Reported token usage for an actual known attempt or call accounting bucket, selected by scope and linked by envelope modelcallid. Attempt scope additionally requires exact attemptid. Call aggregates and their constituent attempts are alternative accounting views and must not be added together. Unknown bucket or required counters prevents canonical publication; no provider attempt, call aggregate, total or billing value is invented.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data.", "x-attempt-scope-envelope-required": [ "attemptid" ]}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/TokenUsage
JSON
{ "type": "object", "properties": { "input": { "type": "integer", "minimum": 0 }, "output": { "type": "integer", "minimum": 0 }, "total": { "type": "integer", "minimum": 0 }, "cacheRead": { "type": "integer", "minimum": 0 }, "cacheWrite": { "type": "integer", "minimum": 0 }, "reasoning": { "type": "integer", "minimum": 0 } }, "required": [ "input", "output" ], "additionalProperties": false, "description": "Input/output token counts are the base counters. cacheRead and cacheWrite are subsets of input; reasoning is a subset of output. These counters are not additive charges and must not be added to input/output or total. Optional total is actually reported, not synthesized. Cross-field subset bounds are semantic conformance checks.", "x-semantic-constraints": [ "cacheRead <= input when present", "cacheWrite <= input when present", "reasoning <= output when present" ]}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestCreated
JSON
{ "type": "object", "properties": { "inputRequest": { "oneOf": [ { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestSnapshot" }, { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestReference" } ] }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "inputRequest" ], "additionalProperties": false, "title": "com.veryfront.input-request.created", "x-event-type": "com.veryfront.input-request.created", "x-envelope-required": [], "x-semantics": "Typed authorized snapshot or resolvable reference. Created snapshots show open initial state. Updated snapshots show authoritative after-state; updated references require a nonempty typed change set. Optional details may be absent/redacted, but ID and typed state/reference remain meaningful.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data.", "allOf": [ { "if": { "properties": { "inputRequest": { "required": [ "status" ] } }, "required": [ "inputRequest" ] }, "then": { "properties": { "inputRequest": { "properties": { "status": { "const": "open" } } } } } } ]}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestSnapshot
JSON
{ "type": "object", "properties": { "id": { "type": "string", "minLength": 1 }, "status": { "enum": [ "open", "submitted", "cancelled", "expired" ] }, "title": { "type": "string", "minLength": 1 }, "description": { "type": "string" }, "fields": { "type": "array", "items": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputField" }, "minItems": 1 }, "schema": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonObject" }, "response": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" }, "expiresAt": { "type": "string", "format": "date-time" }, "toolCallId": { "type": "string", "minLength": 1, "description": "Exact logical tool-call occurrence that created the request, when known. Immutable; provider-local IDs do not establish this relation." } }, "required": [ "id", "status" ], "additionalProperties": false}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputField
JSON
{ "type": "object", "properties": { "name": { "type": "string", "minLength": 1 }, "type": { "type": "string", "minLength": 1 }, "label": { "type": "string", "minLength": 1 }, "required": { "type": "boolean" }, "options": { "type": "array", "items": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" } } }, "required": [ "name", "type" ], "additionalProperties": false}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestReference
JSON
{ "type": "object", "properties": { "id": { "type": "string", "minLength": 1 }, "uri": { "type": "string", "format": "uri" }, "toolCallId": { "type": "string", "minLength": 1, "description": "Exact logical tool-call occurrence that created the request, when known. Immutable; provider-local IDs do not establish this relation." } }, "required": [ "id", "uri" ], "additionalProperties": false}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestUpdated
JSON
{ "type": "object", "properties": { "inputRequest": { "oneOf": [ { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestSnapshot" }, { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestReference" } ] }, "changes": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestChanges" }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "inputRequest" ], "additionalProperties": false, "title": "com.veryfront.input-request.updated", "x-event-type": "com.veryfront.input-request.updated", "x-envelope-required": [], "x-semantics": "Typed authorized snapshot or resolvable reference. Updated snapshots are the whole authoritative after-state and prohibit changes. Updated references require a nonempty typed change set. Optional details may be absent/redacted, but ID and typed state/reference remain meaningful.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data.", "allOf": [ { "if": { "properties": { "inputRequest": { "required": [ "uri" ] } }, "required": [ "inputRequest" ] }, "then": { "required": [ "changes" ] }, "else": { "not": { "required": [ "changes" ] } } } ]}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputRequestChanges
JSON
{ "type": "object", "properties": { "status": { "enum": [ "open", "submitted", "cancelled", "expired" ] }, "title": { "type": "string", "minLength": 1 }, "description": { "type": [ "string", "null" ] }, "fields": { "type": "array", "items": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/InputField" }, "minItems": 1 }, "schema": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonObject" }, "response": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/JsonValue" }, "expiresAt": { "type": [ "string", "null" ], "format": "date-time" } }, "required": [], "additionalProperties": false, "minProperties": 1}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageTextStarted
JSON
{ "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "role": { "enum": [ "assistant", "user", "system", "developer", "tool" ] }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "contentId" ], "additionalProperties": false, "title": "com.veryfront.message.text.started", "x-event-type": "com.veryfront.message.text.started", "x-envelope-required": [], "x-semantics": "Exact message/content segment identity. Reasoning content is only explicitly publishable text; provider-native signed/redacted replay material is not rendered or reclassified. Redacted deltas retain identity without inventing text.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageTextDeltaEmitted
JSON
{ "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "delta": { "type": "string" }, "contentRedacted": { "const": true }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "contentId" ], "additionalProperties": false, "title": "com.veryfront.message.text.delta.emitted", "x-event-type": "com.veryfront.message.text.delta.emitted", "x-envelope-required": [], "x-semantics": "Exact message/content segment identity. Reasoning content is only explicitly publishable text; provider-native signed/redacted replay material is not rendered or reclassified. Redacted deltas retain identity without inventing text.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data.", "oneOf": [ { "required": [ "delta" ], "not": { "required": [ "contentRedacted" ] } }, { "required": [ "contentRedacted" ], "not": { "required": [ "delta" ] } } ]}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageTextEnded
JSON
{ "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "contentId" ], "additionalProperties": false, "title": "com.veryfront.message.text.ended", "x-event-type": "com.veryfront.message.text.ended", "x-envelope-required": [], "x-semantics": "Exact message/content segment identity. Reasoning content is only explicitly publishable text; provider-native signed/redacted replay material is not rendered or reclassified. Redacted deltas retain identity without inventing text.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageReasoningStarted
JSON
{ "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "contentId" ], "additionalProperties": false, "title": "com.veryfront.message.reasoning.started", "x-event-type": "com.veryfront.message.reasoning.started", "x-envelope-required": [], "x-semantics": "Exact message/content segment identity. Reasoning content is only explicitly publishable text; provider-native signed/redacted replay material is not rendered or reclassified. Redacted deltas retain identity without inventing text.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageReasoningDeltaEmitted
JSON
{ "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "delta": { "type": "string" }, "contentRedacted": { "const": true }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "contentId" ], "additionalProperties": false, "title": "com.veryfront.message.reasoning.delta.emitted", "x-event-type": "com.veryfront.message.reasoning.delta.emitted", "x-envelope-required": [], "x-semantics": "Exact message/content segment identity. Reasoning content is only explicitly publishable text; provider-native signed/redacted replay material is not rendered or reclassified. Redacted deltas retain identity without inventing text.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data.", "oneOf": [ { "required": [ "delta" ], "not": { "required": [ "contentRedacted" ] } }, { "required": [ "contentRedacted" ], "not": { "required": [ "delta" ] } } ]}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageReasoningEnded
JSON
{ "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "contentId" ], "additionalProperties": false, "title": "com.veryfront.message.reasoning.ended", "x-event-type": "com.veryfront.message.reasoning.ended", "x-envelope-required": [], "x-semantics": "Exact message/content segment identity. Reasoning content is only explicitly publishable text; provider-native signed/redacted replay material is not rendered or reclassified. Redacted deltas retain identity without inventing text.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageUrlReferenced
JSON
{ "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "sourceId": { "type": "string", "minLength": 1 }, "url": { "type": "string", "format": "uri" }, "title": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "sourceId", "url" ], "additionalProperties": false, "title": "com.veryfront.message.url.referenced", "x-event-type": "com.veryfront.message.url.referenced", "x-envelope-required": [], "x-semantics": "Reference belongs to this exact message. Optional contentId scopes the segment; sourceId/URL cannot substitute for message ownership.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageDocumentReferenced
JSON
{ "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "sourceId": { "type": "string", "minLength": 1 }, "mediaType": { "type": "string", "minLength": 1 }, "title": { "type": "string", "minLength": 1 }, "filename": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "sourceId", "mediaType" ], "additionalProperties": false, "title": "com.veryfront.message.document.referenced", "x-event-type": "com.veryfront.message.document.referenced", "x-envelope-required": [], "x-semantics": "Document reference belongs to this exact message. Optional contentId scopes the segment; source identity is separate from message identity.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/MessageFileAttached
JSON
{ "type": "object", "properties": { "messageId": { "type": "string", "minLength": 1 }, "contentId": { "type": "string", "minLength": 1 }, "mediaType": { "type": "string", "minLength": 1 }, "url": { "type": "string", "format": "uri" }, "filename": { "type": "string", "minLength": 1 }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "messageId", "mediaType" ], "additionalProperties": false, "title": "com.veryfront.message.file.attached", "x-event-type": "com.veryfront.message.file.attached", "x-envelope-required": [], "x-semantics": "Attachment descriptor belongs to this exact message. Optional contentId scopes the segment. Omitted URL/filename may reflect authorized descriptor-only disclosure; no missing locator is fabricated.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/StreamHeartbeatEmitted
JSON
{ "type": "object", "properties": { "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [], "additionalProperties": false, "title": "com.veryfront.stream.heartbeat.emitted", "x-event-type": "com.veryfront.stream.heartbeat.emitted", "x-envelope-required": [], "x-semantics": "Optional liveness notification. It carries no execution transition, durable cursor, provider attempt or completion acknowledgement.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/StreamClosed
JSON
{ "type": "object", "properties": { "reason": { "anyOf": [ { "type": "string", "pattern": "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$" }, { "type": "string", "minLength": 1, "format": "uri" } ], "description": "Nonempty closure reason code. integration_auth_required is valid only when that actual stream closure is observed; waiting alone does not establish closure." }, "extensions": { "$ref": "#/components/schemas/TargetRunEvent/x-agent-event-payload-schemas/$defs/Extensions" } }, "required": [ "reason" ], "additionalProperties": false, "title": "com.veryfront.stream.closed", "x-event-type": "com.veryfront.stream.closed", "x-envelope-required": [], "x-semantics": "Optional delivery notification that this stream was observed to close for the reported reason. It establishes no paused, cancelled, succeeded or failed execution outcome. Legacy run.paused or RUN_PARKED alone is insufficient source evidence.", "x-data-omission": "Only declared optional fields may be omitted. Unknown required evidence is not defaulted; redaction alternatives, where present, are explicit. This is not a type-only fallback for malformed source data."}components/schemas/TargetRunProblem
JSON
{ "type": "object", "properties": { "type": { "type": "string", "description": "Problem type URI reference." }, "title": { "type": "string" }, "status": { "type": "integer", "minimum": 400, "maximum": 599, "format": "int64" }, "code": { "type": "string", "minLength": 1, "maxLength": 128 }, "cause": { "type": "string", "enum": [ "schedule_concurrency_forbidden", "schedule_fire_in_progress", "schedule_run_limit_reached" ], "description": "Schedule admission refusal." }, "detail": { "type": "string" }, "instance": { "type": "string" }, "errors": { "type": "array", "items": { "type": "object", "properties": { "field": { "type": "string" }, "message": { "type": "string" } }, "required": [ "field", "message" ] } } }, "required": [ "type", "title", "status", "code" ]}components/schemas/CanonicalV1Error
JSON
{ "type": "object", "properties": { "code": { "type": "string", "enum": [ "INVALID_EVENT_REQUEST", "UNKNOWN_RUN_EVENT_TYPE", "AMBIGUOUS_RUN_EVENT_TYPE_ALIAS", "EVENT_NOT_FOUND", "CANONICAL_FILTER_UNRESOLVED", "EVENT_KEY_CONFLICT", "UNSAFE_EVENT_ID", "DURABLE_STREAM_UNAVAILABLE", "EVENT_READ_FAILED" ] }, "message": { "type": "string" }, "event_ids": { "type": "array", "items": { "type": "integer", "exclusiveMinimum": 0, "minimum": -9007199254740991, "maximum": 9007199254740991 }, "maxItems": 100 } }, "required": [ "code", "message" ], "additionalProperties": false}Operation contract
JSON
{ "operationId": "listRunEvents", "security": [ { "bearerAuth": [] }, { "apiKeyAuth": [] }, { "runExecutionAuth": [] } ], "tags": [ "execution/Runs/Run Events" ], "summary": "List run events", "description": "Read run event details: errors, steps, model calls and tool results, paginated by canonical UUID; MODEL_CALL_COMPLETED reports per-call usage.", "parameters": [ { "schema": { "type": "string", "minLength": 1, "description": "Run UUID, or the public run id (run_…) that run lists and getRun carry as run_id. Normal callers need access to the run owner and project.runs.read. A bound eval runtime may instead read its authorized direct agent child." }, "required": true, "description": "Run UUID, or the public run id (run_…) that run lists and getRun carry as run_id. Normal callers need access to the run owner and project.runs.read. A bound eval runtime may instead read its authorized direct agent child.", "name": "run_id", "in": "path" }, { "schema": { "anyOf": [ { "type": "string", "enum": [ "run-events-v1" ], "description": "Use `run-events-v1` to receive Agent Events Protocol CloudEvents with opaque page cursors. Omit it to keep the released run-event row contract." }, { "type": "string", "enum": [ "canonical-v1" ] } ], "description": "Use `run-events-v1` to receive Agent Events Protocol CloudEvents with opaque page cursors. Omit it to keep the released run-event row contract." }, "required": false, "description": "Use `run-events-v1` to receive Agent Events Protocol CloudEvents with opaque page cursors. Omit it to keep the released run-event row contract.", "name": "event_representation", "in": "query" }, { "schema": { "type": "string", "description": "The previous page’s continuation cursor. Released row reads use a positive event_id. With event_representation=run-events-v1, this is the opaque `page_info.next_cursor` token from the previous target page." }, "required": false, "description": "Opaque `page_info.next` cursor. Reuse it with the same filters, sort order and descendant scope.", "name": "cursor", "in": "query" }, { "schema": { "anyOf": [ { "type": "integer", "minimum": 1, "maximum": 100, "default": 20, "description": "Maximum number of records in a page, from 1 to 100. Defaults to 20.", "format": "int32" }, { "anyOf": [ { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, { "type": "string", "pattern": "^\\d+$" } ] } ], "default": 20, "description": "Maximum number of records in a page, from 1 to 100. Defaults to 20.", "format": "int32" }, "required": false, "description": "Maximum number of records in a page, from 1 to 100. Defaults to 20.", "name": "limit", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "enum": [ "asc", "desc" ], "default": "asc", "description": "Event order by durable event id. `asc` returns older events first; `desc` returns newer events first. Defaults to `asc`." }, { "type": "string", "enum": [ "asc", "desc" ] } ], "default": "asc", "description": "Event order by durable event id. `asc` returns older events first; `desc` returns newer events first. Defaults to `asc`." }, "required": false, "description": "Event order by durable event id. `asc` returns older events first; `desc` returns newer events first. Defaults to `asc`.", "name": "sort_order", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "enum": [ "fact", "delta" ], "description": "Event class to include: `fact` for state changes or `delta` for streaming fragments. If omitted, returns both." }, { "type": "string", "enum": [ "fact", "delta" ] } ], "description": "Event class to include: `fact` for state changes or `delta` for streaming fragments. If omitted, returns both." }, "required": false, "description": "The event class associated with this record.", "name": "event_class", "in": "query" }, { "schema": { "anyOf": [ { "type": "array", "items": { "type": "string" }, "maxItems": 32 }, { "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] } ] }, "required": false, "description": "Filter by event_type. Repeat the query parameter for multiple values; comma-separated values remain a compatibility alias. Values within this filter use OR; different filters use AND.", "style": "form", "explode": true, "name": "event_type", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "description": "If true, returns only events with `is_error: true`. If false, returns other events. If omitted, returns both.", "enum": [ "true", "false" ] }, { "anyOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false" ] } ] } ], "description": "If true, returns only events with `is_error: true`. If false, returns other events. If omitted, returns both." }, "required": false, "description": "If true, returns only events with `is_error: true`. If false, returns other events. If omitted, returns both.", "name": "is_error", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "format": "date-time", "description": "Only events created at or after this instant (ISO 8601 with a UTC offset, inclusive). A summary bucket start can be sent as is." }, { "type": "string" } ], "description": "Only events created at or after this instant (ISO 8601 with a UTC offset, inclusive). A summary bucket start can be sent as is." }, "required": false, "description": "Only events created at or after this instant (ISO 8601 with a UTC offset, inclusive). A summary bucket start can be sent as is.", "name": "start", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "format": "date-time", "description": "Only events created before this instant (ISO 8601 with a UTC offset, exclusive). Must be later than start. A summary bucket end can be sent as is." }, { "type": "string" } ], "description": "Only events created before this instant (ISO 8601 with a UTC offset, exclusive). Must be later than start. A summary bucket end can be sent as is." }, "required": false, "description": "Only events created before this instant (ISO 8601 with a UTC offset, exclusive). Must be later than start. A summary bucket end can be sent as is.", "name": "end", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "minLength": 1, "description": "Only events whose envelope span_id, as served to the caller, is exactly this value (tool:<id>, message:<id>, step:<id>, input_request:<id>, run:<id>, with a non-empty <id>)." }, { "type": "string" } ], "description": "Only events whose envelope span_id, as served to the caller, is exactly this value (tool:<id>, message:<id>, step:<id>, input_request:<id>, run:<id>, with a non-empty <id>)." }, "required": false, "description": "Only events whose envelope span_id, as served to the caller, is exactly this value (tool:<id>, message:<id>, step:<id>, input_request:<id>, run:<id>, with a non-empty <id>).", "name": "span_id", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "minLength": 1, "description": "Only events whose envelope turn_id, as served to the caller, is exactly this value (message:<id>, with a non-empty <id>)." }, { "type": "string" } ], "description": "Only events whose envelope turn_id, as served to the caller, is exactly this value (message:<id>, with a non-empty <id>)." }, "required": false, "description": "Only events whose envelope turn_id, as served to the caller, is exactly this value (message:<id>, with a non-empty <id>).", "name": "turn_id", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "minLength": 1, "maxLength": 200, "description": "Case-insensitive substring of the event payload JSON as served to the caller (1-200 characters after trimming, matched literally)." }, { "type": "string" } ], "description": "Case-insensitive substring of the event payload JSON as served to the caller (1-200 characters after trimming, matched literally)." }, "required": false, "description": "Case-insensitive substring of the event payload JSON as served to the caller (1-200 characters after trimming, matched literally).", "name": "search", "in": "query" }, { "schema": { "anyOf": [ { "type": "string", "description": "If true, includes events from readable descendant runs, up to 16 generations. Results share one `event_id` order and cursor. Each event retains its `run_id` and the payload visibility permitted for that run. Runs the caller cannot read are excluded. Defaults to false.\n\nIf at least one descendant is included, task or workflow runs without stored events do not contribute synthetic lifecycle events. Event IDs are allocated before commit. During active writes, ascending pagination can pass an ID that another run commits later.", "enum": [ "true", "false" ], "default": "false" }, { "anyOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "true", "false" ] } ] } ], "default": "false", "description": "If true, includes events from readable descendant runs, up to 16 generations. Results share one `event_id` order and cursor. Each event retains its `run_id` and the payload visibility permitted for that run. Runs the caller cannot read are excluded. Defaults to false.\n\nIf at least one descendant is included, task or workflow runs without stored events do not contribute synthetic lifecycle events. Event IDs are allocated before commit. During active writes, ascending pagination can pass an ID that another run commits later." }, "required": false, "description": "If true, includes events from readable descendant runs, up to 16 generations. Results share one `event_id` order and cursor. Each event retains its `run_id` and the payload visibility permitted for that run. Runs the caller cannot read are excluded. Defaults to false.\n\nIf at least one descendant is included, task or workflow runs without stored events do not contribute synthetic lifecycle events. Event IDs are allocated before commit. During active writes, ascending pagination can pass an ID that another run commits later.", "name": "include_descendants", "in": "query" }, { "schema": { "anyOf": [ { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, { "type": "string", "pattern": "^\\d+$" }, { "type": "null" } ] }, "required": false, "name": "after_event_id", "in": "query" }, { "schema": { "type": "string", "enum": [ "run-events-descendants-v1" ] }, "required": false, "name": "cursor_profile", "in": "query" } ], "responses": { "200": { "description": "Run events. Editors read diagnostic payloads; viewers read public ones.", "content": { "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/ListRunEventsResponse" }, { "$ref": "#/components/schemas/TargetRunEventsResponse" }, { "type": "object", "properties": { "entries": { "type": "array", "items": { "oneOf": [ { "type": "object", "properties": { "kind": { "type": "string", "enum": [ "canonical" ] }, "event": { "type": "object", "properties": { "specversion": { "type": "string", "enum": [ "1.0" ] }, "vfversion": { "type": "string", "enum": [ "1" ] }, "id": { "type": "string" }, "source": { "type": "string" }, "subject": { "type": "string", "minLength": 1 }, "type": { "type": "string", "minLength": 1 }, "datacontenttype": { "type": "string", "enum": [ "application/json" ] }, "dataschema": { "type": "string" }, "data": { "type": "object", "additionalProperties": {} }, "runid": { "type": "string", "minLength": 1 }, "recordedat": { "type": "string", "format": "date-time" } }, "required": [ "specversion", "vfversion", "id", "source", "subject", "type", "datacontenttype", "dataschema", "data", "runid", "recordedat" ], "additionalProperties": {} }, "metadata": { "type": "object", "properties": { "event_id": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "run_id": { "type": "string", "minLength": 1 }, "storage": { "type": "string", "enum": [ "persisted" ] }, "view": { "type": "string", "enum": [ "public", "diagnostic" ] }, "recorded_at": { "type": "string", "format": "date-time" }, "event_class": { "type": [ "string", "null" ], "enum": [ "fact", "delta", null ] }, "is_error": { "type": [ "boolean", "null" ] }, "span_id": { "type": [ "string", "null" ], "minLength": 1 }, "turn_id": { "type": [ "string", "null" ], "minLength": 1 }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "origin": {} }, "required": [ "event_id", "run_id", "storage", "view", "recorded_at", "event_class", "is_error", "span_id", "turn_id", "unrecoverable_fields" ], "additionalProperties": false } }, "required": [ "kind", "event", "metadata" ], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "enum": [ "legacy" ] }, "reason": { "type": "string", "enum": [ "unknown_type", "reserved_type", "blocked_type", "unclassified_outcome", "unclassified_request", "unclassified_dispatch", "malformed_payload", "discriminator_conflict", "unavailable_converter", "derived_history", "unprojectable_view" ] }, "legacy": { "type": "object", "properties": { "event_type": { "type": "string", "minLength": 1 }, "payload": {} }, "required": [ "event_type", "payload" ], "additionalProperties": false }, "metadata": { "type": "object", "properties": { "event_id": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "run_id": { "type": "string", "minLength": 1 }, "storage": { "type": "string", "enum": [ "persisted", "derived" ] }, "view": { "type": "string", "enum": [ "public", "diagnostic" ] }, "recorded_at": { "type": [ "string", "null" ], "format": "date-time" }, "event_class": { "type": [ "string", "null" ], "enum": [ "fact", "delta", null ] }, "is_error": { "type": [ "boolean", "null" ] }, "span_id": { "type": [ "string", "null" ], "minLength": 1 }, "turn_id": { "type": [ "string", "null" ], "minLength": 1 }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "origin": {} }, "required": [ "event_id", "run_id", "storage", "view", "recorded_at", "event_class", "is_error", "span_id", "turn_id", "unrecoverable_fields" ], "additionalProperties": false } }, "required": [ "kind", "reason", "legacy", "metadata" ], "additionalProperties": false } ] }, "maxItems": 100 }, "next_cursor": { "type": [ "string", "null" ] }, "has_more": { "type": "boolean" } }, "required": [ "entries", "next_cursor", "has_more" ], "additionalProperties": false }, { "type": "object", "properties": { "cursor_profile": { "type": "string", "enum": [ "run-events-descendants-v1" ] }, "entries": { "type": "array", "items": { "oneOf": [ { "type": "object", "properties": { "kind": { "type": "string", "enum": [ "canonical" ] }, "event": { "type": "object", "properties": { "specversion": { "type": "string", "enum": [ "1.0" ] }, "vfversion": { "type": "string", "enum": [ "1" ] }, "id": { "type": "string" }, "source": { "type": "string" }, "subject": { "type": "string", "minLength": 1 }, "type": { "type": "string", "minLength": 1 }, "datacontenttype": { "type": "string", "enum": [ "application/json" ] }, "dataschema": { "type": "string" }, "data": { "type": "object", "additionalProperties": {} }, "runid": { "type": "string", "minLength": 1 }, "recordedat": { "type": "string", "format": "date-time" } }, "required": [ "specversion", "vfversion", "id", "source", "subject", "type", "datacontenttype", "dataschema", "data", "runid", "recordedat" ], "additionalProperties": {} }, "metadata": { "type": "object", "properties": { "event_id": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "run_id": { "type": "string", "minLength": 1 }, "storage": { "type": "string", "enum": [ "persisted" ] }, "view": { "type": "string", "enum": [ "public", "diagnostic" ] }, "recorded_at": { "type": "string", "format": "date-time" }, "event_class": { "type": [ "string", "null" ], "enum": [ "fact", "delta", null ] }, "is_error": { "type": [ "boolean", "null" ] }, "span_id": { "type": [ "string", "null" ], "minLength": 1 }, "turn_id": { "type": [ "string", "null" ], "minLength": 1 }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "origin": {} }, "required": [ "event_id", "run_id", "storage", "view", "recorded_at", "event_class", "is_error", "span_id", "turn_id", "unrecoverable_fields" ], "additionalProperties": false } }, "required": [ "kind", "event", "metadata" ], "additionalProperties": false }, { "type": "object", "properties": { "kind": { "type": "string", "enum": [ "legacy" ] }, "reason": { "type": "string", "enum": [ "unknown_type", "reserved_type", "blocked_type", "unclassified_outcome", "unclassified_request", "unclassified_dispatch", "malformed_payload", "discriminator_conflict", "unavailable_converter", "derived_history", "unprojectable_view" ] }, "legacy": { "type": "object", "properties": { "event_type": { "type": "string", "minLength": 1 }, "payload": {} }, "required": [ "event_type", "payload" ], "additionalProperties": false }, "metadata": { "type": "object", "properties": { "event_id": { "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "run_id": { "type": "string", "minLength": 1 }, "storage": { "type": "string", "enum": [ "persisted", "derived" ] }, "view": { "type": "string", "enum": [ "public", "diagnostic" ] }, "recorded_at": { "type": [ "string", "null" ], "format": "date-time" }, "event_class": { "type": [ "string", "null" ], "enum": [ "fact", "delta", null ] }, "is_error": { "type": [ "boolean", "null" ] }, "span_id": { "type": [ "string", "null" ], "minLength": 1 }, "turn_id": { "type": [ "string", "null" ], "minLength": 1 }, "unrecoverable_fields": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "origin": {} }, "required": [ "event_id", "run_id", "storage", "view", "recorded_at", "event_class", "is_error", "span_id", "turn_id", "unrecoverable_fields" ], "additionalProperties": false } }, "required": [ "kind", "reason", "legacy", "metadata" ], "additionalProperties": false } ] }, "maxItems": 100 }, "next_cursor": { "type": [ "string", "null" ], "maxLength": 2048 }, "has_more": { "type": "boolean" } }, "required": [ "cursor_profile", "entries", "next_cursor", "has_more" ], "additionalProperties": false } ] }, "examples": { "example": { "summary": "Example response", "value": { "data": [ { "event_id": 42, "event_type": "MODEL_CALL_COMPLETED", "payload": { "type": "MODEL_CALL_COMPLETED", "provider": "example-provider", "model": "example-model", "inputTokens": 120, "outputTokens": 30, "cacheCreationTokens": 0, "cacheReadTokens": 0, "totalTokens": 150, "costCredits": "0.001", "latencyMs": 800, "usageCaptureStatus": "complete", "providerRequestId": "request_example", "modelCallContextEventId": null }, "is_error": false, "created_at": "2026-10-02T10:00:00Z", "run_id": "11111111-1111-4111-8111-111111111111", "event_class": "fact", "span_id": "span_example", "parent_span_id": null, "turn_id": null, "origin_event_type": "MODEL_CALL_COMPLETED", "origin_custom_name": null, "unrecoverable_fields": [] } ], "page_info": { "next": null } } } } } } }, "400": { "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 400 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } } }, "401": { "description": "Unauthorized", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 401 } } } ] } } } }, "403": { "description": "Forbidden", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 403 } } } ] } } } }, "404": { "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 404 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } } }, "409": { "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 409 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } } }, "422": { "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 422 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } } }, "429": { "description": "Rate limit exceeded", "headers": { "Retry-After": { "schema": { "type": "integer", "format": "int32", "minimum": 1 } } }, "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 429 } } } ] } } } }, "500": { "description": "Canonical Events v1 refusal", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 500 } } } ] } }, "application/json": { "schema": { "$ref": "#/components/schemas/CanonicalV1Error" } } } }, "503": { "description": "Service unavailable", "content": { "application/problem+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/TargetRunProblem" }, { "properties": { "status": { "const": 503 } } } ] } } } } }, "x-documentation-source-tag": "Run events", "x-canonical-documentation": { "domain": "execution", "resource": "Runs", "subgroup": "Run Events", "name": "List run events", "description": "Read run event details: errors, steps, model calls and tool results, paginated by canonical UUID; MODEL_CALL_COMPLETED reports per-call usage.", "operationId": "listRunEvents" }, "x-mint": { "href": "/cloud/rest/api-reference/execution-runs-run-events/list-run-events" }}