AgentTracesOptimizationContext interface

Trace evidence for skill optimization, selected independently of feedback availability.

Extends

Properties

trace_connection_configuration

Explicit telemetry selection. Required without a target agent. When omitted with a target, use its project-linked telemetry. Not accepted on steering_prompt context.

trace_window

Trace selection using a fixed half-open window or explicit trace_ids within a lookback interval ending at job creation.

type

Agent trace context discriminator.

Property Details

trace_connection_configuration

Explicit telemetry selection. Required without a target agent. When omitted with a target, use its project-linked telemetry. Not accepted on steering_prompt context.

trace_connection_configuration?: AgentOptimizationTraceConnectionConfigurationUnion

Property Value

trace_window

Trace selection using a fixed half-open window or explicit trace_ids within a lookback interval ending at job creation.

trace_window: AgentOptimizationTraceWindowUnion

Property Value

type

Agent trace context discriminator.

type: "agent_traces"

Property Value

"agent_traces"