Microsoft Cognitive Services Commitment Plans API
The Commitment Plans API from Microsoft Cognitive Services — 4 operation(s) for commitment plans.
The Commitment Plans API from Microsoft Cognitive Services — 4 operation(s) for commitment plans.
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-commitment-plans-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 Commitment Plans 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: Commitment Plans
paths:
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/commitmentPlans
: get:
operationId: CommitmentPlans_List
tags:
- Commitment Plans
description: Gets the commitmentPlans associated with the Cognitive Services account.
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_.-]*$
responses:
'200':
description: The request has succeeded.
content:
application/json:
schema:
$ref: '#/components/schemas/CommitmentPlanListResult'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
summary: Commitment plans list
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/commitmentPlans/{commitmentPlanName}
: get:
operationId: CommitmentPlans_Get
tags:
- Commitment Plans
description: Gets the specified commitmentPlans associated with the Cognitive Services account.
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: commitmentPlanName
in: path
description: The name of the commitmentPlan 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/CommitmentPlan'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
summary: Commitment plans get
x-summary-source: derived
put:
operationId: CommitmentPlans_CreateOrUpdate
tags:
- Commitment Plans
description: Update the state of specified commitmentPlans associated with the Cognitive Services account.
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: commitmentPlanName
in: path
description: The name of the commitmentPlan associated with the Cognitive Services Account
required: true
schema:
type: string
responses:
'200':
description: Resource 'CommitmentPlan' update operation succeeded
content:
application/json:
schema:
$ref: '#/components/schemas/CommitmentPlan'
'201':
description: Resource 'CommitmentPlan' create operation succeeded
content:
application/json:
schema:
$ref: '#/components/schemas/CommitmentPlan'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CommitmentPlan'
description: The commitmentPlan properties.
required: true
summary: Commitment plans create or update
x-summary-source: derived
delete:
operationId: CommitmentPlans_Delete
tags:
- Commitment Plans
description: Deletes the specified commitmentPlan associated with the Cognitive Services account.
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: commitmentPlanName
in: path
description: The name of the commitmentPlan associated with the Cognitive Services Account
required: true
schema:
type: string
responses:
'200':
description: Resource deleted successfully.
'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
summary: Commitment plans delete
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations
: get:
operationId: CommitmentPlans_ListAssociations
tags:
- Commitment Plans
description: Gets the associations of the Cognitive Services commitment plan.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: commitmentPlanName
in: path
description: The name of the commitmentPlan associated with the Cognitive Services Account
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
responses:
'200':
description: The request has succeeded.
content:
application/json:
schema:
$ref: '#/components/schemas/CommitmentPlanAccountAssociationListResult'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
summary: Commitment plans list associations
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations/{commitmentPlanAssociationName}
: get:
operationId: CommitmentPlans_GetAssociation
tags:
- Commitment Plans
description: Gets the association of the Cognitive Services commitment plan.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: commitmentPlanName
in: path
description: The name of the commitmentPlan associated with the Cognitive Services Account
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: commitmentPlanAssociationName
in: path
description: The name of the commitment plan association with the Cognitive Services Account
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/CommitmentPlanAccountAssociation'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
summary: Commitment plans get association
x-summary-source: derived
put:
operationId: CommitmentPlans_CreateOrUpdateAssociation
tags:
- Commitment Plans
description: Create or update the association of the Cognitive Services commitment plan.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: commitmentPlanName
in: path
description: The name of the commitmentPlan associated with the Cognitive Services Account
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: commitmentPlanAssociationName
in: path
description: The name of the commitment plan association with the Cognitive Services Account
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
responses:
'200':
description: Resource 'CommitmentPlanAccountAssociation' update operation succeeded
content:
application/json:
schema:
$ref: '#/components/schemas/CommitmentPlanAccountAssociation'
'201':
description: Resource 'CommitmentPlanAccountAssociation' create operation succeeded
headers:
Azure-AsyncOperation:
description: A link to the status monitor
schema:
type: string
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
content:
application/json:
schema:
$ref: '#/components/schemas/CommitmentPlanAccountAssociation'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: azure-async-operation
final-state-schema: '#/definitions/CommitmentPlanAccountAssociation'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CommitmentPlanAccountAssociation'
description: The commitmentPlan properties.
required: true
summary: Commitment plans create or update association
x-summary-source: derived
delete:
operationId: CommitmentPlans_DeleteAssociation
tags:
- Commitment Plans
description: Deletes the association of the Cognitive Services commitment plan.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: commitmentPlanName
in: path
description: The name of the commitmentPlan associated with the Cognitive Services Account
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
- name: commitmentPlanAssociationName
in: path
description: The name of the commitment plan association with the Cognitive Services Account
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
responses:
'200':
description: Resource deleted successfully.
'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
summary: Commitment plans delete association
x-summary-source: derived
components:
schemas:
Sku:
type: object
description: The resource model definition representing SKU
properties:
name:
type: string
description: The name of the SKU. Ex - P3. It is typically a letter+number code
tier:
$ref: '#/components/schemas/SkuTier'
description: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
size:
type: string
description: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
family:
type: string
description: If the service has different generations of hardware, for the same SKU, then that can be captured here.
capacity:
type: integer
format: int32
description: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
required:
- name
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
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'
CommitmentPlanProvisioningState:
type: string
description: Gets the status of the resource at the time the operation was called.
enum:
- Accepted
- Creating
- Deleting
- Moving
- Failed
- Succeeded
- Canceled
x-ms-enum:
name: CommitmentPlanProvisioningState
modelAsString: true
values:
- name: Accepted
value: Accepted
- name: Creating
value: Creating
- name: Deleting
value: Deleting
- name: Moving
value: Moving
- name: Failed
value: Failed
- name: Succeeded
value: Succeeded
- name: Canceled
value: Canceled
readOnly: true
SkuTier:
type: string
description: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
enum:
- Free
- Basic
- Standard
- Premium
- Enterprise
x-ms-enum:
name: SkuTier
modelAsString: true
values:
- name: Free
value: Free
- name: Basic
value: Basic
- name: Standard
value: Standard
- name: Premium
value: Premium
- name: Enterprise
value: Enterprise
CommitmentPlanListResult:
type: object
description: The list of cognitive services accounts operation response.
properties:
nextLink:
type: string
description: The link used to get the next page of CommitmentPlan.
value:
type: array
description: Gets the list of Cognitive Services accounts CommitmentPlan and their properties.
items:
$ref: '#/components/schemas/CommitmentPlan'
readOnly: true
CommitmentPlanProperties:
type: object
description: Properties of Cognitive Services account commitment plan.
properties:
provisioningState:
$ref: '#/components/schemas/CommitmentPlanProvisioningState'
description: Gets the status of the resource at the time the operation was called.
readOnly: true
commitmentPlanGuid:
type: string
description: Commitment plan guid.
hostingModel:
$ref: '#/components/schemas/HostingModel'
description: Account hosting model.
planType:
type: string
description: Commitment plan type.
current:
$ref: '#/components/schemas/CommitmentPeriod'
description: Cognitive Services account commitment period.
autoRenew:
type: boolean
description: AutoRenew commitment plan.
next:
$ref: '#/components/schemas/CommitmentPeriod'
description: Cognitive Services account commitment period.
last:
$ref: '#/components/schemas/CommitmentPeriod'
description: Cognitive Services account commitment period.
readOnly: true
provisioningIssues:
type: array
description: The list of ProvisioningIssue.
items:
type: string
readOnly: true
CommitmentPlanAccountAssociationProperties:
type: object
description: The commitment plan account association properties.
properties:
accountId:
type: string
description: The Azure resource id of the account.
CommitmentQuota:
type: object
description: Cognitive Services account commitment quota.
properties:
quantity:
type: integer
format: int64
description: Commitment quota quantity.
unit:
type: string
description: Commitment quota unit.
CommitmentPlan:
type: object
description: Cognitive Services account commitment plan.
properties:
properties:
$ref: '#/components/schemas/CommitmentPlanProperties'
description: Properties of Cognitive Services account commitment plan.
tags:
type: object
description: Resource tags.
additionalProperties:
type: string
x-ms-mutability:
- read
- update
- create
location:
type: string
description: The geo-location where the resource lives
x-ms-mutability:
- read
- create
etag:
type: string
description: Resource Etag.
readOnly: true
kind:
type: string
description: The kind (type) of cognitive service account.
sku:
$ref: '#/components/schemas/Sku'
description: The resource model definition representing SKU
allOf:
- $ref: '#/components/schemas/ProxyResource'
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.
CommitmentPlanAccountAssociationListResult:
type: object
description: The list of cognitive services Commitment Plan Account Association operation response.
properties:
nextLink:
type: string
description: The link used to get the next page of Commitment Plan Account Association.
value:
type: array
description: Gets the list of Cognitive Services Commitment Plan Account Association and their properties.
items:
$ref: '#/components/schemas/CommitmentPlanAccountAssociation'
readOnly: true
x-ms-identifiers:
- id
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
HostingModel:
type: string
description: Account hosting model.
enum:
- Web
- ConnectedContainer
- DisconnectedContainer
- ProvisionedWeb
x-ms-enum:
name: HostingModel
modelAsString: true
values:
- name: Web
value: Web
- name: ConnectedContainer
value: ConnectedContainer
- name: DisconnectedContainer
value: DisconnectedContainer
- name: ProvisionedWeb
value: ProvisionedWeb
CommitmentPeriod:
type: object
description: Cognitive Services account commitment period.
properties:
tier:
type: string
description: Commitment period commitment tier.
count:
type: integer
format: int32
description: Commitment period commitment count.
quota:
$ref: '#/components/schemas/CommitmentQuota'
description: Cognitive Services account commitment quota.
readOnly: true
startDate:
type: string
description: Commitment period start date.
readOnly: true
endDate:
type: string
description: Commitment period end date.
readOnly: true
CommitmentPlanAccountAssociation:
type: object
description: The commitment plan association.
properties:
properties:
$ref: '#/components/schemas/CommitmentPlanAccountAssociationProperties'
description: Properties of Cognitive Services account commitment plan association.
x-ms-client-flatten: true
etag:
type: string
description: Resource Etag.
readOnly: true
tags:
type: object
description: Resource tags.
additionalProperties:
type: string
x-ms-mutability:
- read
- update
- create
allOf:
- $ref: '#/components/schemas/ProxyResource'
parameters:
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
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
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.