Saltar para o conteúdo principal

Este browser já não é suportado.

Atualize para o Microsoft Edge para tirar partido das mais recentes funcionalidades, atualizações de segurança e de suporte técnico.

Transferir Microsoft Edge Mais informações sobre o Internet Explorer e o 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.

Parâmetros de consultas

api-version string obrigatório

The API version to use for this operation.

Corpo do Pedido

Content-Type: application/json
agent_name string obrigatório

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 obrigatório

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[] obrigatório

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.

Respostas

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

Cabeçalhos

Location string obrigatório

URL of the created monitor.

Corpo

Content-Type: application/json
id string obrigatório

The monitor identifier.

agent_name string obrigatório

The agent this monitor analyzes. There can be only one monitor per agent.

enabled boolean obrigatório

Whether scheduled insight generation is armed for the monitor.

run_interval_hours number obrigatório

Interval between scheduled insight runs, in hours.

model_deployment_name string obrigatório

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 obrigatório

Estimated cost amount.

currency enum obrigatório

Currency for the estimated cost amount. Agent Insights estimates are reported in US dollars.

USD
suspension AgentInsightSuspension | null obrigatório

Why the system suspended scheduled generation. Null when the monitor is not suspended.

code string obrigatório

Stable, machine-readable suspension category.

message string obrigatório

Human-readable description of the suspension.

occurred_at integer obrigatório
details object

Additional reason-specific suspension details.

agent_summary AgentInsightSummary

Service-generated agent summary.

markdown string obrigatório

Summary in Markdown.

priorities AgentInsightPrioritiesRead

Monitor analysis priorities returned by the service.

categories string[] obrigatório

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 obrigatório

Client error

Corpo

Content-Type: application/json
error OpenAI.Error obrigatório
code string | null obrigatório
message string obrigatório
param string | null
type string
misalignment OpenAI.MisalignmentErrorDetailsResource
review_target string | null
error_type string | enum
Qualquer uma das seguintes opções:
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 obrigatório

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

Corpo

Content-Type: application/json
error OpenAI.Error obrigatório
code string | null obrigatório
message string obrigatório
param string | null
type string
misalignment OpenAI.MisalignmentErrorDetailsResource
review_target string | null
error_type string | enum
Qualquer uma das seguintes opções:
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 obrigatório

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.

Pedir

POST /agent_insight_monitors HTTP/1.1

Response

Status: 201
Content-Type: application/json
Status: 4XX
Content-Type: application/json
Status: 5XX
Content-Type: application/json
pt-pt
Suas opções de privacidade
  • Exclusão de responsabilidade de IA
  • Versões anteriores
  • Blogue
  • Contribuir
  • Privacidade
  • Privacidade da Saúde do Consumidor
  • Termos de Utilização
  • Marcas Comerciais
  • © Microsoft 2026