import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
griptape: {
type: "app",
app: "griptape",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://cloud.griptape.ai/api/users`,
headers: {
Authorization: `Bearer ${this.griptape.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
Creates a new assistant in Griptape. See the documentation
Deletes an existing assistant. See the documentation
Updates an existing assistant. See the documentation
Griptape uses API keys for authentication. When you connect your Griptape account, Pipedream securely stores the keys so you can easily authenticate to Griptape APIs in both code and no-code steps.