Azure Cosmos DB website screenshot

Azure Cosmos DB

Azure Cosmos DB is a fully managed, globally distributed, multi-model NoSQL and relational database service from Microsoft Azure that supports document, key-value, graph, column-family, and vector data models with turnkey global distribution, elastic scale, and SLA-backed latency, throughput, consistency, and availability. The Cosmos DB REST API exposes CRUD and query operations on databases, containers, items, stored procedures, triggers, and user-defined functions using master-key or resource-token authentication, alongside the Cosmos DB Resource Provider (Azure Resource Manager) using Microsoft Entra ID OAuth 2.0.

Azure Cosmos DB publishes 14 API contracts indexed on the APIs.io network, including Collections API, Databases API, Documents API, and 11 more. Tagged areas include Database, NoSQL, Document Database, Vector Search, and Globally Distributed.

The Azure Cosmos DB catalog on APIs.io includes 1 Spectral governance ruleset.

Azure Cosmos DB’s developer surface includes developer portal, support, authentication, documentation, pricing, signup flow, engineering blog, and 9 more developer resources.

40.9/100 developing ▬ flat Agent 19/100 agent aware Heartbeat 100/100 alive saas Full breakdown ↓
scored 2026-11-06 · rubric v0.27.0 · Show this score on your site →
1 published contract
DatabaseNoSQLDocument DatabaseVector SearchGlobally DistributedCloudMicrosoft Azure

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-11-06 · rubric v0.27.0
Regulatory Posture applies to this provider. Its tags matched the Horizontal (data, software, accessibility, platform) regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
The six quality facets above are damped to 75 points between them, because the conditional facet above carries the other 25. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 75% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Show this score on your site. Kin Score badge preview for Azure Cosmos DB It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/azure-cosmos-db/"><img src="https://apis.io/badge/azure-cosmos-db/card.svg" alt="Azure Cosmos DB on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
  • MCP Server +12 pts — deployment.mode + probe verdict on the mcp/ manifest, not the pointer; an unprobed slug falls back to authorship
  • Idempotency +9 pts — OpenAPI mutating operations declare an idempotency key — a header, a request-body property, or a named de-duplication token whose own description says so (verified); else common[].type matches /idempoten/i (documented)
  • Stable Error Semantics +8 pts — OpenAPI $refs a shared error schema across 4xx/5xx responses (verified), else common[].type includes ErrorCatalog / ErrorCodes / DeclineCodes
  • A2A Agent Card +8 pts — a2a/-a2a.yml manifest, graded on conformance.grade against A2A 1.0.0
  • Rate-Limit Signaling +7 pts — OpenAPI responses document X-RateLimit-* / RateLimit headers (verified), else a rate_limits artifact or RateLimits link (documented)
  • Request/Response Examples +7 pts — share of operations carrying request/response examples; else an Examples / Code Samples link
10 more unmet checks in the Agent Readiness table above.
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from the provider profile at artifacts.apis.io/azure-cosmos-db/apis.yml: open an issue on github.com/api-evangelist/azure-cosmos-db to ask a question or point us at an artifact you publish. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

Markets this provider is in provisional

The Kin Score Market layer reads a provider inside its market: its position, and how deep its integrations go. Depth is only comparable within a position. Provisional and unweighted: not part of the Kin Score or agent readiness.

MarketPositionDepthRegistered MCP serverDeclares compatibility
Databases (PostgreSQL wire) covered 19.7 (thin) - 2
Retrieval, Vector and RAG covered 19.7 (thin) - 2
Agent Skills (SKILL.md packages) covered 19.7 (thin) - 2

Registered MCP server and declares compatibility are report only — not weighted. Undeclared means we found nothing we can read, so there is no number: we never infer integrations.

Standards implemented 2

Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.

measured — observed by APIs.io (published)
measured — observed by APIs.io (declared)

APIs 14

Individual APIs this provider publishes, each with its own machine-readable definition.

Azure Cosmos DB Data Plane REST API

REST API for creating, querying, and managing databases, containers, items, stored procedures, triggers, user-defined functions, users, and permissions. Authentication uses mast...

