OptimizationJob interface
Agent optimization job resource — a long-running job that optimizes an agent's configuration (instructions, model, skills, tools) to maximize evaluation scores. On success, the result contains scored candidates.
Properties
| created_at | The timestamp when the job was created, represented in Unix time. |
| error | Error details — populated only on failure. |
| id | Server-assigned unique identifier. |
| inputs | Caller-supplied inputs. |
| progress | Progress snapshot. May be present in terminal states reflecting last-known progress. |
| result | Result produced on success. |
| status | Current lifecycle status. |
| updated_at | The timestamp when the job was last updated, represented in Unix time. |
| warnings | Non-fatal warnings emitted at any point during optimization. |
Property Details
created_at
The timestamp when the job was created, represented in Unix time.
created_at: Date
Property Value
Date
error
id
Server-assigned unique identifier.
id: string
Property Value
string
inputs
progress
Progress snapshot. May be present in terminal states reflecting last-known progress.
progress?: OptimizationJobProgress
Property Value
result
status
updated_at
The timestamp when the job was last updated, represented in Unix time.
updated_at: Date
Property Value
Date
warnings
Non-fatal warnings emitted at any point during optimization.
warnings?: string[]
Property Value
string[]