AgentOptimizationCandidateEvaluation interface

Comparative evaluation summary for a candidate.

Properties

avg_latency_ms

Average end-to-end latency per task, rounded to milliseconds.

avg_tokens

Average total tokens consumed per task. Omitted when token usage was not measured.

completed_at

Timestamp when full candidate evaluation completed, represented in Unix time. Omitted when unavailable.

eval_id

Foundry evaluation identifier used to score this candidate. Omitted when unavailable.

eval_run_id

Foundry evaluation run identifier used to score this candidate. Omitted when unavailable.

score

Average composite score across evaluated tasks. Omitted until scoring produces an aggregate score.

Property Details

avg_latency_ms

Average end-to-end latency per task, rounded to milliseconds.

avg_latency_ms?: number

Property Value

number

avg_tokens

Average total tokens consumed per task. Omitted when token usage was not measured.

avg_tokens?: number

Property Value

number

completed_at

Timestamp when full candidate evaluation completed, represented in Unix time. Omitted when unavailable.

completed_at?: Date

Property Value

Date

eval_id

Foundry evaluation identifier used to score this candidate. Omitted when unavailable.

eval_id?: string

Property Value

string

eval_run_id

Foundry evaluation run identifier used to score this candidate. Omitted when unavailable.

eval_run_id?: string

Property Value

string

score

Average composite score across evaluated tasks. Omitted until scoring produces an aggregate score.

score?: number

Property Value

number