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

createRun

POST /agent_insight_monitors/{monitor_id}/runs

Start an Agent Insights run for a monitor.

Parâmetros do cabeçalho

Operation-Id string

Client-generated unique ID for idempotent retries. When absent, the server creates the job unconditionally.

Parâmetros de caminho

monitor_id string obrigatório

The identifier of the monitor.

Parâmetros de consultas

api-version string obrigatório

The API version to use for this operation.

Corpo do Pedido

Content-Type: application/json
lookback_hours number

Optional finite positive number of hours of trace history to analyze, up to 2,160. Defaults to 168.

Respostas

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

Cabeçalhos

Operation-Location string obrigatório

URL to poll for the job status.

Location string obrigatório

URL of the created job resource.

Corpo

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

Server-assigned unique identifier.

inputs AgentInsightRunInputs

Inputs recorded for an Agent Insights run.

lookback_hours number

Optional finite positive number of hours of trace history to analyze, up to 2,160. Defaults to 168.

result AgentInsightRunResult

Result statistics produced when an agent insight run succeeds.

traces_in_window integer obrigatório

The number of traces in the analyzed time window.

traces_analyzed integer obrigatório

The number of traces analyzed by the run.

insights_created integer obrigatório

The number of insights created by the run.

insights_updated integer obrigatório

The number of insights updated by the run.

insights_reopened integer obrigatório

The number of insights reopened by the run.

token_usage AgentInsightTokenUsage obrigatório

Token usage for an Agent Insights run.

input_tokens integer obrigatório

The number of input tokens used by the run.

output_tokens integer obrigatório

The number of output tokens used by the run.

cached_tokens integer

The number of input tokens served from cache.

total_tokens integer obrigatório

The total number of tokens used by the run.

status string | enum obrigatório

Extensible status values shared by Foundry jobs.

Qualquer uma das seguintes opções:
string
enum
queuedin_progresssucceededfailedcancelledskipped
error OpenAI.Error
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.

monitor_id string obrigatório

The Agent Insights monitor this run belongs to.

agent_name string obrigatório

The agent whose traces are analyzed by this run.

trigger string | enum obrigatório

The trigger that started an agent insight run.

Qualquer uma das seguintes opções:
string
enum
on_demandscheduled
created_at integer obrigatório
updated_at integer obrigatório
window_start integer obrigatório
window_end integer obrigatório
started_at integer
completed_at integer
model_deployment_name string obrigatório

The model deployment used to analyze traces for this run.

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/{monitor_id}/runs 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