with AirOps and Airweave?
Run a workflow of an app. See the sync documentation or async documentation
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
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airops: {
type: "app",
app: "airops",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.airops.com/public_api/airops_apps/executions`,
headers: {
Authorization: `Bearer ${this.airops.$auth.workspace_api_key}`,
"accept": `application/json`,
},
})
},
})
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
});
},
})