Пропустить и перейти к основному содержимому

Этот браузер больше не поддерживается.

Выполните обновление до Microsoft Edge, чтобы воспользоваться новейшими функциями, обновлениями для системы безопасности и технической поддержкой.

Скачать Microsoft Edge Дополнительные сведения об Internet Explorer и Microsoft Edge
microsoft-foundry.rest.security.o-auth2-auth

Evaluation Rules

Get an evaluation rule

GET /evaluationrules/{id}

Retrieves the specified evaluation rule and its configuration.

Параметры запроса

api-version string обязательно

The API version to use for this operation.

Параметры пути

id string обязательно

Unique identifier for the evaluation rule.

Ответы

The request has succeeded.

Текст

Content-Type: application/json
id string обязательно

Unique identifier for the evaluation rule.

displayName string

Display Name for the evaluation rule.

description string

Description for the evaluation rule.

action continuousEvaluation | humanEvaluationPreview обязательно

Evaluation action model.

Один из следующих:
continuousEvaluation ContinuousEvaluationRuleAction

Evaluation rule action for continuous evaluation.

type enum обязательно
continuousEvaluation
evalId string обязательно

Eval Id to add continuous evaluation runs to.

maxHourlyRuns integer

Maximum number of evaluation runs allowed per hour.

samplingRate number

Percentage (0-100] chance that a matching event triggers an evaluation. When omitted, the service-default is to evaluate every event, which is equivalent to setting a sampling rate of 100.

humanEvaluationPreview HumanEvaluationPreviewRuleAction

Evaluation rule action for human evaluation.

type enum обязательно
humanEvaluationPreview
templateId string обязательно

Identifier of a saved asset.

filter EvaluationRuleFilter

Evaluation filter model.

agentName string обязательно

Filter by agent name.

eventType string | enum обязательно

Type of the evaluation rule event.

Любое из следующих:
string
enum
responseCompletedmanual
enabled boolean обязательно

Indicates whether the evaluation rule is enabled. Default is true.

systemData object обязательно

System metadata for the evaluation rule.

[key: string] string

Client error

Заголовки

x-ms-error-code string

String error code indicating what went wrong.

Текст

Content-Type: application/json
error Azure.Core.Foundations.Error обязательно

The error object.

code string обязательно

One of a server-defined set of error codes.

message string обязательно

A human-readable representation of the error.

target string

The target of the error.

details Azure.Core.Foundations.Error[]

An array of details about specific errors that led to this reported error.

innererror Azure.Core.Foundations.InnerError

An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.

code string

One of a server-defined set of error codes.

innererror Azure.Core.Foundations.InnerError

Server error

Заголовки

x-ms-error-code string

String error code indicating what went wrong.

Текст

Content-Type: application/json
error Azure.Core.Foundations.Error обязательно

The error object.

code string обязательно

One of a server-defined set of error codes.

message string обязательно

A human-readable representation of the error.

target string

The target of the error.

details Azure.Core.Foundations.Error[]

An array of details about specific errors that led to this reported error.

innererror Azure.Core.Foundations.InnerError

An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.

code string

One of a server-defined set of error codes.

innererror Azure.Core.Foundations.InnerError

Запрос

GET /evaluationrules/{id} HTTP/1.1

Response

Status: 200
Content-Type: application/json
Status: 4XX
Content-Type: application/json
Status: 5XX
Content-Type: application/json
ru-ru
Ваши варианты выбора параметров конфиденциальности
  • Заявление об отказе ИИ
  • Предыдущие версии
  • Блог
  • Участие в доработке
  • Конфиденциальность
  • Конфиденциальность медицинских данных потребителей
  • Условия использования
  • Товарные знаки
  • © Microsoft 2026