LAP Registry

Cosmos DB Skill

azure-com-cosmos-db

Provider: Microsoft Azure Version: 2019-08-01 Endpoints: 101 Updated: 2026-04-02

Raw .lap | Lean format | API JSON | Open in app

Endpoints

MethodPathDescription
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}
PATCH/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}Retrieves the properties of an existing Azure Cosmos DB database account.
PUT/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}Updates the properties of an existing Azure Cosmos DB database account.
DELETE/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
POST/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/failoverPriorityChangeDeletes an existing Azure Cosmos DB database account.
GET/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/databaseAccountsChanges the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total numbe...
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccountsLists all the Azure Cosmos DB database accounts available under the subscription.
POST/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/listKeysLists all the Azure Cosmos DB database accounts available under the given resource group.
POST/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/listConnectionStringsLists the access keys for the specified Azure Cosmos DB database account.
POST/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/offlineRegionLists the connection strings for the specified Azure Cosmos DB database account.
POST/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/onlineRegionOffline the specified region for the specified Azure Cosmos DB database account.
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/readonlykeysOnline the specified region for the specified Azure Cosmos DB database account.
POST/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/readonlykeysLists the read-only access keys for the specified Azure Cosmos DB database account.
POST/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/regenerateKeyLists the read-only access keys for the specified Azure Cosmos DB database account.
HEAD/providers/Microsoft.DocumentDB/databaseAccountNames/{accountName}Regenerates an access key for the specified Azure Cosmos DB database account.
GET/providers/Microsoft.DocumentDB/operationsChecks that the Azure Cosmos DB account name already exists. A valid account name may contain only lowercase letters, numbers, and the '-' character, and must be between 3 and 50...
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/metricsLists all of the available Cosmos DB Resource Provider operations.
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/metricsRetrieves the metrics determined by the given filter for the given database account.
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/metricsRetrieves the metrics determined by the given filter for the given database account and database.
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/metricsRetrieves the metrics determined by the given filter for the given database account and collection.
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/metricsRetrieves the metrics determined by the given filter for the given database account, collection and region.
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sourceRegion/{sourceRegion}/targetRegion/{targetRegion}/percentile/metricsRetrieves the metrics determined by the given filter for the given database account and region.
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/targetRegion/{targetRegion}/percentile/metricsRetrieves the metrics determined by the given filter for the given account, source and target region. This url is only for PBS and Replication Latency data
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/percentile/metricsRetrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/partitions/metricsRetrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitions/metricsRetrieves the metrics determined by the given filter for the given collection and region, split by partition.
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitionKeyRangeId/{partitionKeyRangeId}/metricsRetrieves the metrics determined by the given filter for the given collection, split by partition.
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/partitionKeyRangeId/{partitionKeyRangeId}/metricsRetrieves the metrics determined by the given filter for the given partition key range id.
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/usagesRetrieves the metrics determined by the given filter for the given partition key range id and region.
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/usagesRetrieves the usages (most recent data) for the given database account.

Install as Skill

Use this API as a Claude Code skill for instant agent access.

CLI Install

lapsh skill-install azure-com-cosmos-db

Downloads and installs to ~/.claude/skills/azure-com-cosmos-db/

Manual Install

Download: Skill Bundle (JSON)

Or view: SKILL.md

Recent Versions (1)