AgentOptimizationFixedTraceWindow interface

Selects the latest readable trace conversations in a half-open interval, independently of feedback availability.

Extends

Properties

end_time

Exclusive UTC Unix timestamp in seconds. A future value is truncated to job submission time, and the effective end is returned in the job configuration. The service does not wait for future traces.

max_traces

Maximum number of trace conversations to select, from 1 to 100 inclusive. If omitted, the service defaults to 100. Selects the latest matching readable traces before collecting their annotations or evaluation results; feedback availability does not affect selection priority.

start_time

Inclusive UTC Unix timestamp in seconds, at or after the Unix epoch. Must precede the effective end_time after truncation to job submission time. The service rejects empty or inverted effective intervals.

type

Fixed-window discriminator.

Property Details

end_time

Exclusive UTC Unix timestamp in seconds. A future value is truncated to job submission time, and the effective end is returned in the job configuration. The service does not wait for future traces.

end_time: Date

Property Value

Date

max_traces

Maximum number of trace conversations to select, from 1 to 100 inclusive. If omitted, the service defaults to 100. Selects the latest matching readable traces before collecting their annotations or evaluation results; feedback availability does not affect selection priority.

max_traces?: number

Property Value

number

start_time

Inclusive UTC Unix timestamp in seconds, at or after the Unix epoch. Must precede the effective end_time after truncation to job submission time. The service rejects empty or inverted effective intervals.

start_time: Date

Property Value

Date

type

Fixed-window discriminator.

type: "fixed"

Property Value

"fixed"