import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
deutschlandgpt: {
type: "app",
app: "deutschlandgpt",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.deutschlandgpt.de/v1/models`,
headers: {
Authorization: `Bearer ${this.deutschlandgpt.$auth.api_key}`,
},
})
},
})
DeutschlandGPT uses API keys for authentication. When you connect your DeutschlandGPT account, Pipedream securely stores the keys so you can easily authenticate to DeutschlandGPT APIs in both code and no-code steps.