With the Datadog API, you can build a variety of applications and tools to help you monitor and optimize your Datadog account. Here are a few examples:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
datadog: {
type: "app",
app: "datadog",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.datadoghq.com/api/v1/user`,
headers: {
"DD-API-KEY": `${this.datadog.$auth.api_key}`,
"DD-APPLICATION-KEY": `${this.datadog.$auth.application_key}`,
},
})
},
})
Datadog uses API keys for authentication. When you connect your Datadog account, Pipedream securely stores the keys so you can easily authenticate to Datadog APIs in both code and no-code steps.
Manage your account’s API and applications keys in Datadog