microsoft-azure-cosmos-db Collections API

Collections operations

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-azure-cosmos-db-collections-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-cosmos-db-collections-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Azure Cosmos DB REST Collections API
  description: The Azure Cosmos DB REST API provides data plane operations for documents, collections, databases, users, and stored procedures within a Cosmos DB account using the SQL (Core) API. Authentication uses master keys or Azure AD tokens via the Authorization header.
  version: '2018-12-31'
servers:
- url: https://{account}.documents.azure.com
  variables:
    account:
      default: myaccount
      description: Cosmos DB account name
security:
- masterKey: []
tags:
- name: Collections
  description: Collections operations
paths:
  /dbs/{databaseId}/colls:
    parameters:
    - name: databaseId
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: listCollections
      summary: Cosmos DB List collections
      description: Lists all collections in a database.
      tags:
      - Collections
      responses:
        '200':
          description: List of collections
          content:
            application/json:
              schema:
                type: object
    post:
      operationId: createCollection
      summary: Cosmos DB Create collection
      description: Creates a new collection.
      tags:
      - Collections
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '201':
          description: Collection created
          content:
            application/json:
              schema:
                type: object
components:
  securitySchemes:
    masterKey:
      type: apiKey
      in: header
      name: Authorization
      description: Master key or resource token in Authorization header
externalDocs:
  description: Azure Cosmos DB REST API Documentation
  url: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
x-generated-from: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
x-generated-by: claude-crawl-2026-05-08