Skip to content
CockroachDB logo

Connectors / Data and analytics · HTTP Connector

Automate CockroachDB with Tray.ai

Create a cluster and create a SQL user in CockroachDB. Connect CockroachDB to the rest of your data and analytics stack with Tray.ai.

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 CockroachDB on Tray.ai?

CockroachDB is a distributed SQL database from Cockroach Labs, offered as a managed cloud service with clusters you can create and manage by API. Tray.ai connects to CockroachDB through the HTTP Connector, so your workflows can call the CockroachDB API alongside the rest of your stack.

  • Create a SQL user when a developer's database access request is approved in your service desk.
  • Delete a SQL user when an engineer leaves, triggered from your HR system.
  • List invoices monthly and send each one to your accounting system.
  • Set a maintenance window that matches the change calendar your ops team keeps.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://cockroachlabs.cloud/api/v1

What the CockroachDB API covers

4 resources and 12 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow.

Clusters

  • List clusters
  • Create a cluster
  • Get a cluster

SQL users

  • List SQL users
  • Create a SQL user
  • Delete a SQL user
  • Change a SQL user password

Maintenance windows

  • Set a maintenance window
  • Get a maintenance window
  • Delete a maintenance window

Invoices

  • List invoices
  • Get an invoice

Checked against CockroachDB's own documentation on 2026-11-06

docs.cockroachlabs.com/docs/cockroachcloud/cloud-api

Frequently asked questions

What can a Tray.ai workflow do in CockroachDB?

+

The CockroachDB API documents 12 actions across 4 resources (Clusters, SQL users, Maintenance windows, Invoices). For example: List clusters; List SQL users; Set a maintenance window. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with CockroachDB?

+

The CockroachDB API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See CockroachDB 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.