Agent Insight Monitors
create
Create an Agent Insights monitor for an agent.
헤더 매개 변수
Foundry-Features
enum
필수
A feature flag opt-in required when using preview operations or modifying persisted preview resources.
쿼리 매개 변수
api-version
string
필수
The API version to use for this operation.
요청 본문
The monitor to create.
agent_name
string
필수
The agent this monitor should analyze.
enabled
boolean
Whether scheduled insight generation should be armed. Defaults to false.
run_interval_hours
number
Interval between scheduled insight runs, in hours. Defaults to 6.
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'.
응답
The request has succeeded and a new resource has been created as a result.
헤더
Location
string
필수
URL of the created monitor.
본문
id
string
필수
The monitor identifier.
agent_name
string
필수
The agent this monitor analyzes. There can be only one monitor per agent.
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'.
estimated_cost
AgentInsightEstimatedCost
Estimated Agent Insights cost.
amount
number
필수
Estimated cost amount.
currency
enum
필수
Currency for the estimated cost amount. Agent Insights estimates are reported in US dollars.
suspension
AgentInsightSuspension | null
필수
Why the system suspended scheduled generation. Null when the monitor is not suspended.
code
string
필수
Stable, machine-readable suspension category.
message
string
필수
Human-readable description of the suspension.
details
object
Additional reason-specific suspension details.
overview
AgentInsightsOverview | null
필수
The effective overview, or null before an overview is available.
content
string
필수
The overview content.
source
string | enum
필수
Identifies where an Agent Insights overview came from.
enum
요청
POST /agent_insight_monitors HTTP/1.1
응답
Status: 201
Content-Type: application/json
Status: 4XX
Content-Type: application/json
Status: 5XX
Content-Type: application/json