Skip to content

telemetryEventSchema

const telemetryEventSchema: object

The JSON Schemas those models were generated from, for runtime use.

readonly $id: "https://schemas.inderun.dev/1.0/telemetry-event.schema.json"

readonly $schema: "https://json-schema.org/draft/2020-12/schema"

readonly additionalProperties: true

readonly description: "Normalized telemetry event emitted by the orchestrator and providers."

readonly properties: object

readonly payload: object

readonly additionalProperties: true

readonly description: "Event-specific metadata. It must not contain prompt payloads or raw secrets."

readonly type: "object"

readonly runId: object

readonly description: "Opaque run identifier associated with this execution event."

readonly minLength: 1

readonly type: "string"

readonly timestamp: object

readonly description: "Wall-clock event timestamp in Unix epoch milliseconds."

readonly minimum: 0

readonly type: "number"

readonly type: object

readonly description: "Telemetry event kind emitted by the orchestrator or provider integration."

readonly enum: readonly ["route_decided", "attempt_succeeded", "attempt_failed", "stream_attempt_started", "stream_attempt_succeeded", "stream_attempt_failed", "stream_completed", "stream_failed", "stream_cancelled"]

readonly title: "TelemetryEventType"

readonly required: readonly ["type", "runId", "timestamp", "payload"]

readonly title: "TelemetryEvent"

readonly type: "object"