add_a_security_signal_to_an_incident
Add a security signal to an incident. This makes it possible to search for signals by incident within the signal explorer and to view the signals on the incident timeline.
Run Datadog from the agent — monitors, dashboards, downtimes and users with full lifecycles, plus log search that returns a digest rather than a firehose.
LABSCO SUMMARY
Suppressing alerts before a deploy and cancelling the suppression afterwards is routine operational work, and it is usually done by clicking because integrations stop at reading monitors. Having schedule, list-active-only, update and cancel means the whole maintenance-window pattern can happen from where the deploy is being run. The log digest is the other decision that makes this practical: raw Datadog log output would consume a context window in one call, and returning a summary keeps the tool usable. Worth being deliberate about the write surface — delete_monitor and delete_dashboard are permanent, and create_user adds someone to your account.
A Datadog administration and query client covering the four objects you configure — monitors, dashboards, downtimes and users — each with create, read, update and delete, alongside logs, metrics, hosts and incidents.
DD_API_KEY and DD_APP_KEY. The surface includes permanently deleting monitors and dashboards and creating users, so the application key's scope is the boundary.
One command plus a key — npm install -g mcp-datadog-server, then supply credentials
USE CASES
Search logs and get a digest rather than raw lines, query the relevant metric timeseries, and check whether an incident is already open.
Schedule the downtime for the scope, check what is currently active, and cancel it when the window closes.
Create the monitor, read back its full configuration and state, and adjust it as the thresholds prove wrong.
Create it with its widgets and layout, then update it in place rather than rebuilding by hand.
Create a user with their role, read the details and update the profile.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
add_a_security_signal_to_an_incidentAdd a security signal to an incident. This makes it possible to search for signals by incident within the signal explorer and to view the signals on the incident timeline.
add_a_user_to_a_roleAdds a user to a role.
add_a_user_to_a_teamAdd a user to a team.
add_aws_log_lambda_arnAttach the Lambda ARN of the Lambda created for the Datadog-AWS log collection to your AWS account ID to enable log collection.
add_items_to_a_dashboard_listAdd dashboards to an existing dashboard list.
aggregate_eventsThe API endpoint to aggregate events into buckets and compute metrics and timeseries.
bulk_delete_slo_timeframesDelete (or partially delete) multiple service level objective objects.
This endpoint facilitates deletion of one or more thresholds for one or more service level objective objects. If all thresholds are deleted, the service level objective object is deleted as well.
cancel_a_downtimeCancel a downtime.
change_the_related_incidents_of_a_security_signalChange the related incidents for a security signal.
change_the_triage_state_of_a_security_signalChange the triage state of a security signal.
check_if_a_monitor_can_be_deletedCheck if the given monitors can be deleted.
check_if_slos_can_be_safely_deletedCheck if an SLO can be safely deleted. For example, assure an SLO can be deleted without disrupting a dashboard.
check_permissions_for_log_servicesTest if permissions are present to add log-forwarding triggers for the given services and AWS account. Input is the same as for EnableAWSLogServices. Done async, so can be repeatedly polled in a non-blocking fashion until the async request completes.
created when it's checking if the permissions exists in the AWS account.waiting while checking.checked and ok if the Lambda exists.error if the Lambda does not exist.check_that_an_aws_lambda_function_existsTest if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input is the same as for Enable an AWS service log collection. Subsequent requests will always repeat the above, so this endpoint can be polled intermittently instead of blocking.
configure_tags_for_multiple_metricsCreate and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations.
Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
If multiple calls include the same metric, the last configuration applied (not by submit order) is used, do not
expect deterministic ordering of concurrent calls. The exclude_tags_mode value will set all metrics that match the prefix to
the same exclusion state, metric tag configurations do not support mixed inclusion and exclusion for tags on the same metric.
Can only be used with application keys of users with the Manage Tags for Metrics permission.
convert_a_rule_from_json_to_terraformConvert a rule that doesn't (yet) exist from JSON to Terraform for datadog provider resource datadog_security_monitoring_rule.
convert_an_existing_rule_from_json_to_terraformConvert an existing rule from JSON to Terraform for datadog provider resource datadog_security_monitoring_rule.
create_a_browser_testCreate a Synthetic browser test.
create_a_custom_destinationCreate a custom destination in your organization.
create_a_custom_frameworkCreate a custom framework.
create_a_dashboard_listCreate an empty dashboard list.
create_a_detection_ruleCreate a detection rule.
create_a_global_variableCreate a Synthetic global variable.
create_a_log_based_metricCreate a metric based on your ingested logs in your organization. Returns the log-based metric object from the request body when the request is successful.
create_a_mobile_testCreate a Synthetic mobile test.
create_a_monitorCreate a monitor using the specified options.
Monitor Types
The type of monitor chosen from:
query alertquery alert or trace-analytics alertcompositeservice checkquery alertservice checkquery alert or service checkprocess alertlog alertquery alertservice checkquery alertservice checkrum alertslo alertevent-v2 alertevent-v2 alertaudit alerterror-tracking alertdatabase-monitoring alertnetwork-performance alertcost alertNotes:
Query Types
Metric Alert Query
Example: time_aggr(time_window):space_aggr:metric{tags} [by {key}] operator #
time_aggr: avg, sum, max, min, change, or pct_changetime_window: last_#m (with # between 1 and 10080 depending on the monitor type) or last_#h(with # between 1 and 168 depending on the monitor type) or last_1d, or last_1wspace_aggr: avg, sum, min, or maxtags: one or more tags (comma-separated), or *key: a 'key' in key:value tag syntax; defines a separate alert for each tag in the group (multi-alert)operator: <, <=, >, >=, ==, or !=#: an integer or decimal number used to set the thresholdIf you are using the _change_ or _pct_change_ time aggregator, instead use change_aggr(time_aggr(time_window), timeshift):space_aggr:metric{tags} [by {key}] operator # with:
change_aggr change, pct_changetime_aggr avg, sum, max, min Learn moretime_window last_#m (between 1 and 2880 depending on the monitor type), last_#h (between 1 and 48 depending on the monitor type), or last_#d (1 or 2)timeshift #m_ago (5, 10, 15, or 30), #h_ago (1, 2, or 4), or 1d_agoUse this to create an outlier monitor using the following query: avg(last_30m):outliers(avg:system.cpu.user{role:es-events-data} by {host}, 'dbscan', 7) > 0
Service Check Query
Example: "check".over(tags).last(count).by(group).count_by_status()
check name of the check, for example datadog.agent.uptags one or more quoted tags (comma-separated), or "*". for example: .over("env:prod", "role:db"); over cannot be blank.count must be at greater than or equal to your max threshold (defined in the options). It is limited to 100.For example, if you've specified to notify on 1 critical, 3 ok, and 2 warn statuses, count should be at least 3.
group must be specified for check monitors. Per-check grouping is already explicitly known for some service checks.For example, Postgres integration monitors are tagged by db, host, and port, and Network monitors by host, instance, and url. See Service Checks documentation for more information.
Event Alert Query
Note: The Event Alert Query has been replaced by the Event V2 Alert Query. For more information, see the Event Migration guide.
Event V2 Alert Query
Example: events(query).rollup(rollup_method[, measure]).last(time_window) operator #
query The search query - following the Log search syntax.rollup_method The stats roll-up method - supports count, avg and cardinality.measure For avg and cardinality rollup_method - specify the measure or the facet name you want to use.time_window #m (between 1 and 2880), #h (between 1 and 48).operator <, <=, >, >=, ==, or !=.# an integer or decimal number used to set the threshold.Process Alert Query
Example: processes(search).over(tags).rollup('count').last(timeframe) operator #
search free text search string for querying processes.Matching processes match results on the Live Processes page.
tags one or more tags (comma-separated)timeframe the timeframe to roll up the counts. Examples: 10m, 4h. Supported timeframes: s, m, h and doperator <, <=, >, >=, ==, or !=# an integer or decimal number used to set the thresholdLogs Alert Query
Example: logs(query).index(index_name).rollup(rollup_method[, measure]).last(time_window) operator #
query The search query - following the Log search syntax.index_name For multi-index organizations, the log index in which the request is performed.rollup_method The stats roll-up method - supports count, avg and cardinality.measure For avg and cardinality rollup_method - specify the measure or the facet name you want to use.time_window #m (between 1 and 2880), #h (between 1 and 48).operator <, <=, >, >=, ==, or !=.# an integer or decimal number used to set the threshold.Composite Query
Example: 12345 && 67890, where 12345 and 67890 are the IDs of non-composite monitors
name [*required*, *default* = dynamic, based on query]: The name of the alert.message [*required*, *default* = dynamic, based on query]: A message to include with notifications for this monitor.Email notifications can be sent to specific users by using the same '@username' notation as events.
tags [*optional*, *default* = empty list]: A list of tags to associate with your monitor.When getting all monitor details via the API, use the monitor_tags argument to filter results by these tags. It is only available via the API and isn't visible or editable in the Datadog UI.
SLO Alert Query
Example: error_budget("slo_id").over("time_window") operator #
slo_id: The alphanumeric SLO ID of the SLO you are configuring the alert for.time_window: The time window of the SLO target you wish to alert on. Valid options: 7d, 30d, 90d.operator: >= or >Audit Alert Query
Example: audits(query).rollup(rollup_method[, measure]).last(time_window) operator #
query The search query - following the Log search syntax.rollup_method The stats roll-up method - supports count, avg and cardinality.measure For avg and cardinality rollup_method - specify the measure or the facet name you want to use.time_window #m (between 1 and 2880), #h (between 1 and 48).operator <, <=, >, >=, ==, or !=.# an integer or decimal number used to set the threshold.CI Pipelines Alert Query
Example: ci-pipelines(query).rollup(rollup_method[, measure]).last(time_window) operator #
query The search query - following the Log search syntax.rollup_method The stats roll-up method - supports count, avg, and cardinality.measure For avg and cardinality rollup_method - specify the measure or the facet name you want to use.time_window #m (between 1 and 2880), #h (between 1 and 48).operator <, <=, >, >=, ==, or !=.# an integer or decimal number used to set the threshold.CI Tests Alert Query
Example: ci-tests(query).rollup(rollup_method[, measure]).last(time_window) operator #
query The search query - following the Log search syntax.rollup_method The stats roll-up method - supports count, avg, and cardinality.measure For avg and cardinality rollup_method - specify the measure or the facet name you want to use.time_window #m (between 1 and 2880), #h (between 1 and 48).operator <, <=, >, >=, ==, or !=.# an integer or decimal number used to set the threshold.Error Tracking Alert Query
"New issue" example: error-tracking(query).source(issue_source).new().rollup(rollup_method[, measure]).by(group_by).last(time_window) operator # "High impact issue" example: error-tracking(query).source(issue_source).impact().rollup(rollup_method[, measure]).by(group_by).last(time_window) operator #
query The search query - following the Log search syntax.issue_source The issue source - supports all, browser, mobile and backend and defaults to all if omitted.rollup_method The stats roll-up method - supports count, avg, and cardinality and defaults to count if omitted.measure For avg and cardinality rollup_method - specify the measure or the facet name you want to use.group by Comma-separated list of attributes to group by - should contain at least issue.id.time_window #m (between 1 and 2880), #h (between 1 and 48).operator <, <=, >, >=, ==, or !=.# an integer or decimal number used to set the threshold.Database Monitoring Alert Query
Example: database-monitoring(query).rollup(rollup_method[, measure]).last(time_window) operator #
query The search query - following the Log search syntax.rollup_method The stats roll-up method - supports count, avg, and cardinality.measure For avg and cardinality rollup_method - specify the measure or the facet name you want to use.time_window #m (between 1 and 2880), #h (between 1 and 48).operator <, <=, >, >=, ==, or !=.# an integer or decimal number used to set the threshold.Network Performance Alert Query
Example: network-performance(query).rollup(rollup_method[, measure]).last(time_window) operator #
query The search query - following the Log search syntax.rollup_method The stats roll-up method - supports count, avg, and cardinality.measure For avg and cardinality rollup_method - specify the measure or the facet name you want to use.time_window #m (between 1 and 2880), #h (between 1 and 48).operator <, <=, >, >=, ==, or !=.# an integer or decimal number used to set the threshold.Cost Alert Query
Example: formula(query).timeframe_type(time_window).function(parameter) operator #
query The search query - following the Log search syntax.timeframe_type The timeframe type to evaluate the costforecast supports currentchange, anomaly, threshold supports lasttime_window - supports daily roll-up e.g. 7dfunction - [optional, defaults to threshold monitor if omitted] supports change, anomaly, forecastparameter Specify the parameter of the typechange:relative, absolute#, where # is an integer or decimal number used to set the thresholdanomaly:direction=both, direction=above, direction=belowthreshold=#, where # is an integer or decimal number used to set the thresholdoperatorthreshold supports <, <=, >, >=, ==, or !=change supports >, <anomaly supports >=forecast supports ># an integer or decimal number used to set the threshold.create_a_monitor_configuration_policyCreate a monitor configuration policy.
create_a_monitor_notification_ruleCreates a monitor notification rule.
create_a_new_dashboardCreate a dashboard using the specified options. When defining queries in your widgets, take note of which queries should have the as_count() or as_rate() modifiers appended.
Refer to the following documentation for more information on these modifiers.
create_a_new_role_by_cloning_an_existing_roleClone an existing role
create_a_new_signal_based_notification_ruleCreate a new notification rule for security signals and return the created rule.
create_a_new_vulnerability_based_notification_ruleCreate a new notification rule for security vulnerabilities and return the created rule.
create_a_pipelineCreate a pipeline in your organization.
create_a_private_locationCreate a new Synthetic private location.
create_a_retention_filterCreate a retention filter to index spans in your organization. Returns the retention filter definition when the request is successful.
create_a_rum_based_metricCreate a metric based on your organization's RUM data. Returns the rum-based metric object from the request body when the request is successful.
create_a_security_filterCreate a security filter.
See the security filter guide for more examples.
create_a_service_accountCreate a service account for your organization.
create_a_shared_dashboardShare a specified private dashboard, generating a URL at which it can be publicly viewed.
create_a_span_based_metricCreate a metric based on your ingested spans in your organization. Returns the span-based metric object from the request body when the request is successful.
create_a_suppression_ruleCreate a new suppression rule.
create_a_tag_configurationCreate and define a list of queryable tag keys for an existing count/gauge/rate/distribution metric.
Optionally, include percentile aggregations on any distribution metric. By setting exclude_tags_mode
to true, the behavior is changed from an allow-list to a deny-list, and tags in the defined list are
not queryable. Can only be used with application keys of users with the Manage Tags for Metrics
permission.
create_a_teamCreate a new team.
User IDs passed through the users relationship field are added to the team.
create_a_team_linkAdd a new link to a team.
create_a_userCreate a user for your organization.
create_an_api_testCreate a Synthetic API test.
create_an_application_key_for_this_service_accountCreate an application key for this service account.
create_an_archiveCreate an archive in your organization.
create_an_indexCreates a new index. Returns the Index object passed in the request body when the request is successful.
create_an_slo_correctionCreate an SLO Correction.
create_an_slo_objectCreate a service level objective object.
create_dashboardCreate a new Datadog dashboard with widgets and layout configuration.
create_downtimeSchedule a Datadog downtime to suppress alerts for specific scopes.
create_monitorCreate a new Datadog monitor for alerting on metrics, services, events, or logs.
create_or_update_entitiesCreate or update entities in Software Catalog.
create_or_update_kindsCreate or update kinds in Software Catalog.
create_or_update_service_definitionCreate or update service definition in the Datadog Service Catalog.
create_roleCreate a new role for your organization.
create_teamCreate a new Datadog team.
create_tenant_based_handleCreate a tenant-based handle in the Datadog Microsoft Teams integration.
create_userCreate a new Datadog user with email and role.
create_workflows_webhook_handleCreate a Workflows webhook handle in the Datadog Microsoft Teams integration.
delete_a_custom_destinationDelete a specific custom destination in your organization.
delete_a_custom_frameworkDelete a custom framework.
delete_a_dashboardDelete a dashboard using the specified ID.
delete_a_dashboard_listDelete a dashboard list.
delete_a_global_variableDelete a Synthetic global variable.
delete_a_log_based_metricDelete a specific log-based metric from your organization.
delete_a_monitorDelete the specified monitor
delete_a_monitor_configuration_policyDelete a monitor configuration policy.
delete_a_monitor_notification_ruleDeletes a monitor notification rule by rule_id.
delete_a_pipelineDelete a given pipeline from your organization. This endpoint takes no JSON arguments.
delete_a_private_locationDelete a Synthetic private location.
delete_a_retention_filterDelete a specific retention filter from your organization.
delete_a_rum_based_metricDelete a specific rum-based metric from your organization.
delete_a_security_filterDelete a specific security filter.
delete_a_signal_based_notification_ruleDelete a notification rule for security signals.
delete_a_single_entityDelete a single entity in Software Catalog.
delete_a_single_kindDelete a single kind in Software Catalog.
delete_a_single_service_definitionDelete a single service definition in the Datadog Service Catalog.
delete_a_span_based_metricDelete a specific span-based metric from your organization.
delete_a_suppression_ruleDelete a specific suppression rule.
delete_a_tag_configurationDeletes a metric's tag configuration. Can only be used with application
keys from users with the Manage Tags for Metrics permission.
delete_a_vulnerability_based_notification_ruleDelete a notification rule for security vulnerabilities.
delete_an_application_key_for_this_service_accountDelete an application key owned by this service account.
delete_an_archiveDelete a given archive from your organization.
delete_an_aws_logs_integrationDelete a Datadog-AWS logs configuration by removing the specific Lambda ARN associated with a given AWS account.
delete_an_existing_ruleDelete an existing rule. Default rules cannot be deleted.
delete_an_indexDelete an existing index from your organization. Index deletions are permanent and cannot be reverted. You cannot recreate an index with the same name as deleted ones.
delete_an_sloPermanently delete the specified service level objective object.
If an SLO is used in a dashboard, the DELETE /v1/slo/ endpoint returns a 409 conflict error because the SLO is referenced in a dashboard.
delete_an_slo_correctionPermanently delete the specified SLO correction object.
delete_dashboardDelete a Datadog dashboard permanently.
delete_dashboardsDelete dashboards using the specified IDs. If there are any failures, no dashboards will be deleted (partial success is not allowed).
delete_downtimeCancel a Datadog downtime.
delete_items_from_a_dashboard_listDelete dashboards from an existing dashboard list.
delete_monitorDelete a Datadog monitor permanently.
delete_roleDisables a role.
delete_tags_for_multiple_metricsDelete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
Metrics are selected by passing a metric name prefix.
Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
Can only be used with application keys of users with the Manage Tags for Metrics permission.
delete_teamDelete a Datadog team.
delete_tenant_based_handleDelete a tenant-based handle from the Datadog Microsoft Teams integration.
delete_testsDelete multiple Synthetic tests by ID.
delete_userDelete a Datadog user.
delete_workflows_webhook_handleDelete a Workflows webhook handle from the Datadog Microsoft Teams integration.
disable_a_userDisable a user. Can only be used with an application key belonging to an administrator user.
edit_a_browser_testEdit the configuration of a Synthetic browser test.
edit_a_global_variableEdit a Synthetic global variable.
edit_a_mobile_testEdit the configuration of a Synthetic Mobile test.
edit_a_monitorEdit the specified monitor.
edit_a_monitor_configuration_policyEdit a monitor configuration policy.
edit_a_private_locationEdit a Synthetic private location.
edit_an_api_testEdit the configuration of a Synthetic API test.
edit_an_application_key_for_this_service_accountEdit an application key owned by this service account.
edit_metric_metadataEdit metadata of a specific metric. Find out more about supported types.
enable_an_aws_logs_integrationEnable automatic log collection for a list of services. This should be run after running CreateAWSLambdaARN to save the configuration.
fetch_uptime_for_multiple_testsFetch uptime for multiple Synthetic tests by ID.
get_a_browser_testGet the detailed configuration (including steps) associated with a Synthetic browser test.
get_a_browser_test_resultGet a specific full result from a given Synthetic browser test.
get_a_browser_test_s_latest_results_summariesGet the last 150 test results summaries for a given Synthetic browser test.
get_a_custom_destinationGet a specific custom destination in your organization.
get_a_custom_frameworkGet a custom framework.
get_a_dashboardGet a dashboard using the specified ID.
get_a_dashboard_listFetch an existing dashboard list's definition.
get_a_deployment_eventUse this API endpoint to get a deployment event.
get_a_downtimeGet downtime detail by downtime_id.
get_a_failure_eventUse this API endpoint to get a failure event.
get_a_given_apm_retention_filterGet an APM retention filter.
get_a_global_variableGet the detailed configuration of a global variable.
get_a_list_of_deployment_eventsUse this API endpoint to get a list of deployment events.
get_a_list_of_entitiesGet a list of entities from Software Catalog.
get_a_list_of_entity_kindsGet a list of entity kinds from Software Catalog.
get_a_list_of_entity_relationsGet a list of entity relations from Software Catalog.
get_a_list_of_eventsList endpoint returns events that match an events search query. Results are paginated similarly to logs.
Use this endpoint to see your latest events.
get_a_list_of_failure_eventsUse this API endpoint to get a list of failure events.
get_a_list_of_logsList endpoint returns logs that match a log search query. [Results are paginated][1].
Use this endpoint to see your latest logs.
If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].
[1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives
get_a_list_of_metricsReturns all metrics that can be configured in the Metrics Summary page or with Metrics without Limits™ (matching additional filters if specified).
Optionally, paginate by using the page[cursor] and/or page[size] query parameters.
To fetch the first page, pass in a query parameter with either a valid page[size] or an empty cursor like page[cursor]=. To fetch the next page, pass in the next_cursor value from the response as the new page[cursor] value.
Once the meta.pagination.next_cursor value is null, all pages have been retrieved.
get_a_list_of_security_signalsReturns security signals that match a search query. Both this endpoint and the GET endpoint can be used interchangeably for listing security signals.
get_a_log_based_metricGet a specific log-based metric from your organization.
get_a_mobile_testGet the detailed configuration associated with a Synthetic Mobile test.
get_a_monitor_configuration_policyGet a monitor configuration policy by policy_id.
get_a_monitor_notification_ruleReturns a monitor notification rule by rule_id.
get_a_monitor_s_detailsGet details about the specified monitor from your organization.
get_a_pipelineGet a specific pipeline from your organization. This endpoint takes no JSON arguments.
get_a_private_locationGet a Synthetic private location.
get_a_quick_list_of_security_signalsThe list endpoint returns security signals that match a search query. Both this endpoint and the POST endpoint can be used interchangeably when listing security signals.
get_a_roleGet a role in the organization specified by the role’s role_id.
get_a_rule_s_detailsGet a rule's details.
get_a_rum_based_metricGet a specific rum-based metric from your organization.
get_a_security_filterGet the details of a specific security filter.
See the security filter guide for more examples.
get_a_shared_dashboardFetch an existing shared dashboard's sharing metadata associated with the specified token.
get_a_signal_s_detailsGet a signal's details.
get_a_single_service_definitionGet a single service definition from the Datadog Service Catalog.
get_a_span_based_metricGet a specific span-based metric from your organization.
get_a_suppression_ruleGet the details of a specific suppression rule.
get_a_teamGet a single team using the team's id.
get_a_team_linkGet a single link for a team.
get_a_test_configurationGet the detailed configuration associated with a Synthetic test.
get_a_user_invitationReturns a single user invitation by its UUID.
get_a_user_organizationGet a user organization. Returns the user information and all organizations joined by this user.
get_a_user_permissionsGet a user permission set. Returns a list of the user’s permissions granted by the associated user's roles.
get_active_downtimes_for_a_monitorGet all active downtimes for the specified monitor.
get_active_metrics_listGet the list of actively reporting metrics from a given time until now.
get_all_aggregated_connectionsGet all aggregated connections.
get_all_aggregated_dns_trafficGet all aggregated DNS traffic.
get_all_archivesGet the list of configured logs archives with their definitions.
get_all_custom_destinationsGet the list of configured custom destinations in your organization with their definitions.
get_all_dashboard_listsFetch all of your existing dashboard list definitions.
get_all_dashboardsGet all dashboards.
Note: This query will only return custom created or cloned dashboards. This query will not return preset dashboards.
get_all_downtimesGet all scheduled downtimes.
get_all_global_variablesGet the list of all Synthetic global variables.
get_all_hosts_for_your_organizationThis endpoint allows searching for hosts by name, alias, or tag. Hosts live within the past 3 hours are included by default. Retention is 7 days. Results are paginated with a max of 1000 results at a time.
get_all_indexesThe Index object describes the configuration of a log index.
This endpoint returns an array of the LogIndex objects of your organization.
get_all_invitations_for_a_shared_dashboardDescribe the invitations that exist for the given shared dashboard (paginated).
get_all_locations_public_and_privateGet the list of public and private locations available for Synthetic tests. No arguments required.
get_all_log_based_metricsGet the list of configured log-based metrics with their definitions.
get_all_monitor_configuration_policiesGet all monitor configuration policies.
get_all_monitor_notification_rulesReturns a list of all monitor notification rules.
get_all_monitorsGet all monitors from your organization.
get_all_pipelinesGet all pipelines from your organization. This endpoint takes no JSON arguments.
get_all_rum_based_metricsGet the list of configured rum-based metrics with their definitions.
get_all_security_filtersGet the list of configured security filters with their definitions.
get_all_service_definitionsGet a list of all service definitions from the Datadog Service Catalog.
get_all_slo_correctionsGet all Service Level Objective corrections.
get_all_slosGet a list of service level objective objects for your organization.
get_all_span_based_metricsGet the list of configured span-based metrics with their definitions.
get_all_suppression_rulesGet the list of all suppression rules.
get_all_teamsGet all teams.
Can be used to search for teams using the filter[keyword] and filter[me] query parameters.
get_all_tenant_based_handlesGet a list of all tenant-based handles from the Datadog Microsoft Teams integration.
get_all_users_of_a_roleGets all users of a role.
get_all_workflows_webhook_handlesGet a list of all Workflows webhook handles from the Datadog Microsoft Teams integration.
get_an_api_testGet the detailed configuration associated with a Synthetic API test.
get_an_api_test_resultGet a specific full result from a given Synthetic API test.
get_an_api_test_s_latest_results_summariesGet the last 150 test results summaries for a given Synthetic API test.
get_an_archiveGet a specific archive from your organization.
get_an_eventGet the details of an event by event_id.
get_an_indexGet one log index from your organization. This endpoint takes no JSON arguments.
get_an_slo_correction_for_an_sloGet an SLO correction.
get_an_slo_s_detailsGet a service level objective object.
get_an_slo_s_historyGet a specific SLO’s history, regardless of its SLO type.
The detailed history data is structured according to the source data type. For example, metric data is included for event SLOs that use the metric source, and monitor SLO types include the monitor transition history.
Note: There are different response formats for event based and time based SLOs. Examples of both are shown.
get_archive_orderGet the current order of your archives. This endpoint takes no JSON arguments.
get_channel_information_by_nameGet the tenant, team, and channel ID of a channel in the Datadog Microsoft Teams integration.
get_corrections_for_an_sloGet corrections applied to an SLO
get_dashboardGet a specific Datadog dashboard by ID, including all widgets and configuration.
get_details_of_a_signal_based_notification_ruleGet the details of a notification rule for security signals.
get_details_of_a_vulnerability_notification_ruleGet the details of a notification rule for security vulnerabilities.
get_details_of_batchGet a batch's updated details.
get_downtimeGet a specific Datadog downtime by ID.
get_indexes_orderGet the current order of your log indexes. This endpoint takes no JSON arguments.
get_items_of_a_dashboard_listFetch the dashboard list’s dashboard definitions.
get_links_for_a_teamGet all links for a given team.
get_list_of_aws_log_ready_servicesGet the list of current AWS services that Datadog offers automatic log collection. Use returned service IDs with the services parameter for the Enable an AWS service log collection API endpoint.
get_metric_metadataGet metadata about a specific metric.
get_monitorGet a specific Datadog monitor by ID, including full configuration and state.
get_one_application_key_for_this_service_accountGet an application key owned by this service account.
get_permission_settings_for_a_teamGet all permission settings for a given team.
get_pipeline_orderGet the current order of your pipelines. This endpoint takes no JSON arguments.
get_suppressions_affecting_a_specific_ruleGet the list of suppressions that affect a specific existing rule by its ID.
get_suppressions_affecting_future_ruleGet the list of suppressions that would affect a rule.
get_tag_key_cardinality_detailsReturns the cardinality details of tags for a specific metric.
get_teamGet Datadog team details by ID.
get_team_membershipsGet a paginated list of members for a team
get_tenant_based_handle_informationGet the tenant, team, and channel information of a tenant-based handle from the Datadog Microsoft Teams integration.
get_the_default_locationsGet the default locations settings.
get_the_device_detailsGet the device details.
get_the_list_of_all_synthetic_testsGet the list of all Synthetic tests.
get_the_list_of_devicesGet the list of devices.
get_the_list_of_interfaces_of_the_deviceGet the list of interfaces of the device.
get_the_list_of_signal_based_notification_rulesReturns the list of notification rules for security signals.
get_the_list_of_tags_for_a_deviceGet the list of tags for a device.
get_the_list_of_vulnerability_notification_rulesReturns the list of notification rules for security vulnerabilities.
get_the_on_demand_concurrency_capGet the on-demand concurrency cap.
get_the_total_number_of_active_hostsThis endpoint returns the total number of active and up hosts in your Datadog account. Active means the host has reported in the past hour, and up means it has reported in the past two hours.
get_userGet Datadog user details by ID.
get_user_detailsGet a user in the organization specified by the user’s user_id.
get_user_membershipsGet a list of memberships for a user
get_workflows_webhook_handle_informationGet the name of a Workflows webhook handle from the Datadog Microsoft Teams integration.
grant_permission_to_a_roleAdds a permission to a role.
grant_role_to_an_archiveAdds a read role to an archive. (Roles API)
list_active_tags_and_aggregationsList tags and aggregations that are actively queried on dashboards, notebooks, monitors, the Metrics Explorer, and using the API for a given metric name.
list_all_apm_retention_filtersGet the list of APM retention filters.
list_all_aws_logs_integrationsList all Datadog-AWS Logs integrations configured in your Datadog account.
list_all_usersGet the list of all users in the organization. This list includes all users even if they are deactivated or unverified.
list_application_keys_for_this_service_accountList all application keys available for this service account.
list_dashboardList all Datadog dashboards with optional filtering.
list_dashboardsList Datadog dashboards with optional filtering by name and tags. Returns dashboard IDs, titles, and direct URLs.
list_distinct_metric_volumes_by_metric_nameView distinct metrics volumes for the given metric name.
Custom metrics generated in-app from other products will return null for ingested volumes.
list_downtimeList all Datadog downtimes, optionally filtering to active-only.
list_downtimesList Datadog scheduled downtimes, optionally showing only currently active ones.
list_hostsList Datadog infrastructure hosts with optional filtering.
list_incidentsList Datadog incidents with optional search filtering and pagination.
list_monitorList all Datadog monitors with optional filtering by name, tags, and state.
list_monitorsList Datadog monitors with filtering by name, tags, and state. Returns simplified monitor info.
list_permissionsReturns a list of all permissions, including name, description, and ID.
list_permissions_for_a_roleReturns a list of all permissions for a single role.
list_read_roles_for_an_archiveReturns all read roles a given archive is restricted to.
list_resource_filtersList resource filters.
list_rolesReturns all roles, including their names and their unique identifiers.
list_rulesList rules.
list_tag_configuration_by_nameReturns the tag configuration for the given metric name.
list_tags_by_metric_nameView indexed tag key-value pairs for a given metric name over the previous hour.
list_teamList all Datadog teams with pagination and filtering.
list_userList all Datadog users with pagination and filtering.
modify_the_triage_assignee_of_a_security_signalModify the triage assignee of a security signal.
monitors_group_searchSearch and filter your monitor groups details.
monitors_searchSearch and filter your monitors details.
mute_a_hostMute a host. Note: This creates a Downtime V2 for the host.
mute_a_monitorMute the specified monitor.
patch_a_signal_based_notification_rulePartially update the notification rule. All fields are optional; if a field is not provided, it is not updated.
patch_a_synthetic_testPatch the configuration of a Synthetic test with partial data.
patch_a_vulnerability_based_notification_rulePartially update the notification rule. All fields are optional; if a field is not provided, it is not updated.
pause_or_start_a_testPause or start a Synthetic test by changing the status.
post_an_eventThis endpoint allows you to post events to the stream. Tag them, set priority and event aggregate them with other events.
query_metricsQuery Datadog metrics timeseries data. Supports multiple queries with custom time ranges.
query_scalar_data_across_multiple_productsQuery scalar values (as seen on Query Value, Table, and Toplist widgets). Multiple data sources are supported with the ability to process the data using formulas and functions.
query_timeseries_data_across_multiple_productsQuery timeseries data across various data sources and process the data by applying formulas and functions.
query_timeseries_pointsQuery timeseries points.
re_order_retention_filtersRe-order the execution order of retention filters.
related_assets_to_a_metricReturns dashboards, monitors, notebooks, and SLOs that a metric is stored in, if any. Updated every 24 hours.
remove_a_teamRemove a team using the team's id.
remove_a_team_linkRemove a link from a team.
remove_a_user_from_a_roleRemoves a user from a role.
remove_a_user_from_a_teamRemove a user from a team.
restore_deleted_dashboardsRestore dashboards using the specified IDs. If there are any failures, no dashboards will be restored (partial success is not allowed).
revoke_a_shared_dashboard_urlRevoke the public URL for a dashboard (rendering it private) associated with the specified token.
revoke_permissionRemoves a permission from a role.
revoke_role_from_an_archiveRemoves a role from an archive. (Roles API)
revoke_shared_dashboard_invitationsRevoke previously sent invitation emails and active sessions used to access a given shared dashboard for specific email addresses.
save_new_value_for_on_demand_concurrency_capSave new value for on-demand concurrency cap.
schedule_a_downtimeSchedule a downtime.
search_eventsList endpoint returns events that match an events search query. Results are paginated similarly to logs.
Use this endpoint to build complex events filtering and search.
search_for_slosGet a list of service level objective objects for your organization.
search_logsSearch Datadog logs with a query and time range. Returns a compact digest: counts by status, service and message, plus one flat line per log. Set include_attributes for the full raw payload (much larger).
search_metricsSearch for metrics from the last 24 hours in Datadog.
search_synthetic_testsSearch for Synthetic tests and Test Suites.
send_a_deployment_event_for_dora_metricsUse this API endpoint to provide data about deployments for DORA metrics.
This is necessary for:
send_a_failure_event_for_dora_metricsUse this API endpoint to provide failure data for DORA metrics.
This is necessary for:
send_invitation_emailsSends emails to one or more users inviting them to join the organization.
send_logsSend your logs to your Datadog platform over HTTP. Limits per HTTP request are:
Any log exceeding 1MB is accepted and truncated by Datadog:
Datadog recommends sending your logs compressed. Add the Content-Encoding: gzip header to the request when sending compressed logs. Log events can be submitted with a timestamp that is up to 18 hours in the past.
The status codes answered by the HTTP API are:
send_shared_dashboard_invitation_emailSend emails to specified email addresses containing links to access a given authenticated shared dashboard. Email addresses must already belong to the authenticated shared dashboard's share_list.
submit_a_service_checkSubmit a list of Service Checks.
Notes:
submit_distribution_pointsThe distribution points end-point allows you to post distribution data that can be graphed on Datadog’s dashboards.
submit_metricsThe metrics end-point allows you to post time-series data that can be graphed on Datadog’s dashboards. The maximum payload size is 500 kilobytes (512000 bytes). Compressed payloads must have a decompressed size of less than 5 megabytes (5242880 bytes).
If you’re submitting metrics directly to the Datadog API without using DogStatsD, expect:
Host name is one of the resources in the Resources field.
tag_configuration_cardinality_estimatorReturns the estimated cardinality for a metric with a given tag, percentile and number of aggregations configuration using Metrics without Limits™.
test_a_ruleTest a rule.
test_an_existing_ruleTest an existing rule.
trigger_synthetic_testsTrigger a set of Synthetic tests.
trigger_tests_from_ci_cd_pipelinesTrigger a set of Synthetic tests for continuous integration.
unmute_a_hostUnmutes a host. This endpoint takes no JSON arguments.
unmute_a_monitorUnmute the specified monitor.
update_a_custom_destinationUpdate the given fields of a specific custom destination in your organization.
update_a_custom_frameworkUpdate a custom framework.
update_a_dashboardUpdate a dashboard using the specified ID.
update_a_dashboard_listUpdate the name of a dashboard list.
update_a_downtimeUpdate a downtime by downtime_id.
update_a_log_based_metricUpdate a specific log-based metric from your organization. Returns the log-based metric object from the request body when the request is successful.
update_a_monitor_notification_ruleUpdates a monitor notification rule by rule_id.
update_a_pipelineUpdate a given pipeline configuration to change it’s processors or their order.
Note: Using this method updates your pipeline configuration by replacing your current configuration with the new one sent to your Datadog organization.
update_a_retention_filterUpdate a retention filter from your organization.
update_a_roleEdit a role. Can only be used with application keys belonging to administrators.
update_a_rum_based_metricUpdate a specific rum-based metric from your organization. Returns the rum-based metric object from the request body when the request is successful.
update_a_security_filterUpdate a specific security filter. Returns the security filter object when the request is successful.
update_a_shared_dashboardUpdate a shared dashboard associated with the specified token.
update_a_span_based_metricUpdate a specific span-based metric from your organization. Returns the span-based metric object from the request body when the request is successful.
update_a_suppression_ruleUpdate a specific suppression rule.
update_a_tag_configurationUpdate the tag configuration of a metric or percentile aggregations of a distribution metric or custom aggregations
of a count, rate, or gauge metric. By setting exclude_tags_mode to true the behavior is changed
from an allow-list to a deny-list, and tags in the defined list will not be queryable.
Can only be used with application keys from users with the Manage Tags for Metrics permission. This endpoint requires
a tag configuration to be created first.
update_a_teamUpdate a team using the team's id.
If the team_links relationship is present, the associated links are updated to be in the order they appear in the array, and any existing team links not present are removed.
update_a_team_linkUpdate a team link.
update_a_userEdit a user. Can only be used with an application key belonging to an administrator user.
update_a_user_s_membership_attributes_on_a_teamUpdate a user's membership attributes on a team.
update_an_archiveUpdate a given archive configuration.
Note: Using this method updates your archive configuration by replacing your current configuration with the new one sent to your Datadog organization.
update_an_existing_ruleUpdate an existing rule. When updating cases, queries or options, the whole field
must be included. For example, when modifying a query all queries must be included.
Default rules can only be updated to be enabled, to change notifications, or to update
the tags (default tags cannot be removed).
update_an_indexUpdate an index as identified by its name. Returns the Index object passed in the request body when the request is successful.
Using the PUT method updates your index’s configuration by replacing your current configuration with the new one sent to your Datadog organization.
update_an_sloUpdate the specified service level objective object.
update_an_slo_correctionUpdate the specified SLO correction object.
update_archive_orderUpdate the order of your archives. Since logs are processed sequentially, reordering an archive may change the structure and content of the data processed by other archives.
Note: Using the PUT method updates your archive's order by replacing the current order with the new one.
update_dashboardUpdate an existing Datadog dashboard.
update_downtimeUpdate an existing Datadog downtime.
update_indexes_orderThis endpoint updates the index order of your organization. It returns the index order object passed in the request body when the request is successful.
update_items_of_a_dashboard_listUpdate dashboards of an existing dashboard list.
update_monitorUpdate an existing Datadog monitor configuration.
update_permission_setting_for_teamUpdate a team permission setting for a given team.
update_pipeline_orderUpdate the order of your pipelines. Since logs are processed sequentially, reordering a pipeline may change the structure and content of the data processed by other pipelines and their processors.
Note: Using the PUT method updates your pipeline order by replacing your current order with the new one sent to your Datadog organization.
update_resource_filtersUpdate resource filters.
update_teamUpdate a Datadog team.
update_tenant_based_handleUpdate a tenant-based handle from the Datadog Microsoft Teams integration.
update_the_tags_for_a_deviceUpdate the tags for a device.
update_userUpdate a Datadog user profile.
update_workflows_webhook_handleUpdate a Workflows webhook handle from the Datadog Microsoft Teams integration.
validate_a_detection_ruleValidate a detection rule.
validate_a_monitorValidate the monitor provided in the request.
Note: Log monitors require an unscoped App Key.
validate_a_suppression_ruleValidate a suppression rule.
validate_an_existing_monitorValidate the monitor provided in the request.
BEFORE YOU INSTALL
351 tools when we connected. MCP_DD_FOLDERS limits the set to chosen categories, such as Dashboards or Monitors. Many operations appear twice under two names, like create_monitor and create_a_monitor, and the documented manage_incidents and manage_synthetics do not exist.
Both documented setups run the server on your machine.
CONTEXT COST
Rated by the size of the 351 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npm install -g mcp-datadog-server{
"mcpServers": {
"datadog": {
"command": "mcp-datadog-server",
"args": [
"serve"
],
"env": {
"DD_API_KEY": "<YOUR_DD_API_KEY>",
"DD_APP_KEY": "<YOUR_DD_APP_KEY>",
"DD_SITE": "datadoghq.com"
}
}
}
}{
"mcpServers": {
"datadog": {
"command": "npx",
"args": [
"-y",
"mcp-datadog-server",
"serve"
],
"env": {
"DD_API_KEY": "<YOUR_DD_API_KEY>",
"DD_APP_KEY": "<YOUR_DD_APP_KEY>"
}
}
}
}