Microsoft Cognitive Services Cognitive Services Commitment Plans API

The CognitiveServicesCommitmentPlans API from Microsoft Cognitive Services — 3 operation(s) for cognitiveservicescommitmentplans.

GitHub OpenAPI

Operations 6

GET /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/commitmentPlans Commitment plans list plans by subscription #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans Commitment plans list plans by resource group #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName} Commitment plans get plan #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName} Commitment plans create or update plan #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName} Commitment plans update plan #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName} Commitment plans delete plan #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-cognitive-services:microsoft-cognitive-services-cognitiveservicescommitmentplans-api"
All apis
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.

Get an API 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 Specification

microsoft-cognitive-services-cognitiveservicescommitmentplans-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CognitiveServicesManagementClient Cognitive Services…
  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: CognitiveServicesCommitmentPlans
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/commitmentPlans:
    get:
      operationId: CommitmentPlans_ListPlansBySubscription
      tags:
      - CognitiveServicesCommitmentPlans
      description: Returns all the resources of a particular type belonging to a subscription.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      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 plans by subscription
      x-summary-source: derived
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans:
    get:
      operationId: CommitmentPlans_ListPlansByResourceGroup
      tags:
      - CognitiveServicesCommitmentPlans
      description: Returns all the resources of a particular type belonging to a resource group
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      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 plans by resource group
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}
  : get:
      operationId: CommitmentPlans_GetPlan
      tags:
      - CognitiveServicesCommitmentPlans
      description: Returns a Cognitive Services commitment plan specified by the parameters.
      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: 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 plan
      x-summary-source: derived
    put:
      operationId: CommitmentPlans_CreateOrUpdatePlan
      tags:
      - CognitiveServicesCommitmentPlans
      description: Create 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: Resource 'CommitmentPlan' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommitmentPlan'
        '201':
          description: Resource 'CommitmentPlan' 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/CommitmentPlan'
        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/CommitmentPlan'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommitmentPlan'
        description: The parameters to provide for the created commitment plan.
        required: true
      summary: Commitment plans create or update plan
      x-summary-source: derived
    patch:
      operationId: CommitmentPlans_UpdatePlan
      tags:
      - CognitiveServicesCommitmentPlans
      description: Create 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: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommitmentPlan'
        '202':
          description: Resource update request 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
        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/CommitmentPlan'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchResourceTagsAndSku'
        description: The parameters to provide for the created commitment plan.
        required: true
      summary: Commitment plans update plan
      x-summary-source: derived
    delete:
      operationId: CommitmentPlans_DeletePlan
      tags:
      - CognitiveServicesCommitmentPlans
      description: Deletes a Cognitive Services commitment plan from the resource group.
      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: 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 plan
      x-summary-source: derived
components:
  schemas:
    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
    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
    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
    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
    PatchResourceTagsAndSku:
      type: object
      description: The object being used to update tags and sku of a resource, in general used for PATCH operations.
      properties:
        sku:
          $ref: '#/components/schemas/Sku'
          description: The resource model definition representing SKU
      allOf:
      - $ref: '#/components/schemas/PatchResourceTags'
    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
    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
    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
    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
    PatchResourceTags:
      type: object
      description: The object being used to update tags of a resource, in general used for PATCH operations.
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
          x-ms-mutability:
          - read
          - update
          - create
    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.
    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'
    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.
  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.