Azure.AI.Projects (preview:2025-05-15)

2025/07/16 • 3 updated methods

Evaluations_List (updated)
Description List evaluation runs
Reference Link ¶

⚶ Changes

{
  "#id": "Evaluations_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "@added_0e48e5cf54a848ac85dc81d0a59d06e4": {
              "#name": "target",
              "Description": "Specifies the type and configuration of the entity used for this evaluation.",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "type",
                  "Description": "Discriminator that defines the type of the evaluation target.",
                  "Enum": [
                    [
                      "modelResponseGeneration",
                      "Evaluation target that uses a model for response generation."
                    ]
                  ],
                  "Required": true,
                  "Type": "string"
                }
              ]
            }
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /evaluations/runs
{
api-version: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
value:
[
{
id: string ,
data:
{
type: string ,
}
,
displayName: string ,
description: string ,
status: string ,
tags: object ,
properties: object ,
evaluators: object ,
target:
{
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Evaluations_Get (updated)
Description Get an evaluation run by name.
Reference Link ¶

⚶ Changes

{
  "#id": "Evaluations_Get",
  "$responses": {
    "200": {
      "$properties": {
        "@added_1b3a528163c340d4b79d52cdf7a3ecc8": {
          "#name": "target",
          "Description": "Specifies the type and configuration of the entity used for this evaluation.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "type",
              "Description": "Discriminator that defines the type of the evaluation target.",
              "Enum": [
                [
                  "modelResponseGeneration",
                  "Evaluation target that uses a model for response generation."
                ]
              ],
              "Required": true,
              "Type": "string"
            }
          ]
        }
      }
    }
  }
}

⚼ Request

GET:  /evaluations/runs/{name}
{
api-version: string ,
name: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
x-ms-client-request-id: string ,
}
,
$schema:
{
id: string ,
data:
{
type: string ,
}
,
displayName: string ,
description: string ,
status: string ,
tags: object ,
properties: object ,
evaluators: object ,
target:
{
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Evaluations_Create (updated)
Description Creates an evaluation run.
Reference Link ¶

⚶ Changes

{
  "#id": "Evaluations_Create",
  "$parameters": {
    "evaluation": {
      "$properties": {
        "@added_73349941fe2949ef85f2f16398b6aa52": {
          "#name": "target",
          "Description": "Specifies the type and configuration of the entity used for this evaluation.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "type",
              "Description": "Discriminator that defines the type of the evaluation target.",
              "Enum": [
                [
                  "modelResponseGeneration",
                  "Evaluation target that uses a model for response generation."
                ]
              ],
              "Required": true,
              "Type": "string"
            }
          ]
        }
      }
    }
  },
  "$responses": {
    "201": {
      "$properties": {
        "@added_43e8fb011f544b2395ee0041145570d1": {
          "#name": "target",
          "Description": "Specifies the type and configuration of the entity used for this evaluation.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "type",
              "Description": "Discriminator that defines the type of the evaluation target.",
              "Enum": [
                [
                  "modelResponseGeneration",
                  "Evaluation target that uses a model for response generation."
                ]
              ],
              "Required": true,
              "Type": "string"
            }
          ]
        }
      }
    }
  }
}

⚼ Request

POST:  /evaluations/runs:run
{
api-version: string ,
evaluation:
{
id: string ,
data:
{
type: string ,
}
,
displayName: string ,
description: string ,
status: string ,
tags: object ,
properties: object ,
evaluators: object ,
target:
{
type: enum ,
}
,
}
,
}

⚐ Response (201)

{
id: string ,
data:
{
type: string ,
}
,
displayName: string ,
description: string ,
status: string ,
tags: object ,
properties: object ,
evaluators: object ,
target:
{
type: enum ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}