First-party app
Relevance AI

Relevance AI

Trigger and manage Relevance AI agents and tools — run an agent, start and poll tool jobs, list agents, tools and conversations, and read the connection's identity.

stable AI & Machine LearningProductivityDeveloper Tools

About

Relevance AI ships in the w6w first-party pack. It declares 12 actions, 3 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.relevanceai
Version
0.1.0
Author
w6w
Licence
MIT
Categories
AI & Machine Learning · Productivity · Developer Tools

Overview

Relevance AI is an agent-building platform: you compose Agents (and the Tools they call) in its UI, then drive them from anywhere. This app covers the surface Relevance AI’s own documentation declares supported — “the Relevance AI API is officially supported only for triggering Agents and Tools” — as twelve actions over the two resource families that surface names.

Agents: trigger one with a message (continuing an existing conversation when you pass a conversation id), fetch it, list or search them, cancel a run, and list conversations. Tools (called studios in the API): trigger one synchronously or asynchronously, poll a job’s progress, cancel a job, and fetch or list tool definitions. A final auth-info-get action reports which project and user a Connection is scoped to.

Every organization sits on its own region host, so a Connection collects the region id shown on your API Keys page alongside the key, and the app builds https://api-<region-id>.stack.tryrelevance.com from it. Health checks cover the vendor’s status page (scoped to its three API Gateways components), whether this connection’s region host answers at all, and a declared absence for quota headroom.

Build with Relevance AI

Three routes to the same 12 actions. The Workflow tab is generated from Relevance AI's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Get Agent

agent-get

Fetch one agent's full definition, optionally at a specific version.

List Agents

agent-list

List the agents in this project, with an optional name search, filters and sort.

Cancel Agent Run

agent-run-cancel

Cancel the in-flight run(s) of an agent.

Trigger Agent

agent-trigger

Send a message to an agent, starting a new conversation or continuing one.

Get Auth Info

auth-info-get

Report which project, user and key this connection is authenticated as.

List Conversations

conversation-list

List conversations, with the agents, evals and costs the vendor returns alongside them.

Get Tool

tool-get

Fetch one tool's full definition, optionally at a specific version.

Cancel Tool Job

tool-job-cancel

Cancel a tool job started with Trigger Tool (Async).

Poll Tool Job

tool-job-poll

Read a job's updates and state (timeout | inprogress | complete | failed). Poll again on `timeout`.

List Tools

tool-list

List the tools in this project, with an optional search, filters and sort.

Trigger Tool

tool-trigger

Run a tool synchronously and return its output, status and cost.

Trigger Tool (Async)

tool-trigger-async

Start a tool asynchronously and return the job id to poll with.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying Relevance AI's real ids.

{
  "manifestVersion": "2",
  "name": "relevanceai-example",
  "steps": [
    {
      "id": "agent-get",
      "uses": {
        "app": "io.w6w.relevanceai",
        "action": "agent-get",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "agentId": "<agentId>"
      }
    }
  ]
}

Here are some of the things you can do

  • Get Agent

    read
    agent-get
  • List Agents

    read
    agent-list
  • Trigger Agent

    perform
    agent-trigger
  • Get Auth Info

    read
    auth-info-get
  • List Conversations

    read
    conversation-list

+7 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for Relevance AI, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to Relevance AI. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "agent-get",
  payload: {
    agentId: "<value>",
    // version: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action agent-get --payload '{"agentId":"<value>"}'

Give an AI agent Relevance AI — without giving it Relevance AI's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.relevanceai#agent-get",
    "input": {
      "agentId": "<agentId>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's Relevance AI connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

Relevance AI's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. Relevance AI itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

Relevance AI declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

Relevance AI platform status

Better Stack status page for status.relevanceai.com, read through its three API Gateways components (AU API, EU API, US API) rather than the page-wide aggregate, which also covers Agent Builder, Chat and the page's LLM/third-party providers.

dependency

Region API host reachable

Unauthenticated request to this connection's `api-<region id>.stack.tryrelevance.com` host. A 401 passes — it proves the region host is serving; credential validity is the `auth:*` check's job.

quota

Plan and rate-limit headroom

Declared absence: no supported Relevance AI endpoint reports remaining credits or a rate-limit budget, and the one object in the vendor's schema that pairs usage with a limit lives in its unsupported organization-management surface.