import { UtopianLabs } from "utopianlabs";
export default defineComponent({
props: {
utopian_labs: {
type: "app",
app: "utopian_labs",
}
},
async run({ steps, $ }) {
const utopianLabs = new UtopianLabs({ apiKey: this.utopian_labs.$auth.api_key });
return await utopianLabs.agents.runs.create({
agent: "r1",
lead: {
company: {
website: "https://pipedream.com",
},
},
});
},
})
Retrieve the status of an initiated run. See the documentation
Initiate a classification run of the R1-Classification agent. See the documentation
Initiate a copywriting run of the R1-Copywriting agent. See the documentation
Initiate a qualification run of the R1-Qualification agent. See the documentation
Initiate a research run of the R1 agent. See the documentation
Utopian Labs uses API keys for authentication. When you connect your Utopian Labs account, Pipedream securely stores the keys so you can easily authenticate to Utopian Labs APIs in both code and no-code steps.