import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
universal_summarizer_by_kagi: {
type: "app",
app: "universal_summarizer_by_kagi",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://kagi.com/api/v0/summarize`,
headers: {
"Authorization": `Bot ${this.universal_summarizer_by_kagi.$auth.api_key}`,
},
params: {
url: `https://www.youtube.com/watch?v=Y-4byg2pXL0`,
summary_type: `summary`,
engine: `muriel`,
},
})
},
})
Summarizes the content of a URL. See the documentation
Universal Summarizer by Kagi uses API keys for authentication. When you connect your Universal Summarizer by Kagi account, Pipedream securely stores the keys so you can easily authenticate to Universal Summarizer by Kagi APIs in both code and no-code steps.