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. |
| dataset | Metadata about the dataset used for this optimization job. |
| error | Error details — populated only on failure. |
| id | Server-assigned unique identifier. |
| inputs | Caller-supplied inputs. |
| progress | Progress while in flight. Absent in terminal states. |
| result | Result produced on success. |
| status | Current lifecycle status. |
| updated_at | The timestamp when the job was last updated (status, progress, or result change), represented in Unix time. |
Property Details
created_at
The timestamp when the job was created, represented in Unix time.
created_at: Date
Property Value
Date
dataset
Metadata about the dataset used for this optimization job.
dataset?: DatasetInfo
Property Value
error
id
Server-assigned unique identifier.
id: string
Property Value
string
inputs
progress
Progress while in flight. Absent in terminal states.
progress?: OptimizationJobProgress
Property Value
result
status
updated_at
The timestamp when the job was last updated (status, progress, or result change), represented in Unix time.
updated_at?: Date
Property Value
Date