
Connectors / Data and analytics · HTTP Connector
Automate Azure Cosmos DB with Tray.ai
Create a database, create a collection and create a document in Azure Cosmos DB.
Thanks — someone from our team will be in touch soon.
What can you do with Azure Cosmos DB on Tray.ai?
Azure Cosmos DB is Microsoft's globally distributed NoSQL database service, storing JSON documents in databases and containers with built-in replication across Azure regions. Tray.ai connects to Azure Cosmos DB through the HTTP Connector, so your workflows can call the Azure Cosmos DB API alongside the rest of your stack.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header or OAuth 2.0
- Base URL
- https://{databaseaccount}.documents.azure.com
What the Azure Cosmos DB API covers
5 resources and 19 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow.
Databases
- List databases
- Create a database
- Get a database
- Delete a database
Collections
- List collections
- Create a collection
- Replace a collection
- Delete a collection
Documents
- List documents
- Create a document
- Replace a document
- Delete a document
- Query documents
Stored procedures
- List stored procedures
- Create a stored procedure
- Execute a stored procedure
Users
- List users
- Create a user
- Delete a user
Checked against Azure Cosmos DB's own documentation on 2026-10-22
How Tray.ai makes this work
Azure Cosmos DB plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 700+ connectors with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in Azure Cosmos DB — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose Azure Cosmos DB actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →More data and analytics apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every data and analytics connector →
Frequently asked questions
What can a Tray.ai workflow do in Azure Cosmos DB?
+
The Azure Cosmos DB API documents 19 actions across 5 resources (Databases, Collections, Documents, Stored procedures, Users). For example: List databases; List collections; List documents. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Azure Cosmos DB?
+
The Azure Cosmos DB API uses an API key in a request header and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
See Azure Cosmos DB working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.