Think data, not databases. The serverless, branchable, scalable, consistent, highly available, and searchable database service focused on the developer experience.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
xata: {
type: "app",
app: "xata",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.xata.io/user`,
headers: {
Authorization: `Bearer ${this.xata.$auth.api_key}`,
},
})
},
})
Xata uses API keys for authentication. When you connect your Xata account, Pipedream securely stores the keys so you can easily authenticate to Xata APIs in both code and no-code steps.
Create a new API key or retrieve existing keys from your Xata account settings and paste it below.