# Microsoft Fabric Cosmos DB Database REST APIs API

> Microsoft Fabric Cosmos DB Database REST APIs API on Apizie: 7 endpoints (Returns a list of Cosmos DB databases from the specified workspace., Creates a Cosmos DB database in the specified workspace., Returns properties of the specified Cosmos DB database., Updates the properties of the specified Cosmos DB database., …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/analytics:microsoft-fabric-cosmos-db-database/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `analytics:microsoft-fabric-cosmos-db-database`
- Category: Analytics
- Status: byok
- Source: https://learn.microsoft.com/rest/api/fabric/
- Page: https://apizie.tech/api/analytics/microsoft-fabric-cosmos-db-database
- OpenAPI: https://apizie.tech/api/analytics/microsoft-fabric-cosmos-db-database/openapi.json



## Endpoints

### Returns a list of Cosmos DB databases from the specified workspace.
`GET https://apizie.tech/v1/analytics:microsoft-fabric-cosmos-db-database/items-list-cosmos-dbdatabases` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| workspaceId | string | yes | The workspace ID. |
| recursive | boolean | no | Lists items in a folder and its nested folders, or just a folder only. True - All items in the folder and its nested folders are listed,… |
| rootFolderId | string | no | This parameter allows users to filter items based on a specific root folder. If not provided, the workspace is used as the root folder. |
| continuationToken | string | no | A token for retrieving the next page of results. |

### Creates a Cosmos DB database in the specified workspace.
`POST https://apizie.tech/v1/analytics:microsoft-fabric-cosmos-db-database/items-create-cosmos-dbdatabase` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| workspaceId | string | yes | The workspace ID. |
| body | object | yes | JSON request body |

### Returns properties of the specified Cosmos DB database.
`GET https://apizie.tech/v1/analytics:microsoft-fabric-cosmos-db-database/items-get-cosmos-dbdatabase` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| workspaceId | string | yes | The workspace ID. |
| cosmosDbDatabaseId | string | yes | The Cosmos DB database ID. |

### Updates the properties of the specified Cosmos DB database.
`POST https://apizie.tech/v1/analytics:microsoft-fabric-cosmos-db-database/items-update-cosmos-dbdatabase` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| workspaceId | string | yes | The workspace ID. |
| cosmosDbDatabaseId | string | yes | The Cosmos DB database ID. |
| body | object | yes | JSON request body |

### Deletes the specified Cosmos DB database.
`POST https://apizie.tech/v1/analytics:microsoft-fabric-cosmos-db-database/items-delete-cosmos-dbdatabase` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| workspaceId | string | yes | The workspace ID. |
| cosmosDbDatabaseId | string | yes | The Cosmos DB database ID. |
| hardDelete | boolean | no | Specifies whether to perform a hard delete. When set to `true`, the item is permanently deleted and cannot be recovered. When set to… |

### Returns the specified Cosmos DB database public definition.
`POST https://apizie.tech/v1/analytics:microsoft-fabric-cosmos-db-database/items-get-cosmos-dbdatabase-definition` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| workspaceId | string | yes | The workspace ID. |
| cosmosDbDatabaseId | string | yes | The Cosmos DB database ID. |
| format | string | no | The format of the Cosmos DB database public definition. |

### Overrides the definition for the specified Cosmos DB database.
`POST https://apizie.tech/v1/analytics:microsoft-fabric-cosmos-db-database/items-update-cosmos-dbdatabase-definition` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| workspaceId | string | yes | The workspace ID. |
| cosmosDbDatabaseId | string | yes | The Cosmos DB database ID. |
| updateMetadata | boolean | no | When set to true and the .platform file is provided as part of the definition, the item's metadata is updated using the metadata in the… |
| body | object | yes | JSON request body |

## Example
```
curl "https://apizie.tech/v1/analytics:microsoft-fabric-cosmos-db-database/items-list-cosmos-dbdatabases" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Microsoft Fabric Cosmos DB Database REST APIs API?
Create a free Apizie key, then send GET https://apizie.tech/v1/analytics:microsoft-fabric-cosmos-db-database/items-list-cosmos-dbdatabases with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Microsoft Fabric Cosmos DB Database REST APIs API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Microsoft Fabric Cosmos DB Database REST APIs itself also needs your own key from fabric.microsoft.com.

### Can AI agents use the Microsoft Fabric Cosmos DB Database REST APIs API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key analytics:microsoft-fabric-cosmos-db-database.

### What is the status of the Microsoft Fabric Cosmos DB Database REST APIs API?
Needs your own provider key (bring your own key)
