import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
browserbase: {
type: "app",
app: "browserbase",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.browserbase.com/v1/projects`,
headers: {
"x-bb-api-key": `${this.browserbase.$auth.api_key}`,
},
})
},
})
Emit new event when a new session is created. See the documentation
Creates a new browser session with specified settings. See the documentation
Browserbase uses API keys for authentication. When you connect your Browserbase account, Pipedream securely stores the keys so you can easily authenticate to Browserbase APIs in both code and no-code steps.