Azure Cosmos DB Resource Provider API

Azure Resource Manager REST API for managing Cosmos DB accounts, databases, containers, throughput, backups, and role-based access at the control-plane level. Authentication use...

Azure Cosmos DB Collections API

Document collections (containers)

Azure Cosmos DB Databases API

Database resources

Azure Cosmos DB Offers API

Throughput offers

Azure Cosmos DB Collections API

Collections operations

Azure Cosmos DB Databases API

Databases operations

Azure Cosmos DB Documents API

Documents operations

Scroll for all 14

Open Collections 10

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

Scroll for all 10

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

Azure Cosmos DB API Rules

56 rules · 54 errors 1 warnings 1 info

SPECTRAL

Security Posture 3

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Azure Cosmos Db Authentication

apiKey/oauth2 · 2 schemes

SECURITY

Azure Cosmos Db Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Azure Cosmos Db Vulnerability Disclosure

security.txt · contact published

SECURITY

Scopes 1

OAuth scopes governing access to this provider's APIs.

Azure Cosmos Db Scopes

1 scope · clientCredentials

1 scopes

SCOPES

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Azure Cosmos Db Agentic Access

21 operations · 9 acting

21 operations · 9 acting

AGENTIC

Resources

Get Started 2

Portal, sign-up, and the first successful call

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 4

Authentication, authorization, and security posture

Operate 1

Status, limits, changes, and where to get help

Commercial 3

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: azure-cosmos-db
name: Azure Cosmos DB
description: Azure Cosmos DB is a fully managed, globally distributed, multi-model NoSQL and relational database service from
  Microsoft Azure that supports document, key-value, graph, column-family, and vector data models with turnkey global distribution,
  elastic scale, and SLA-backed latency, throughput, consistency, and availability. The Cosmos DB REST API exposes CRUD and
  query operations on databases, containers, items, stored procedures, triggers, and user-defined functions using master-key
  or resource-token authentication, alongside the Cosmos DB Resource Provider (Azure Resource Manager) using Microsoft Entra
  ID OAuth 2.0.
type: Index
deliveryModel:
  model: saas
  open_source: false
  commercial: true
  callable_host: true
  label: Hosted service · you call their endpoint
  confidence: high
  source:
  - openapi
  - pricing
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: unknown
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Unknown
  confidence: low
  source:
  - authentication
  - security
  generated: '2026-11-06'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/azure-cosmos-db.png
tags:
- Database
- NoSQL
- Document Database
- Vector Search
- Globally Distributed
- Cloud
- Microsoft Azure
tags_raw:
- Database
- NoSQL
- Document Database
- Vector Database
- Globally Distributed
- Cloud
- Azure
url: https://azure.microsoft.com/en-us/products/cosmos-db/
created: '2026-05-11'
modified: '2026-05-11'
specificationVersion: '0.23'
apis:
- aid: azure-cosmos-db:data-plane-api
  name: Azure Cosmos DB Data Plane REST API
  description: REST API for creating, querying, and managing databases, containers, items, stored procedures, triggers, user-defined
    functions, users, and permissions. Authentication uses master keys, resource tokens, or Microsoft Entra ID bearer tokens
    with HMAC-signed authorization headers.
  humanURL: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
  baseURL: https://{databaseaccount}.documents.azure.com
  tags:
  - Cosmos DB
  - NoSQL
  - SQL API
  - Documents
  - Microsoft Azure
  tags_raw:
  - Cosmos DB
  - NoSQL
  - SQL API
  - Documents
  - Azure
  properties:
  - type: Documentation
    url: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
  - type: Access Control
    url: https://learn.microsoft.com/en-us/rest/api/cosmos-db/access-control-on-cosmosdb-resources
  - type: Resource URI Syntax
    url: https://learn.microsoft.com/en-us/rest/api/cosmos-db/cosmosdb-resource-uri-syntax-for-rest
