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.
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.
io.w6w.relevanceaiRelevance 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.
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.
agent-list List the agents in this project, with an optional name search, filters and sort.
agent-trigger Send a message to an agent, starting a new conversation or continuing one.
conversation-list List conversations, with the agents, evals and costs the vendor returns alongside them.
tool-job-poll Read a job's updates and state (timeout | inprogress | complete | failed). Poll again on `timeout`.
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>"
}
}
]
}agent-get agent-list agent-trigger auth-info-get 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.
npm install @w6w/sdkyarn add @w6w/sdkpnpm add @w6w/sdkdeno add npm:@w6w/sdkimport { 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); npm install -g @w6w/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.
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.
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.
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.
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).
Relevance AI declares its own checks, so its health is a property of the app rather than something the host guesses at.
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.
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.
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.