import { AirweaveSDKClient } from "@airweave/sdk";
export default defineComponent({
props: {
airweave: {
type: "app",
app: "airweave",
}
},
async run({steps, $}) {
const client = new AirweaveSDKClient({
apiKey: this.airweave.$auth.api_key,
base_url: this.airweave.$auth.base_url
});
return await client.collections.list({
skip: 1,
limit: 1
});
},
})
Create a new Airweave collection. Collections are logical groups of data sources that provide unified search capabilities. The newly created collection is initially empty until you add source connections to it. See the documentation
Delete a collection and all associated data. This permanently removes the collection including all synced data and source connections. This action cannot be undone. See the documentation
Retrieve details of a specific collection by its readable ID. See the documentation
List all available data source connectors. These are the types of integrations Airweave can connect to (e.g., GitHub, Slack, Google Drive, PostgreSQL, etc.). See the documentation
List all collections in your organization. Collections are logical groups of data sources that provide unified search capabilities. See the documentation
Airweave uses API keys for authentication. When you connect your Airweave account, Pipedream securely stores the keys so you can easily authenticate to Airweave APIs in both code and no-code steps.