- aid: azure-cosmos-db:resource-provider-api
  name: Azure Cosmos DB Resource Provider API
  description: Azure Resource Manager REST API for managing Cosmos DB accounts, databases, containers, throughput, backups,
    and role-based access at the control-plane level. Authentication uses Microsoft Entra ID OAuth 2.0 bearer tokens.
  humanURL: https://learn.microsoft.com/en-us/rest/api/cosmos-db-resource-provider/
  baseURL: https://management.azure.com
  tags:
  - Cosmos DB
  - Control Plane
  - Resource Manager
  - Microsoft Azure
  tags_raw:
  - Cosmos DB
  - Control Plane
  - Resource Manager
  - Azure
  properties:
  - type: Documentation
    url: https://learn.microsoft.com/en-us/rest/api/cosmos-db-resource-provider/
- aid: azure-cosmos-db:azure-cosmos-db-collections-api
  name: Azure Cosmos DB Collections API
  description: Document collections (containers)
  humanURL: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
  baseURL: https://{databaseaccount}.documents.azure.com
  tags:
  - Collection
  tags_raw:
  - Collections
  properties:
  - type: OpenAPI
    url: openapi/azure-cosmos-db-collections-api-openapi.yml
- aid: azure-cosmos-db:azure-cosmos-db-databases-api
  name: Azure Cosmos DB Databases API
  description: Database resources
  humanURL: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
  baseURL: https://{databaseaccount}.documents.azure.com
  tags:
  - Database
  tags_raw:
  - Databases
  properties:
  - type: OpenAPI
    url: openapi/azure-cosmos-db-databases-api-openapi.yml
- aid: azure-cosmos-db:azure-cosmos-db-documents-api
  name: Azure Cosmos DB Documents API
  description: Document items
  humanURL: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
  baseURL: https://{databaseaccount}.documents.azure.com
  tags:
  - Documents
  properties:
  - type: OpenAPI
    url: openapi/azure-cosmos-db-documents-api-openapi.yml
- aid: azure-cosmos-db:azure-cosmos-db-offers-api
  name: Azure Cosmos DB Offers API
  description: Throughput offers
  humanURL: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
  baseURL: https://{databaseaccount}.documents.azure.com
  tags:
  - Offers
  properties:
  - type: OpenAPI
    url: openapi/azure-cosmos-db-offers-api-openapi.yml
- aid: azure-cosmos-db:azure-cosmos-db-permissions-api
  name: Azure Cosmos DB Permissions API
  description: Permissions
  humanURL: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
  baseURL: https://{databaseaccount}.documents.azure.com
  tags:
  - Permissions
  properties:
  - type: OpenAPI
    url: openapi/azure-cosmos-db-permissions-api-openapi.yml
- aid: azure-cosmos-db:azure-cosmos-db-stored-procedures-api
  name: Azure Cosmos DB Stored Procedures API
  description: Stored procedures
  humanURL: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
  baseURL: https://{databaseaccount}.documents.azure.com
  tags:
  - Stored Procedures
  properties:
  - type: OpenAPI
    url: openapi/azure-cosmos-db-stored-procedures-api-openapi.yml
- aid: azure-cosmos-db:azure-cosmos-db-triggers-api
  name: Azure Cosmos DB Triggers API
  description: Triggers
  humanURL: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
  baseURL: https://{databaseaccount}.documents.azure.com
  tags:
  - Triggers
  properties:
  - type: OpenAPI
    url: openapi/azure-cosmos-db-triggers-api-openapi.yml
- aid: azure-cosmos-db:azure-cosmos-db-user-defined-functions-api
  name: Azure Cosmos DB User Defined Functions API
  description: UDFs
  humanURL: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
  baseURL: https://{databaseaccount}.documents.azure.com
  tags:
  - User Defined Functions
  properties:
  - type: OpenAPI
    url: openapi/azure-cosmos-db-user-defined-functions-api-openapi.yml
- aid: azure-cosmos-db:azure-cosmos-db-users-api
  name: Azure Cosmos DB Users API
  description: Users
  humanURL: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
  baseURL: https://{databaseaccount}.documents.azure.com
  tags:
  - User
  tags_raw:
  - Users
  properties:
  - type: OpenAPI
    url: openapi/azure-cosmos-db-users-api-openapi.yml
