Microsoft Cognitive Services Agent Deployment API
The AgentDeployment API from Microsoft Cognitive Services — 4 operation(s) for agentdeployment.
The AgentDeployment API from Microsoft Cognitive Services — 4 operation(s) for agentdeployment.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/microsoft-cognitive-services:microsoft-cognitive-services-agentdeployment-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: CognitiveServicesManagementClient Agent Deployment API
version: '2026-11-01'
description: Cognitive Services Management Client
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: AgentDeployment
paths:
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments
: get:
operationId: AgentDeployments_List
tags:
- AgentDeployment
summary: Lists Agent Deployments in the application
description: Lists Agent Deployments in the application.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: accountName
in: path
description: The name of Cognitive Services account.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: projectName
in: path
description: The name of Cognitive Services account's project.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: appName
in: path
description: The name of the application associated with the Cognitive Services Account
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: count
in: query
description: Number of agent deployments to be retrieved in a page of results.
required: false
schema:
type: integer
format: int32
default: 30
- name: $skipToken
in: query
description: Continuation token for pagination.
required: false
schema:
type: string
- name: names
in: query
description: Names of agent deployments to retrieve.
required: false
style: form
explode: true
schema:
type: array
items:
type: string
- name: orderBy
in: query
description: Field to order by.
required: false
schema:
type: string
- name: orderByAsc
in: query
description: Whether to order in ascending order.
required: false
schema:
type: boolean
default: false
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/AgentDeploymentResourceArmPaginatedResult'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}
: get:
operationId: AgentDeployments_Get
tags:
- AgentDeployment
summary: Gets an Agent Deployment by name
description: Gets an Agent Deployment by name.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: accountName
in: path
description: The name of Cognitive Services account.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: projectName
in: path
description: The name of Cognitive Services account's project.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: appName
in: path
description: The name of the application associated with the Cognitive Services Account
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: deploymentName
in: path
description: The name of the deployment associated with the Cognitive Services Account
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/AgentDeployment'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
put:
operationId: AgentDeployments_CreateOrUpdate
tags:
- AgentDeployment
summary: Creates or updates an Agent Deployment (asynchronous)
description: Creates or updates an Agent Deployment (asynchronous).
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: accountName
in: path
description: The name of Cognitive Services account.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: projectName
in: path
description: The name of Cognitive Services account's project.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: appName
in: path
description: The name of the application associated with the Cognitive Services Account
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: deploymentName
in: path
description: The name of the deployment associated with the Cognitive Services Account
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/AgentDeployment'
'201':
description: Resource 'AgentDeployment' create operation succeeded
headers:
Azure-AsyncOperation:
description: URI to poll for asynchronous operation status.
schema:
type: string
location:
description: The Location header contains the URL where the status of the long running operation can be checked.
schema:
type: string
x-ms-async-operation-timeout:
description: Timeout for the client to use when polling the asynchronous operation.
schema:
type: string
format: duration
content:
application/json:
schema:
$ref: '#/components/schemas/AgentDeployment'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
final-state-schema: '#/definitions/AgentDeployment'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AgentDeployment'
description: Agent Deployment definition object.
required: true
delete:
operationId: AgentDeployments_Delete
tags:
- AgentDeployment
summary: Delete Agent Deployment
description: Delete Agent Deployment.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: accountName
in: path
description: The name of Cognitive Services account.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: projectName
in: path
description: The name of Cognitive Services account's project.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: appName
in: path
description: The name of the application associated with the Cognitive Services Account
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: deploymentName
in: path
description: The name of the deployment associated with the Cognitive Services Account
required: true
schema:
type: string
responses:
'202':
description: Resource deletion accepted.
headers:
Retry-After:
description: The Retry-After header can indicate how long the client should wait before polling the operation status.
schema:
type: integer
format: int32
location:
description: The Location header contains the URL where the status of the long running operation can be checked.
schema:
type: string
'204':
description: Resource does not exist.
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
x-ms-long-running-operation: true
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}/start
: post:
operationId: AgentDeployments_Start
tags:
- AgentDeployment
summary: Starts an Agent Deployment
description: Starts an Agent Deployment.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: accountName
in: path
description: The name of Cognitive Services account.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: projectName
in: path
description: The name of Cognitive Services account's project.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: appName
in: path
description: The name of the application associated with the Cognitive Services Account
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: deploymentName
in: path
description: The name of the deployment associated with the Cognitive Services Account
required: true
schema:
type: string
responses:
'200':
description: The request has succeeded.
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}/stop
: post:
operationId: AgentDeployments_Stop
tags:
- AgentDeployment
summary: Stops an Agent Deployment
description: Stops an Agent Deployment.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: accountName
in: path
description: The name of Cognitive Services account.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: projectName
in: path
description: The name of Cognitive Services account's project.
required: true
schema:
type: string
maxLength: 64
minLength: 2
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: appName
in: path
description: The name of the application associated with the Cognitive Services Account
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: deploymentName
in: path
description: The name of the deployment associated with the Cognitive Services Account
required: true
schema:
type: string
responses:
'200':
description: The request has succeeded.
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
AgentDeploymentType:
type: string
description: Specifies the type of deployment for an agent, indicating how the underlying compute and network infrastructure is managed.
enum:
- Managed
- Hosted
- Custom
x-ms-enum:
name: AgentDeploymentType
modelAsString: true
values:
- name: Managed
value: Managed
description: The underlying infra is managed by the platform in the deployer's subscription
- name: Hosted
value: Hosted
description: The underlying infra is owned by the platform
- name: Custom
value: Custom
description: The underlying infra is provisioned by the deployer (BYO)
Resource:
type: object
title: Resource
description: Common fields that are returned in the response for all Azure Resource Manager resources
properties:
id:
type: string
description: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
readOnly: true
name:
type: string
description: The name of the resource
readOnly: true
type:
type: string
description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
readOnly: true
systemData:
$ref: '#/components/schemas/systemData'
type: object
description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
readOnly: true
x-ms-azure-resource: true
AgentReferenceProperties:
type: object
description: Type modeling a reference to a version of an agent definition.
properties:
agentId:
type:
- string
- 'null'
description: Gets the agent's unique identifier within the organization (subscription).
agentName:
type:
- string
- 'null'
description: Gets the agent's name (unique within the project/app).
AgentProtocolVersion:
type: object
description: Type modeling the protocol and version used by an agent/exposed by a deployment.
properties:
protocol:
$ref: '#/components/schemas/AgentProtocol'
description: The protocol used by the agent/exposed by a deployment.
version:
type:
- string
- 'null'
description: The version of the protocol.
systemData:
type: object
description: Metadata pertaining to creation and last modification of the resource.
properties:
createdBy:
type: string
description: The identity that created the resource.
createdByType:
type: string
description: The type of identity that created the resource.
enum:
- User
- Application
- ManagedIdentity
- Key
x-ms-enum:
name: createdByType
modelAsString: true
createdAt:
type: string
format: date-time
description: The timestamp of resource creation (UTC).
lastModifiedBy:
type: string
description: The identity that last modified the resource.
lastModifiedByType:
type: string
description: The type of identity that last modified the resource.
enum:
- User
- Application
- ManagedIdentity
- Key
x-ms-enum:
name: createdByType
modelAsString: true
lastModifiedAt:
type: string
format: date-time
description: The timestamp of resource last modification (UTC)
readOnly: true
AgentDeploymentProperties:
type: object
description: Type representing an agent deployment as a management construct.
properties:
displayName:
type:
- string
- 'null'
description: Gets or sets the display name of the deployment.
deploymentId:
type:
- string
- 'null'
description: Gets or sets the unique identifier of the deployment.
state:
$ref: '#/components/schemas/AgentDeploymentState'
description: Gets or sets the current operational state of the deployment (and, intrinsically, of the comprising agents).
protocols:
type:
- array
- 'null'
description: Gets or sets the supported protocol types and versions exposed by this deployment.
items:
$ref: '#/components/schemas/AgentProtocolVersion'
agents:
type:
- array
- 'null'
description: Returns a flat list of agent:version deployed in this deployment.
items:
$ref: '#/components/schemas/VersionedAgentReference'
deploymentType:
$ref: '#/components/schemas/AgentDeploymentType'
description: Gets or sets the type of deployment for the agent.
provisioningState:
$ref: '#/components/schemas/AgentDeploymentProvisioningState'
description: Gets or sets the provisioning state of the agent deployment.
readOnly: true
discriminator:
propertyName: deploymentType
required:
- deploymentType
allOf:
- $ref: '#/components/schemas/ResourceBase'
AgentDeploymentProvisioningState:
type: string
description: Provisioning state of an agentic deployment, as an Azure resource.
enum:
- Succeeded
- Failed
- Canceled
- Creating
- Updating
- Deleting
x-ms-enum:
name: AgentDeploymentProvisioningState
modelAsString: true
values:
- name: Succeeded
value: Succeeded
description: The deployment was successfully completed.
- name: Failed
value: Failed
description: The deployment failed.
- name: Canceled
value: Canceled
description: The deployment was canceled.
- name: Creating
value: Creating
description: The deployment is being created.
- name: Updating
value: Updating
description: The deployment is being updated.
- name: Deleting
value: Deleting
description: The deployment is being deleted.
readOnly: true
AgentProtocol:
type: string
description: Protocol used by the agent/exposed by a deployment.
enum:
- Agent
- A2A
- Responses
x-ms-enum:
name: AgentProtocol
modelAsString: true
values:
- name: Agent
value: Agent
description: Agent protocol (aka Active)
- name: A2A
value: A2A
description: Agent2Agent standard
- name: Responses
value: Responses
description: OpenAI-compatible
AgentDeployment:
type: object
description: Agent Deployment resource
properties:
properties:
$ref: '#/components/schemas/AgentDeploymentProperties'
description: '[Required] Additional attributes of the entity.'
required:
- properties
allOf:
- $ref: '#/components/schemas/ProxyResource'
VersionedAgentReference:
type: object
description: Type modeling a reference to a version of an agent definition.
properties:
agentVersion:
type:
- string
- 'null'
description: Gets the agent's version (unique for each agent lineage).
allOf:
- $ref: '#/components/schemas/AgentReferenceProperties'
ResourceBase:
type: object
properties:
description:
type:
- string
- 'null'
description: The asset description text.
tags:
type:
- object
- 'null'
description: Tag dictionary. Tags can be added, removed, and updated.
additionalProperties:
type: string
AgentDeploymentState:
type: string
description: Current operational state of the agentic functionality represented by this deployment.
enum:
- Starting
- Running
- Stopping
- Stopped
- Failed
- Deleting
- Deleted
- Updating
x-ms-enum:
name: AgentDeploymentState
modelAsString: true
values:
- name: Starting
value: Starting
description: The deployment is starting.
- name: Running
value: Running
description: The deployment started/is operational.
- name: Stopping
value: Stopping
description: The deployment is being stopped.
- name: Stopped
value: Stopped
description: The deployment was stopped.
- name: Failed
value: Failed
description: The deployment failed.
- name: Deleting
value: Deleting
description: The deployment is being deleted.
- name: Deleted
value: Deleted
description: The deployment was deleted.
- name: Updating
value: Updating
description: The deployment is being updated.
ProxyResource:
type: object
title: Proxy Resource
description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
allOf:
- $ref: '#/components/schemas/Resource'
AgentDeploymentResourceArmPaginatedResult:
type: object
description: A paginated list of Agent Deployment entities.
properties:
nextLink:
type:
- string
- 'null'
description: The link to the next page of Agent Deployment objects. If null, there are no additional pages.
value:
type: array
description: An array of objects of type Agent Deployment.
items:
$ref: '#/components/schemas/AgentDeployment'
ErrorResponse:
type: object
title: Error response
description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
properties:
error:
$ref: '#/components/schemas/ErrorDetail'
description: The error object.
parameters:
ResourceGroupNameParameter:
name: resourceGroupName
in: path
description: The name of the resource group. The name is case insensitive.
required: true
x-ms-parameter-location: method
schema:
type: string
maxLength: 90
minLength: 1
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
SubscriptionIdParameter:
name: subscriptionId
in: path
description: The ID of the target subscription.
required: true
schema:
type: string
minLength: 1
securitySchemes:
azure_auth:
type: oauth2
flows:
implicit:
scopes:
user_impersonation: impersonate your user account
authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
description: Azure Active Directory OAuth2 Flow.