Skip to main content

Interface: Run

Defined in: packages/orchestration/src/types.ts:168

Properties​

agentName​

agentName: string

Defined in: packages/orchestration/src/types.ts:171


completedAt?​

optional completedAt?: number

Defined in: packages/orchestration/src/types.ts:174


cost​

cost: number

Defined in: packages/orchestration/src/types.ts:178

USD.


error?​

optional error?: string

Defined in: packages/orchestration/src/types.ts:176


eventCount​

eventCount: number

Defined in: packages/orchestration/src/types.ts:180

Event count for replay


heartbeatAt?​

optional heartbeatAt?: number

Defined in: packages/orchestration/src/types.ts:188

Last time the run showed progress (it streamed an event). Recovery treats a running run whose heartbeat is older than its stale window as dead. Written through RunStore.touch.


id​

id: string

Defined in: packages/orchestration/src/types.ts:169


parentRunId?​

optional parentRunId?: string

Defined in: packages/orchestration/src/types.ts:182

Parent run ID for spawn hierarchies


result?​

optional result?: unknown

Defined in: packages/orchestration/src/types.ts:175


startedAt​

startedAt: number

Defined in: packages/orchestration/src/types.ts:173


status​

status: "pending" | "running" | "failed" | "cancelled" | "paused" | "completed"

Defined in: packages/orchestration/src/types.ts:172


ticketId​

ticketId: string

Defined in: packages/orchestration/src/types.ts:170