> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/analytics-monitoring/datadog.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Datadog

Datadog is a monitoring and observability platform. Manage dashboards, monitors, downtimes, incidents, SLOs, notebooks, synthetic tests and host tags.

![Datadog logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-5f8119475ebf846663ef0bee656ea17cc74431e4%2Fdatadog.png?alt=media)

|                    |                                                                                              |
| ------------------ | -------------------------------------------------------------------------------------------- |
| **Category**       | [Analytics and monitoring](https://docs.fastn.ai/connectors/catalog/analytics-monitoring.md) |
| **Website**        | [datadoghq.com](https://datadoghq.com)                                                       |
| **Authentication** | API key and application key                                                                  |
| **Slug**           | `datadog`                                                                                    |
| **On fastn.ai**    | [Embed Datadog in your product](https://fastn.ai/integrations/datadog)                       |

## Setup

Your customers enter their API key and application key for Datadog when they connect. Nothing else needs setting up.

## Connect in Fastn

Your customers connect Datadog from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Datadog**.
2. Select **Connect** on the Datadog card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Datadog's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Add Host Tags</td><td><code>addHostTags</code></td><td>Adds tags to a host by name (v1). The host must be known to Datadog.</td></tr><tr><td>Cancel Downtime</td><td><code>cancelDowntime</code></td><td>Cancels a scheduled downtime by its ID (v2). Returns an empty body on success.</td></tr><tr><td>Create Dashboard</td><td><code>createDashboard</code></td><td>Creates a new dashboard in Datadog with the given title, layout type, and widgets.</td></tr><tr><td>Create Downtime</td><td><code>createDowntime</code></td><td>Schedules a new downtime (v2) that mutes monitor notifications for the given scope.</td></tr><tr><td>Create Incident</td><td><code>createIncident</code></td><td>Creates a new incident with a title and customer-impact flag (v2). Requires Incident Management.</td></tr><tr><td>Create Metric Tag Configuration</td><td><code>createMetricTagConfiguration</code></td><td>Creates a tag configuration for a custom metric, defining which tag keys are queryable and the metric type (v2).</td></tr><tr><td>Create Monitor</td><td><code>createMonitor</code></td><td>Creates a new monitor of the given type with a query, name, and notification message.</td></tr><tr><td>Create Notebook</td><td><code>createNotebook</code></td><td>Creates a new notebook with the given name, cells, and global time settings (v1).</td></tr><tr><td>Create SLO</td><td><code>createSLO</code></td><td>Creates a Service Level Objective (SLO). For monitor SLOs provide monitor_ids; for metric SLOs provide query with numerator and denominator (v1).</td></tr><tr><td>Create Synthetic API Test</td><td><code>createSyntheticApiTest</code></td><td>Creates a new Synthetic API test with a request config, assertions, locations, and options (v1).</td></tr></tbody></table>

<details>

<summary>View 56 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Create User</td><td><code>createUser</code></td><td>Creates (invites) a new user in the organization by email (v2).</td></tr><tr><td>Delete Dashboard</td><td><code>deleteDashboard</code></td><td>Deletes a dashboard by its ID.</td></tr><tr><td>Delete Incident</td><td><code>deleteIncident</code></td><td>Deletes an incident by its ID (v2). Requires Incident Management.</td></tr><tr><td>Delete Metric Tag Configuration</td><td><code>deleteMetricTagConfiguration</code></td><td>Deletes the tag configuration for a custom metric (v2). Returns an empty body on success.</td></tr><tr><td>Delete Monitor</td><td><code>deleteMonitor</code></td><td>Deletes a monitor by its numeric ID.</td></tr><tr><td>Delete Notebook</td><td><code>deleteNotebook</code></td><td>Deletes a notebook by its numeric ID (v1). Returns an empty body on success.</td></tr><tr><td>Delete SLO</td><td><code>deleteSLO</code></td><td>Deletes a Service Level Objective by its ID (v1).</td></tr><tr><td>Delete Synthetic Tests</td><td><code>deleteSyntheticTests</code></td><td>Deletes one or more Synthetic tests by their public IDs (v1).</td></tr><tr><td>Disable User</td><td><code>disableUser</code></td><td>Disables a user by their ID (v2). Returns an empty body on success.</td></tr><tr><td>Get Dashboard</td><td><code>getDashboard</code></td><td>Retrieves a single dashboard by its ID, including all widgets and configuration.</td></tr><tr><td>Get Downtime</td><td><code>getDowntime</code></td><td>Retrieves a single scheduled downtime by its ID (v2).</td></tr><tr><td>Get Event</td><td><code>getEvent</code></td><td>Retrieves a single event from the event stream by its numeric ID (v1).</td></tr><tr><td>Get Host Tags</td><td><code>getHostTags</code></td><td>Returns the tags applied to a single host by name (v1).</td></tr><tr><td>Get Host Totals</td><td><code>getHostTotals</code></td><td>Returns the total number of active and up hosts reporting to Datadog (v1).</td></tr><tr><td>Get Incident</td><td><code>getIncident</code></td><td>Retrieves a single incident by its ID (v2). Requires Incident Management.</td></tr><tr><td>Get Metric Metadata</td><td><code>getMetricMetadata</code></td><td>Retrieves the metadata (type, description, unit) for a metric by name (v1).</td></tr><tr><td>Get Metric Tag Configuration</td><td><code>getMetricTagConfiguration</code></td><td>Retrieves the tag configuration for a metric name (v2).</td></tr><tr><td>Get Monitor</td><td><code>getMonitor</code></td><td>Retrieves the details of a single monitor by its numeric ID.</td></tr><tr><td>Get Notebook</td><td><code>getNotebook</code></td><td>Retrieves a single notebook by its numeric ID (v1).</td></tr><tr><td>Get Role</td><td><code>getRole</code></td><td>Retrieves a single role by its ID, including its permissions (v2).</td></tr><tr><td>Get SLO</td><td><code>getSLO</code></td><td>Retrieves a single Service Level Objective by its ID (v1).</td></tr><tr><td>Get Synthetic Test</td><td><code>getSyntheticTest</code></td><td>Retrieves the details of a single Synthetic test by its public ID (v1).</td></tr><tr><td>Get User</td><td><code>getUser</code></td><td>Retrieves a single user by their ID (v2).</td></tr><tr><td>List Active Metrics</td><td><code>listActiveMetrics</code></td><td>Lists metrics that have been actively reporting since a given time (v1).</td></tr><tr><td>List Dashboards</td><td><code>listDashboards</code></td><td>Retrieves a list of all dashboards in the Datadog organization.</td></tr><tr><td>List Downtimes</td><td><code>listDowntimes</code></td><td>Retrieves all scheduled downtimes (v2). Optionally include current-only downtimes.</td></tr><tr><td>List Events</td><td><code>listEvents</code></td><td>Retrieves events from the event stream within a time window (v1).</td></tr><tr><td>List Host Tags</td><td><code>listHostTags</code></td><td>Returns a mapping of tags to the hosts that carry them (v1).</td></tr><tr><td>List Hosts</td><td><code>listHosts</code></td><td>Retrieves all hosts reporting to Datadog, with optional filtering and pagination (v1).</td></tr><tr><td>List Incidents</td><td><code>listIncidents</code></td><td>Retrieves a list of incidents (v2). Requires the Incident Management feature to be enabled on the account.</td></tr><tr><td>List Metric Tags</td><td><code>listMetricTags</code></td><td>Lists all indexed tag key-values for a metric name (v2 all-tags).</td></tr><tr><td>List Monitors</td><td><code>listMonitors</code></td><td>Retrieves all monitors, optionally filtered by name, tags, or monitor tags.</td></tr><tr><td>List Notebooks</td><td><code>listNotebooks</code></td><td>Retrieves a list of notebooks, with optional filtering and pagination (v1).</td></tr><tr><td>List Roles</td><td><code>listRoles</code></td><td>Retrieves all roles in the organization, with optional filtering and pagination (v2).</td></tr><tr><td>List SLOs</td><td><code>listSLOs</code></td><td>Retrieves a list of Service Level Objectives (SLOs), with optional query and pagination (v1).</td></tr><tr><td>List Synthetic Tests</td><td><code>listSyntheticTests</code></td><td>Retrieves the list of all Synthetic tests (API and browser) in the organization (v1).</td></tr><tr><td>List Users</td><td><code>listUsers</code></td><td>Retrieves all users in the organization, with optional filtering, sorting, and pagination (v2).</td></tr><tr><td>Mute Host</td><td><code>muteHost</code></td><td>Mutes all monitors for a host by name (v1), optionally with an end time and message.</td></tr><tr><td>Mute Monitor</td><td><code>muteMonitor</code></td><td>Mutes a monitor by its ID, optionally scoped and with an end time.</td></tr><tr><td>Post Event</td><td><code>postEvent</code></td><td>Posts an event to the Datadog event stream (v1) with a title and text body.</td></tr><tr><td>Query Timeseries Points</td><td><code>queryMetrics</code></td><td>Queries timeseries points for a metric over a time window (v1 metrics query).</td></tr><tr><td>Remove Host Tags</td><td><code>removeHostTags</code></td><td>Removes all user-source tags from a host by name (v1).</td></tr><tr><td>Search Events</td><td><code>searchEventsV2</code></td><td>Searches the event stream using the v2 Events API with an optional query filter and time window.</td></tr><tr><td>Search Monitors</td><td><code>searchMonitors</code></td><td>Searches monitors using a monitor search query, with pagination and sorting.</td></tr><tr><td>Submit Metrics</td><td><code>submitMetrics</code></td><td>Submits one or more metric timeseries points to Datadog (v1 series intake). Each series item has a metric name, points, type, and optional host and tags.</td></tr><tr><td>Unmute Host</td><td><code>unmuteHost</code></td><td>Unmutes all monitors for a host by name (v1).</td></tr><tr><td>Unmute Monitor</td><td><code>unmuteMonitor</code></td><td>Unmutes a monitor by its ID, optionally for a specific scope or all scopes.</td></tr><tr><td>Update Dashboard</td><td><code>updateDashboard</code></td><td>Updates an existing dashboard by its ID. The full dashboard definition (title, layout type, widgets) must be supplied.</td></tr><tr><td>Update Downtime</td><td><code>updateDowntime</code></td><td>Updates a scheduled downtime by its ID (v2), such as changing its message or scope.</td></tr><tr><td>Update Host Tags</td><td><code>updateHostTags</code></td><td>Replaces all user-source tags on a host by name (v1).</td></tr><tr><td>Update Monitor</td><td><code>updateMonitor</code></td><td>Updates an existing monitor by its ID. Only the fields provided are changed.</td></tr><tr><td>Update Notebook</td><td><code>updateNotebook</code></td><td>Updates a notebook by its ID (v1). The full notebook definition (name, cells, time) must be provided.</td></tr><tr><td>Update SLO</td><td><code>updateSLO</code></td><td>Updates a Service Level Objective by its ID (v1). The full SLO definition must be provided as this is a replacing update.</td></tr><tr><td>Update User</td><td><code>updateUser</code></td><td>Updates a user's name by their ID (v2).</td></tr><tr><td>Validate API Key</td><td><code>validateApiKey</code></td><td>Validates that the configured Datadog API key is valid. Returns {valid:true} on success.</td></tr><tr><td>Validate Monitor</td><td><code>validateMonitor</code></td><td>Validates a monitor definition without creating it.</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/analytics-monitoring/datadog.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
