TracesEvaluatorGenerationJobSource interface

Traces source for evaluator generation jobs — conversation traces from Application Insights.

Extends

Properties

agent_id

The unique agent ID used to filter traces. Provide either agent_id or agent_name — at least one is required.

agent_name

The agent name to fetch traces for. Provide either agent_id or agent_name — at least one is required.

agent_version

The agent version. If not specified, traces for ALL versions of the agent are included within the time window.

description

Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities').

end_time

End of the time window (Unix timestamp in seconds). Defaults to current time.

start_time

Start of the time window (Unix timestamp in seconds) for fetching traces.

type

The source type for this source, which is Traces.

Property Details

agent_id

The unique agent ID used to filter traces. Provide either agent_id or agent_name — at least one is required.

agent_id?: string

Property Value

string

agent_name

The agent name to fetch traces for. Provide either agent_id or agent_name — at least one is required.

agent_name?: string

Property Value

string

agent_version

The agent version. If not specified, traces for ALL versions of the agent are included within the time window.

agent_version?: string

Property Value

string

description

Optional description of what this source represents — helps the pipeline interpret its content (e.g., 'Company refund policy document' or 'Describes the agent's core capabilities').

description?: string

Property Value

string

end_time

End of the time window (Unix timestamp in seconds). Defaults to current time.

end_time?: Date

Property Value

Date

start_time

Start of the time window (Unix timestamp in seconds) for fetching traces.

start_time?: Date

Property Value

Date

type

The source type for this source, which is Traces.

type: "traces"

Property Value

"traces"