import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
twin: {
type: "app",
app: "twin",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.twin.so/tasks`,
headers: {
"x-api-key": `${this.twin.$auth.api_key}`,
},
})
},
})
Browse the internet with an AI web navigation agent that can find information for you. See the documentation
Twin uses API keys for authentication. When you connect your Twin account, Pipedream securely stores the keys so you can easily authenticate to Twin APIs in both code and no-code steps.