メイン コンテンツにスキップ

このブラウザーはサポートされなくなりました。

Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。

Microsoft Edge をダウンロードする Internet Explorer と Microsoft Edge の詳細情報
microsoft-foundry.rest.security.o-auth2-auth

Agent Insight Monitors

create

POST /agent_insight_monitors

Create an Agent Insights monitor for an agent.

クエリ パラメーター

api-version string 必須

The API version to use for this operation.

要求本文

Content-Type: application/json
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'.

priorities AgentInsightPriorities

Monitor analysis priorities.

categories string[] 必須

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.

応答

The request has succeeded and a new resource has been created as a result.

ヘッダー

Location string 必須

URL of the created monitor.

本文

Content-Type: application/json
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'.

next_scheduled_run_at integer
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.

USD
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.

occurred_at integer 必須
details object

Additional reason-specific suspension details.

agent_summary AgentInsightSummary

Service-generated agent summary.

markdown string 必須

Summary in Markdown.

priorities AgentInsightPrioritiesRead

Monitor analysis priorities returned by the service.

categories string[] 必須

Up to 20 distinct normalized category identifiers. Can include legacy names containing commas. Empty uses defaults.

instructions string

Analysis guidance. Omitted when unavailable.

updated_at integer 必須

Client error

本文

Content-Type: application/json
error OpenAI.Error 必須
code string | null 必須
message string 必須
param string | null
type string
misalignment OpenAI.MisalignmentErrorDetailsResource
review_target string | null
error_type string | enum
次のいずれか:
string
enum
potentially_unintended_data_transferpotentially_unintended_data_accesspotentially_unintended_destructive_activityother
detailed_explanation string

The public explanation for this block.

steer OpenAI._MisalignmentSteer
message string 必須

The public continuation instruction.

details OpenAI.Error[]

Additional errors that contributed to this failure.

additionalInfo object

Additional structured information about the failure.

debugInfo object

Diagnostic information supplied by the service for troubleshooting.

Server error

本文

Content-Type: application/json
error OpenAI.Error 必須
code string | null 必須
message string 必須
param string | null
type string
misalignment OpenAI.MisalignmentErrorDetailsResource
review_target string | null
error_type string | enum
次のいずれか:
string
enum
potentially_unintended_data_transferpotentially_unintended_data_accesspotentially_unintended_destructive_activityother
detailed_explanation string

The public explanation for this block.

steer OpenAI._MisalignmentSteer
message string 必須

The public continuation instruction.

details OpenAI.Error[]

Additional errors that contributed to this failure.

additionalInfo object

Additional structured information about the failure.

debugInfo object

Diagnostic information supplied by the service for troubleshooting.

要求

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
ja-jp
プライバシーの選択
  • AI 免責事項
  • 以前のバージョン
  • ブログ
  • 投稿
  • プライバシー
  • コンシューマーの健康に関するプライバシー
  • 利用条件
  • 商標
  • © Microsoft 2026