> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.polytomic.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server.

# Azure Cosmos DB

Supports:
* ✅ Models
* ✅ Bulk sync source


## Connection

### Configuration
<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>key</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Key</td>
<td><code>required</code></td>
</tr>
<tr>
<td><code>uri</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">URI</td>
<td><code>required</code></td>
</tr>
</tbody>
</table>


#### Example

```json
{
  "name": "Azure Cosmos DB connection",
  "type": "cosmosdb",
  "configuration": {
    "key": "dasfdasz62px8lqeoakuea2ccl4rxmhu1i20kc8ruvksmzxq==",
    "uri": "https://contosomarketing.documents.azure.com"
  }
}
```


## Model Sync
### Source
#### Configuration
<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>collection</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Collection</td>
<td><code>required</code></td>
</tr>
<tr>
<td><code>database</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Database</td>
<td><code>required</code></td>
</tr>
<tr>
<td><code>query</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;"></td>
<td><code>optional</code></td>
</tr>
</tbody>
</table>


#### Example
```json
{
  ...
  "configuration": {
    "collection": "",
    "database": "public",
    "query": "SELECT * from public.users"
  }
}
```







## Bulk Sync
### Source
Azure Cosmos DB connections may be used as a bulk sync source. No additional configuration options are required.