Skip to content
Azure Cosmos DB logo

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.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.

See all connectors

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

learn.microsoft.com/en-us/rest/api/cosmos-db

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.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.