Agent Insight Monitors
update
Update an Agent Insights monitor.
Pfadparameter
monitor_id
string
Erforderlich
The identifier of the monitor.
Abfrageparameter
api-version
string
Erforderlich
The API version to use for this operation.
Anforderungstext
enabled
boolean
Whether scheduled insight generation is armed for the monitor.
run_interval_hours
number
Interval between scheduled insight runs, in hours.
model_deployment_name
string
The model deployment to use for analyzing traces. Accepts either the deployment name alone or with the connection name as '{connectionName}/modelDeploymentName'.
priorities
AgentInsightPriorities | null
Replaces all priorities. Omit to preserve them; null clears them.
categories
string[]
Erforderlich
Up to 20 distinct normalized category identifiers (128 UTF-8 bytes each). Empty uses defaults.
instructions
string | null
Analysis guidance, up to 2,000 UTF-8 bytes after trimming. Null or blank removes guidance.
Antworten
The request has succeeded.
Text
id
string
Erforderlich
The monitor identifier.
agent_name
string
Erforderlich
The agent this monitor analyzes. There can be only one monitor per agent.
enabled
boolean
Erforderlich
Whether scheduled insight generation is armed for the monitor.
run_interval_hours
number
Erforderlich
Interval between scheduled insight runs, in hours.
model_deployment_name
string
Erforderlich
The model deployment to use for analyzing traces. Accepts either the deployment name alone or with the connection name as '{connectionName}/modelDeploymentName'.
estimated_cost
AgentInsightEstimatedCost
Estimated Agent Insights cost.
amount
number
Erforderlich
Estimated cost amount.
currency
enum
Erforderlich
Currency for the estimated cost amount. Agent Insights estimates are reported in US dollars.
suspension
AgentInsightSuspension | null
Erforderlich
Why the system suspended scheduled generation. Null when the monitor is not suspended.
code
string
Erforderlich
Stable, machine-readable suspension category.
message
string
Erforderlich
Human-readable description of the suspension.
details
object
Additional reason-specific suspension details.
agent_summary
AgentInsightSummary
Service-generated agent summary.
markdown
string
Erforderlich
Summary in Markdown.
priorities
AgentInsightPrioritiesRead
Monitor analysis priorities returned by the service.
categories
string[]
Erforderlich
Up to 20 distinct normalized category identifiers. Can include legacy names containing commas. Empty uses defaults.
instructions
string
Analysis guidance. Omitted when unavailable.
Anfordern
PATCH /agent_insight_monitors/{monitor_id} HTTP/1.1
Antwort
Status: 200
Content-Type: application/json
Status: 4XX
Content-Type: application/json
Status: 5XX
Content-Type: application/json