Skip to content

RunState

activeAgentId: string;

optional activeFlow?: string;

optional activeNode?: string;

createdAt: number;

messages: ModelMessage[];

runId: string;

sessionId: string;

state: Record<string, unknown>;

status: "error" | "aborted" | "running" | "paused" | "finished";

updatedAt: number;

optional waitingFor?: WaitingFor;