Skip to content

Timeline

What agent.timeline answers: the agent's conversation as a person reads it, oldest first.

Property Type Description
items ( | { id: string; kind: "user"; text: string; sender?: string | null; at?: string | null; } | { id: string; kind: "run"; status: "cancelled" | "running" | "failed" | "completed" | "waiting"; steps: ( | { id: string; type: "thinking" | "text"; text: string; live: boolean; } | { id: string; type: "tool"; name: string; arguments?: unknown; status: "running" | "ok" | "error" | "denied"; result?: unknown; error?: string | null; })[]; model?: string | null; cost_micro_usd?: number; started_at?: string | null; finished_at?: string | null; error?: string | null; interrupts?: Interrupt[]; })[] -
cursor string Where the log stood, to follow it from.