microsoft-azure-cosmos-db Databases API

Databases 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-databases-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-databases-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Azure Cosmos DB REST Collections Databases 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: Databases
  description: Databases operations
paths:
  /dbs:
    get:
      operationId: listDatabases
      summary: Cosmos DB List databases
      description: Lists all databases in the account.
      tags:
      - Databases
      responses:
        '200':
          description: List of databases
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatabaseList'
    post:
      operationId: createDatabase
      summary: Cosmos DB Create database
      description: Creates a new database.
      tags:
      - Databases
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
      responses:
        '201':
          description: Database created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Database'
  /dbs/{databaseId}:
    parameters:
    - name: databaseId
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: getDatabase
      summary: Cosmos DB Get database
      description: Retrieves a database.
      tags:
      - Databases
      responses:
        '200':
          description: Database
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Database'
    delete:
      operationId: deleteDatabase
      summary: Cosmos DB Delete database
      description: Deletes a database.
      tags:
      - Databases
      responses:
        '204':
          description: Database deleted
components:
  schemas:
    Database:
      type: object
      properties:
        id:
          type: string
        _rid:
          type: string
        _self:
          type: string
        _etag:
          type: string
        _ts:
          type: integer
        _colls:
          type: string
        _users:
          type: string
    DatabaseList:
      type: object
      properties:
        _rid:
          type: string
        Databases:
          type: array
          items:
            $ref: '#/components/schemas/Database'
        _count:
          type: integer
  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