Skip to main content
Version: 8.10 (unreleased)

Type Alias: AgentInstanceMetricsDelta

type AgentInstanceMetricsDelta = object;

Metric increments to apply to the agent instance aggregate counters. The engine accumulates these deltas into running totals on each UPDATED event. All fields are optional; omit a field to leave the corresponding counter unchanged.

Properties

inputTokens?

optional inputTokens?: number;

Increment to apply to the total input token counter.


modelCalls?

optional modelCalls?: number;

Increment to apply to the total model call counter.


outputTokens?

optional outputTokens?: number;

Increment to apply to the total output token counter.


toolCalls?

optional toolCalls?: number;

Increment to apply to the total tool call counter.