Skip to main content
Agent Insight Monitors

Update an Agent Insights monitor

PATCH
/agent_insight_monitors/{monitor_id}
Path Parameters
monitor_idstringrequired
The identifier of the monitor.
Query Parameters
api-versionstringrequired
The API version to use for this operation.
Header Parameters
Foundry-Featuresstringrequired
A feature flag opt-in required when using preview operations or modifying persisted preview resources.
AgentInsights=V1Preview
Request BodyThe monitor fields to update.Content-Type: application/merge-patch+json
enabledboolean
Whether scheduled insight generation is armed for the monitor.
run_interval_hoursnumber
Interval between scheduled insight runs, in hours.
model_deployment_namestring
The model deployment to use for analyzing traces. Accepts either the deployment name alone or with the connection name as '{connectionName}/modelDeploymentName'.
overview_overrideAgentInsightsOverviewOverride | null
Sets the effective user overview, or clears it when explicitly set to null. Omission leaves the overview unchanged. This field cannot be combined with other monitor updates.
One of the following:
AgentInsightsOverviewOverride
A user-provided overview that becomes effective immediately and seeds the next generation.
null
Responses
idstringrequired
The monitor identifier.
agent_namestringrequired
The agent this monitor analyzes. There can be only one monitor per agent.
enabledbooleanrequired
Whether scheduled insight generation is armed for the monitor.
run_interval_hoursnumberrequired
Interval between scheduled insight runs, in hours.
model_deployment_namestringrequired
The model deployment to use for analyzing traces. Accepts either the deployment name alone or with the connection name as '{connectionName}/modelDeploymentName'.
next_scheduled_run_atinteger
estimated_costAgentInsightEstimatedCost
Estimated Agent Insights cost.
amountnumberrequired
Estimated cost amount.
currencyenumrequired
Currency for the estimated cost amount. Agent Insights estimates are reported in US dollars.
USD
suspensionAgentInsightSuspension | nullrequired
Why the system suspended scheduled generation. Null when the monitor is not suspended.
One of the following:
AgentInsightSuspension
Structured reason why scheduled generation is suspended for a monitor.
null
overviewAgentInsightsOverview | nullrequired
The effective overview, or null before an overview is available.
One of the following:
AgentInsightsOverview
The effective overview for an Agent Insights monitor.
null
updated_atintegerrequired