CONNECT APP
Build with Utopian Labs
AI agents and models that you can use directly in your current sales process.
Artificial Intelligence (AI)
- API key
MCP
Give your agent Utopian Labs tools
Every Utopian Labs action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's Utopian Labs account for each tool call — you store no tokens.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "utopian_labs",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Get Run Status:
const result = await mcp.callTool({
name: "utopian_labs-get-run-status",
arguments: {
runId: "Run ID",
},
})# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", # any stable ID for this user in your system
"x-pd-app-slug": "utopian_labs",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Get Run Status:
result = await session.call_tool("utopian_labs-get-run-status", {
"runId": "Run ID",
})SDK
Run Utopian Labs actions from your backend
Connect a user's Utopian Labs account once, then run Get Run Status on their behalf from your own code — TypeScript, Python, or plain HTTP.
import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "utopian_labs-get-run-status",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
utopian_labs: { authProvisionId: "apn_xxxxxxx" },
runId: "Run ID",
},
})from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="utopian_labs-get-run-status",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"utopian_labs": {"authProvisionId": "apn_xxxxxxx"},
"runId": "Run ID",
},
)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "utopian_labs-get-run-status",
"configured_props": {
"utopian_labs": { "authProvisionId": "apn_xxxxxxx" },
"runId": "Run ID"
}
}'TOOLS
Utopian Labs actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Get Run Status
actionRetrieve the status of an initiated run. See the documentationRead-onlyv0.0.2 -
Initiate Classification Run
actionInitiate a classification run of the R1-Classification agent. See the documentationWritev0.0.2 -
Initiate Copywriting Run
actionInitiate a copywriting run of the R1-Copywriting agent. See the documentationWritev0.0.2 -
Initiate Qualification Run
actionInitiate a qualification run of the R1-Qualification agent. See the documentationWritev0.0.2 -
Initiate Research Run
actionInitiate a research run of the R1 agent. See the documentationWritev0.0.2 -
Initiate Timing Run
actionInitiate a timing run of the R1-Timing agent. See the documentationWritev0.0.2
EVENTS
Utopian Labs triggers
Event sources your backend can deploy for users and receive through a webhook.
No Utopian Labs triggers are available yet.
- App slug
- utopian_labs
- Authentication
- API key
- Categories
- Artificial Intelligence (AI)
- Actions
- 6
- Triggers
- 0
- API proxy
- Not available