import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
greptile: {
type: "app",
app: "greptile",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.greptile.com/v2/chats/${this.greptile.$auth.chat_session_id}`,
headers: {
Authorization: `Bearer ${this.greptile.$auth.api_key}`,
},
})
},
})
Search the user's codebase using a natural language query. See the documentation
Greptile uses API keys for authentication. When you connect your Greptile account, Pipedream securely stores the keys so you can easily authenticate to Greptile APIs in both code and no-code steps.