
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.
Thanks — someone from our team will be in touch soon.
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
How Tray.ai makes this work
Mode plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 9,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in Mode — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose Mode actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on Mode data with your AI assistant, then deploy, run, and govern them on Tray.ai.
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 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.
Thanks — someone from our team will be in touch soon.