Skip to content
Mode logo

Connectors / Data and analytics · HTTP Connector

Automate Mode with Tray.ai

Update a report, create a report run and create a collection in Mode. Connect Mode 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 Mode on Tray.ai?

Mode is an analytics platform where teams write SQL, Python and R, build reports and charts, and share or schedule them. Tray.ai connects to Mode through the HTTP Connector, so your workflows can call the Mode API alongside the rest of your stack.

  • Create a report run each morning and share the results with finance in your team chat.
  • Get a report run when it finishes and load the figures into your data warehouse.
Connects through
HTTP Connector
Authentication
Basic authentication
Base URL
https://app.mode.com/api

Set it up

Connect Mode to Tray.ai

Each step uses Mode's own API details, from its documentation.

Step 1

Save Mode's username and password

Save the credentials Mode gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://app.mode.com/api as the base URL. Or paste a cURL example from Mode's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “Get a report”

It's one of 14 documented actions, under Reports. The response comes back as data the next step can map into your other apps.

Step 4

Hand it to an AI agent

Wrap “List reports in a collection” and “Update a report” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

What the Mode API covers

3 resources and 14 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Reports

  • Get a report
  • List reports in a collection
  • Update a report
  • Archive a report
  • Delete a report

Report runs

  • List report runs
  • Create a report run
  • Get a report run
  • Clone a report run

Collections

  • List collections
  • Get a collection
  • Create a collection
  • Update a collection
  • Delete a collection

Checked against Mode's own documentation on 2026-10-27

mode.com/developer/api-reference/introduction

Frequently asked questions

What can a Tray.ai workflow do in Mode?

+

The Mode API documents 14 actions across 3 resources (Reports, Report runs, Collections). For example: Get a report; List report runs; List collections. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Mode?

+

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

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