streamRunSchema
conststreamRunSchema:object
The JSON Schemas those models were generated from, for runtime use.
Type Declaration
Section titled “Type Declaration”
readonly$id:"https://schemas.inderun.dev/1.0/stream-run.schema.json"
$schema
Section titled “$schema”
readonly$schema:"https://json-schema.org/draft/2020-12/schema"
additionalProperties
Section titled “additionalProperties”
readonlyadditionalProperties:true
description
Section titled “description”
readonlydescription:"The serializable acknowledgment returned when a Mode 2 stream is opened, before any StreamEvent has arrived. This is the identity/correlation contract only: the live, consumable stream itself is a platform-idiomatic construct (an AsyncIterable<StreamEvent> in TypeScript, a Flow<StreamEvent> in Kotlin, an AsyncThrowingStream<StreamEvent, Error> in Swift) that is never serialized and is out of scope for this schema. Design seam only; no engine or provider implementation exists yet (see docs/architecture/architecture.md)."
properties
Section titled “properties”
readonlyproperties:object
properties.providerId
Section titled “properties.providerId”
readonlyproviderId:object
properties.providerId.description
Section titled “properties.providerId.description”
readonlydescription:"Identifier of the provider selected to service this stream, if routing has completed by the time the handle is returned. Absent while route selection is still pending."
properties.providerId.minLength
Section titled “properties.providerId.minLength”
readonlyminLength:1
properties.providerId.type
Section titled “properties.providerId.type”
readonlytype:"string"
properties.runId
Section titled “properties.runId”
readonlyrunId:object
properties.runId.description
Section titled “properties.runId.description”
readonlydescription:"A unique, opaque identifier assigned by the engine for this stream run. Every StreamEvent and the terminal StreamTerminalOutcome for this run carry the same runId, matching the identity convention used by TaskResult.runId and IndeRunError.runId."
properties.runId.minLength
Section titled “properties.runId.minLength”
readonlyminLength:1
properties.runId.type
Section titled “properties.runId.type”
readonlytype:"string"
properties.schemaVersion
Section titled “properties.schemaVersion”
readonlyschemaVersion:object
properties.schemaVersion.const
Section titled “properties.schemaVersion.const”
readonlyconst:"1.0"
properties.schemaVersion.description
Section titled “properties.schemaVersion.description”
readonlydescription:"Contract schema version used to interpret this handle payload."
properties.startedAt
Section titled “properties.startedAt”
readonlystartedAt:object
properties.startedAt.description
Section titled “properties.startedAt.description”
readonlydescription:"Wall-clock time the stream run was opened, in Unix epoch milliseconds."
properties.startedAt.minimum
Section titled “properties.startedAt.minimum”
readonlyminimum:0
properties.startedAt.type
Section titled “properties.startedAt.type”
readonlytype:"number"
required
Section titled “required”
readonlyrequired: readonly ["schemaVersion","runId","startedAt"]
readonlytitle:"StreamRunHandle"
readonlytype:"object"
IndeRun — open-source AI execution for cross-platform apps. Built and maintained by Independo GmbH (opens in new tab), supported by netidee (opens in new tab).
MIT-licensed SDK · No SDK usage telemetry.
© 2025–2026 Independo GmbH