OptimizationJobResult interface
Terminal-state result body. Populated when status is succeeded or failed.
Properties
| all_target_attributes_failed | True when all target attributes failed — only the baseline was evaluated. |
| baseline | Evaluation scores for the original (un-optimized) agent configuration. |
| best | The highest-scoring candidate found during optimization. |
| candidates | All evaluated candidates including baseline. |
| options | The options used for this optimization run. |
| warnings | Non-fatal warnings from the optimization run (e.g., target attribute failures that were skipped). |
Property Details
all_target_attributes_failed
True when all target attributes failed — only the baseline was evaluated.
all_target_attributes_failed?: boolean
Property Value
boolean
baseline
Evaluation scores for the original (un-optimized) agent configuration.
baseline?: OptimizationCandidate
Property Value
best
The highest-scoring candidate found during optimization.
best?: OptimizationCandidate
Property Value
candidates
All evaluated candidates including baseline.
candidates?: OptimizationCandidate[]
Property Value
options
The options used for this optimization run.
options?: OptimizationOptions
Property Value
warnings
Non-fatal warnings from the optimization run (e.g., target attribute failures that were skipped).
warnings?: string[]
Property Value
string[]