import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
aitable_ai: {
type: "app",
app: "aitable_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://aitable.ai/fusion/v1/datasheets/${this.aitable_ai.$auth.datasheet_id}/records`,
headers: {
Authorization: `Bearer ${this.aitable_ai.$auth.api_token}`,
},
})
},
})
Create a datasheet in the specified space. See the documentation
Create a new field in the specified datasheet. See the documentation
Delete a field in the specified datasheet. See the documentation
AITable.ai uses API keys for authentication. When you connect your AITable.ai account, Pipedream securely stores the keys so you can easily authenticate to AITable.ai APIs in both code and no-code steps.