Microsoft.CognitiveServices (preview:2025-10-01)

2025/11/03 • 3 updated methods

AgentApplications_List (updated)
Description Lists Agent Applications in the project.
Reference Link ¶

⚶ Changes

{
  "#id": "AgentApplications_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "authorizationPolicy": [
                  {
                    "#name": "type",
                    "Enum": {
                      "new": [
                        [
                          "Default",
                          "Standard AzureML RBAC"
                        ],
                        [
                          "OrganizationScope",
                          "Claim-based, requires membership in the tenant"
                        ],
                        [
                          "Channels",
                          "Channels-specific (AzureBotService) authorization"
                        ],
                        [
                          "Custom",
                          "Custom scheme defined by the application author"
                        ]
                      ],
                      "old": [
                        [
                          "Default",
                          "Standard AzureML RBAC"
                        ],
                        [
                          "OrganizationScope",
                          "Claim-based, requires membership in the tenant"
                        ],
                        [
                          "Microsoft365",
                          "Microsoft365-specific (AzureBotService) authorization"
                        ],
                        [
                          "Custom",
                          "Custom scheme defined by the application author"
                        ]
                      ]
                    }
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
projectName: string ,
api-version: string ,
count: integer ,
$skip: integer ,
$skipToken: string ,
names: array ,
searchText: string ,
orderBy: string ,
orderByAsc: boolean ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
displayName: string ,
baseUrl: string ,
agents:
[
{
agentId: string ,
agentName: string ,
}
,
]
,
agentIdentityBlueprint:
{
kind: enum ,
type: enum ,
clientId: string ,
principalId: string ,
tenantId: string ,
subject: string ,
provisioningState: enum ,
}
,
defaultInstanceIdentity:
{
kind: enum ,
type: enum ,
clientId: string ,
principalId: string ,
tenantId: string ,
subject: string ,
provisioningState: enum ,
}
,
authorizationPolicy:
{
type: enum ,
}
,
trafficRoutingPolicy:
{
protocol: enum ,
rules:
[
{
ruleId: string ,
description: string ,
deploymentId: string ,
trafficPercentage: integer ,
}
,
]
,
}
,
provisioningState: enum ,
isEnabled: boolean ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AgentApplications_Get (updated)
Description Gets an Agent Application by name.
Reference Link ¶

⚶ Changes

{
  "#id": "AgentApplications_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "authorizationPolicy": [
              {
                "#name": "type",
                "Enum": {
                  "new": [
                    [
                      "Default",
                      "Standard AzureML RBAC"
                    ],
                    [
                      "OrganizationScope",
                      "Claim-based, requires membership in the tenant"
                    ],
                    [
                      "Channels",
                      "Channels-specific (AzureBotService) authorization"
                    ],
                    [
                      "Custom",
                      "Custom scheme defined by the application author"
                    ]
                  ],
                  "old": [
                    [
                      "Default",
                      "Standard AzureML RBAC"
                    ],
                    [
                      "OrganizationScope",
                      "Claim-based, requires membership in the tenant"
                    ],
                    [
                      "Microsoft365",
                      "Microsoft365-specific (AzureBotService) authorization"
                    ],
                    [
                      "Custom",
                      "Custom scheme defined by the application author"
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
projectName: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
baseUrl: string ,
agents:
[
{
agentId: string ,
agentName: string ,
}
,
]
,
agentIdentityBlueprint:
{
kind: enum ,
type: enum ,
clientId: string ,
principalId: string ,
tenantId: string ,
subject: string ,
provisioningState: enum ,
}
,
defaultInstanceIdentity:
{
kind: enum ,
type: enum ,
clientId: string ,
principalId: string ,
tenantId: string ,
subject: string ,
provisioningState: enum ,
}
,
authorizationPolicy:
{
type: enum ,
}
,
trafficRoutingPolicy:
{
protocol: enum ,
rules:
[
{
ruleId: string ,
description: string ,
deploymentId: string ,
trafficPercentage: integer ,
}
,
]
,
}
,
provisioningState: enum ,
isEnabled: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AgentApplications_CreateOrUpdate (updated)
Description Creates or updates an Agent Application (asynchronous).
Reference Link ¶

⚶ Changes

{
  "#id": "AgentApplications_CreateOrUpdate",
  "$parameters": {
    "body": {
      "$properties": {
        "properties": [
          {
            "authorizationPolicy": [
              {
                "#name": "type",
                "Enum": {
                  "new": [
                    [
                      "Default",
                      "Standard AzureML RBAC"
                    ],
                    [
                      "OrganizationScope",
                      "Claim-based, requires membership in the tenant"
                    ],
                    [
                      "Channels",
                      "Channels-specific (AzureBotService) authorization"
                    ],
                    [
                      "Custom",
                      "Custom scheme defined by the application author"
                    ]
                  ],
                  "old": [
                    [
                      "Default",
                      "Standard AzureML RBAC"
                    ],
                    [
                      "OrganizationScope",
                      "Claim-based, requires membership in the tenant"
                    ],
                    [
                      "Microsoft365",
                      "Microsoft365-specific (AzureBotService) authorization"
                    ],
                    [
                      "Custom",
                      "Custom scheme defined by the application author"
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "authorizationPolicy": [
              {
                "#name": "type",
                "Enum": {
                  "new": [
                    [
                      "Default",
                      "Standard AzureML RBAC"
                    ],
                    [
                      "OrganizationScope",
                      "Claim-based, requires membership in the tenant"
                    ],
                    [
                      "Channels",
                      "Channels-specific (AzureBotService) authorization"
                    ],
                    [
                      "Custom",
                      "Custom scheme defined by the application author"
                    ]
                  ],
                  "old": [
                    [
                      "Default",
                      "Standard AzureML RBAC"
                    ],
                    [
                      "OrganizationScope",
                      "Claim-based, requires membership in the tenant"
                    ],
                    [
                      "Microsoft365",
                      "Microsoft365-specific (AzureBotService) authorization"
                    ],
                    [
                      "Custom",
                      "Custom scheme defined by the application author"
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "authorizationPolicy": [
              {
                "#name": "type",
                "Enum": {
                  "new": [
                    [
                      "Default",
                      "Standard AzureML RBAC"
                    ],
                    [
                      "OrganizationScope",
                      "Claim-based, requires membership in the tenant"
                    ],
                    [
                      "Channels",
                      "Channels-specific (AzureBotService) authorization"
                    ],
                    [
                      "Custom",
                      "Custom scheme defined by the application author"
                    ]
                  ],
                  "old": [
                    [
                      "Default",
                      "Standard AzureML RBAC"
                    ],
                    [
                      "OrganizationScope",
                      "Claim-based, requires membership in the tenant"
                    ],
                    [
                      "Microsoft365",
                      "Microsoft365-specific (AzureBotService) authorization"
                    ],
                    [
                      "Custom",
                      "Custom scheme defined by the application author"
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
projectName: string ,
name: string ,
api-version: string ,
body:
{
properties:
{
displayName: string ,
baseUrl: string ,
agents:
[
{
agentId: string ,
agentName: string ,
}
,
]
,
agentIdentityBlueprint:
{
kind: enum ,
type: enum ,
clientId: string ,
principalId: string ,
tenantId: string ,
subject: string ,
provisioningState: enum ,
}
,
defaultInstanceIdentity:
{
kind: enum ,
type: enum ,
clientId: string ,
principalId: string ,
tenantId: string ,
subject: string ,
provisioningState: enum ,
}
,
authorizationPolicy:
{
type: enum ,
}
,
trafficRoutingPolicy:
{
protocol: enum ,
rules:
[
{
ruleId: string ,
description: string ,
deploymentId: string ,
trafficPercentage: integer ,
}
,
]
,
}
,
provisioningState: enum ,
isEnabled: boolean ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
baseUrl: string ,
agents:
[
{
agentId: string ,
agentName: string ,
}
,
]
,
agentIdentityBlueprint:
{
kind: enum ,
type: enum ,
clientId: string ,
principalId: string ,
tenantId: string ,
subject: string ,
provisioningState: enum ,
}
,
defaultInstanceIdentity:
{
kind: enum ,
type: enum ,
clientId: string ,
principalId: string ,
tenantId: string ,
subject: string ,
provisioningState: enum ,
}
,
authorizationPolicy:
{
type: enum ,
}
,
trafficRoutingPolicy:
{
protocol: enum ,
rules:
[
{
ruleId: string ,
description: string ,
deploymentId: string ,
trafficPercentage: integer ,
}
,
]
,
}
,
provisioningState: enum ,
isEnabled: boolean ,
}
,
}

⚐ Response (201)

{
$headers:
{
x-ms-async-operation-timeout: string ,
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
displayName: string ,
baseUrl: string ,
agents:
[
{
agentId: string ,
agentName: string ,
}
,
]
,
agentIdentityBlueprint:
{
kind: enum ,
type: enum ,
clientId: string ,
principalId: string ,
tenantId: string ,
subject: string ,
provisioningState: enum ,
}
,
defaultInstanceIdentity:
{
kind: enum ,
type: enum ,
clientId: string ,
principalId: string ,
tenantId: string ,
subject: string ,
provisioningState: enum ,
}
,
authorizationPolicy:
{
type: enum ,
}
,
trafficRoutingPolicy:
{
protocol: enum ,
rules:
[
{
ruleId: string ,
description: string ,
deploymentId: string ,
trafficPercentage: integer ,
}
,
]
,
}
,
provisioningState: enum ,
isEnabled: boolean ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}