AgentInsightRun interface

A long-running run that analyzes one agent's traces and updates that agent's insights.

Properties

agent_name

The agent whose traces are analyzed by this run.

completed_at

The time when this run reached a terminal status.

created_at

The time when this run was created.

error

Error details — populated only on failure.

id

Server-assigned unique identifier.

inputs

Caller-supplied inputs.

model_deployment_name

The model deployment used to analyze traces for this run.

monitor_id

The Agent Insights monitor this run belongs to.

result

Result produced on success.

started_at

The time when this run started processing.

status

Current lifecycle status.

trigger

The trigger that started the run.

updated_at

The time when this run was last updated.

window_end

The end of the trace window analyzed by this run.

window_start

The start of the trace window analyzed by this run.

Property Details

agent_name

The agent whose traces are analyzed by this run.

agent_name: string

Property Value

string

completed_at

The time when this run reached a terminal status.

completed_at?: Date

Property Value

Date

created_at

The time when this run was created.

created_at: Date

Property Value

Date

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?: AgentInsightRunCreate

Property Value

model_deployment_name

The model deployment used to analyze traces for this run.

model_deployment_name: string

Property Value

string

monitor_id

The Agent Insights monitor this run belongs to.

monitor_id: string

Property Value

string

result

Result produced on success.

result?: AgentInsightRunResult

Property Value

started_at

The time when this run started processing.

started_at?: Date

Property Value

Date

status

Current lifecycle status.

status: JobStatus

Property Value

trigger

The trigger that started the run.

trigger: AgentInsightRunTrigger

Property Value

updated_at

The time when this run was last updated.

updated_at: Date

Property Value

Date

window_end

The end of the trace window analyzed by this run.

window_end: Date

Property Value

Date

window_start

The start of the trace window analyzed by this run.

window_start: Date

Property Value

Date