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

Error details — populated only on failure.

error?: ErrorModel

Property Value

id

Server-assigned unique identifier.

id: string

Property Value

string

inputs

Caller-supplied inputs.

inputs?: OptimizationJobInputs

Property Value

progress

Progress while in flight. Absent in terminal states.

progress?: OptimizationJobProgress

Property Value

result

Result produced on success.

result?: OptimizationJobResult

Property Value

status

Current lifecycle status.

status: JobStatus

Property Value

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