import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
akkio: {
type: "app",
app: "akkio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.akkio.com/v1/datasets`,
params: {
api_key: `${this.akkio.$auth.api_key}`,
},
})
},
})
Makes a prediction based on the input props. See the documentation
Akkio uses API keys for authentication. When you connect your Akkio account, Pipedream securely stores the keys so you can easily authenticate to Akkio APIs in both code and no-code steps.