- aid: microsoft-azure-cosmos-db:microsoft-azure-cosmos-db-collections-api
  name: Azure Cosmos DB Collections API
  description: Collections operations
  humanURL: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
  baseURL: https://{account}.documents.azure.com/
  tags:
  - Collection
  tags_raw:
  - Collections
  properties:
  - type: OpenAPI
    url: openapi/azure-cosmos-db-collections-api-openapi.yml
  - type: Documentation
    url: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
- aid: microsoft-azure-cosmos-db:microsoft-azure-cosmos-db-databases-api
  name: Azure Cosmos DB Databases API
  description: Databases operations
  humanURL: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
  baseURL: https://{account}.documents.azure.com/
  tags:
  - Database
  tags_raw:
  - Databases
  properties:
  - type: OpenAPI
    url: openapi/azure-cosmos-db-databases-api-openapi.yml
  - type: Documentation
    url: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
- aid: microsoft-azure-cosmos-db:microsoft-azure-cosmos-db-documents-api
  name: Azure Cosmos DB Documents API
  description: Documents operations
  humanURL: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
  baseURL: https://{account}.documents.azure.com/
  tags:
  - Documents
  properties:
  - type: OpenAPI
    url: openapi/azure-cosmos-db-documents-api-openapi.yml
  - type: Documentation
    url: https://learn.microsoft.com/en-us/rest/api/cosmos-db/
common:
- type: Portal
  url: https://portal.azure.com/
- type: TermsOfService
  url: https://www.microsoft.com/en-us/legal/terms-of-use
- type: PrivacyPolicy
  url: https://privacy.microsoft.com/en-us/privacystatement
- type: Support
  url: https://support.microsoft.com/
- type: AgenticAccess
  url: agentic-access/azure-cosmos-db-agentic-access.yml
- type: VulnerabilityDisclosure
  url: security/azure-cosmos-db-vulnerability-disclosure.yml
- type: DomainSecurity
  url: security/azure-cosmos-db-domain-security.yml
- type: Authentication
  url: authentication/azure-cosmos-db-authentication.yml
- type: OAuthScopes
  url: scopes/azure-cosmos-db-scopes.yml
- type: GitHubOrganization
  url: https://github.com/AzureCosmosDB
- type: LinkedIn
  url: https://www.linkedin.com/company/azure-cosmos-db
- type: Website
  url: https://azure.microsoft.com/en-us/products/cosmos-db/
- type: Documentation
  url: https://learn.microsoft.com/en-us/azure/cosmos-db/
- type: Pricing
  url: https://azure.microsoft.com/en-us/pricing/details/cosmos-db/
- type: Signup
  url: https://azure.microsoft.com/en-us/free/cosmos-db/
- url: https://azure.microsoft.com/en-us/blog/feed/atom/
  type: Blog
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
x-parent: microsoft-azure
x-relationship: product

Azure Cosmos DB API — frequently asked questions

Does Azure Cosmos DB have an API?

Yes. APIs.io lists 14 APIs from Azure Cosmos DB, including Azure Cosmos DB Data Plane REST API, Azure Cosmos DB Resource Provider API and Azure Cosmos DB Collections API, and 11 more.

Is there an OpenAPI specification for the Azure Cosmos DB API?

Yes. APIs.io indexes 12 OpenAPI specifications for Azure Cosmos DB, each linked for download from this page.

How do I authenticate with the Azure Cosmos DB API?

Azure Cosmos DB uses bearer-token authentication (apiKey/oauth2 · 2 schemes). The details are profiled on APIs.io as Azure Cosmos Db Authentication.

Is the Azure Cosmos DB API ready for AI agents?

Azure Cosmos DB has a Kin Score of 40.9 out of 100 (developing) and an Agent Readiness score of 19.0 (agent-aware), scored by API Evangelist on 2026-11-06.

Work with this as data

Every provider 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 providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • 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 provider
curl "https://apis.io/api/v1/providers/azure-cosmos-db"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/azure-cosmos-db/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/azure-cosmos-db/evidence"

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. See our Privacy Policy and Terms.

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