Interface AgentExecutionCompleted

Event emitted when an agent successfully completes execution

interface AgentExecutionCompleted {
    agentId: string;
    agentName: string;
    eventType: "AgentExecutionCompleted";
    output: unknown;
    contextId?: string;
    durationMs: number;
    tokensUsed?: number;
    cost?: number;
    occurredAt: Date;
}

Hierarchy (View Summary)

Properties

agentId: string
agentName: string
eventType: "AgentExecutionCompleted"
output: unknown
contextId?: string
durationMs: number
tokensUsed?: number
cost?: number
occurredAt: Date

The timestamp when this event occurred.