Skip to content
Peaka logo

Connectors / Data and analytics · HTTP Connector

Automate Peaka with Tray.ai

Create a project, create a connection and create a query in Peaka. Connect Peaka to the rest of your data and analytics stack with Tray.ai.

What can you do with Peaka on Tray.ai?

Peaka is a data platform that connects databases and SaaS apps into one queryable layer, with SQL queries, caching, exports and an AI agent over the data. Tray.ai connects to Peaka through the HTTP Connector, so your workflows can call the Peaka API alongside the rest of your stack.

  • Execute a query each morning and post the key numbers to your team chat.
  • Trigger a full refresh of a cache after your warehouse load finishes, so reports show today's data.
  • Export a query result each week and send it to finance for review.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://partner.peaka.studio/api/v1

Set it up

Connect Peaka to Tray.ai

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

Step 1

Save Peaka's API token

Save the token Peaka issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays 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://partner.peaka.studio/api/v1 as the base URL. Or paste a cURL example from Peaka's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List projects”

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

Step 4

Hand it to an AI agent

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

Workflows to build with Peaka

Each one uses actions and events from Peaka's own API documentation.

Send Peaka query results to Google Sheets

When

On a schedule

Then

  1. Execute a query in Peaka
  2. Write the results to the reporting sheet in Google Sheets

With Google Sheets

Refresh the Peaka cache and report problems in Slack

When

On a schedule

Then

  1. Trigger a full refresh in Peaka
  2. Get cache status
  3. Post any failed refresh to the data channel in Slack

With Slack

Apps you can build on Peaka data

Internal tools your team can build with an AI assistant, each one using Peaka calls from its API documentation.

Saved query runner

Lists saved queries and lets an analyst run one and export the results.

Data source health board

Lists connections and cache status per project so a data team can trigger a refresh.

Give your AI agents Peaka tools

Build an MCP server on Peaka in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List projects
  • List connections
  • List queries
  • List catalogs
  • Create a cache
  • Export a query
  • Create a project
  • Update a project

What the Peaka API covers

6 resources and 25 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.

Projects

  • List projects
  • Create a project
  • Update a project
  • Delete a project

Connections

  • List connections
  • Create a connection
  • Update a connection
  • Delete a connection

Queries

  • List queries
  • Create a query
  • Execute a query
  • Update a query
  • Delete a query

Catalogs

  • List catalogs
  • Create a catalog
  • List tables
  • Delete a catalog

Cache

  • Create a cache
  • Trigger a full refresh
  • Get cache status
  • Delete a cache

Exports

  • Export a query
  • Export a table
  • List exports
  • Cancel an export

Checked against Peaka's own documentation on 2026-10-22

docs.peaka.com/llms.txt

Frequently asked questions

What can a Tray.ai workflow do in Peaka?

+

The Peaka API documents 25 actions across 6 resources (Projects, Connections, Queries, Catalogs, Cache, Exports). For example: List projects; List connections; List queries. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Peaka?

+

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

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