Overview
Add Datadog to any ModuleX agent or workflow. Infrastructure monitoring, log management, and application performance platform via the Datadog REST API (api.{region}/api).
Categories : Monitoring & Observability · Developer Tools & Infrastructure · Auth : Datadog API Keys · Actions : 11
Authentication
Datadog API Keys
Authenticate using your Datadog API key and Application key
Step 2
Copy or create a new API key
Step 4
Copy or create a new Application key
Step 5
Paste both keys below
Required Credentials
Field Description Required Format API Key Your Datadog API key from Organization Settings > API Keys Yes xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxApplication Key Your Datadog Application key from Organization Settings > Application Keys Yes xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Available Actions
get_account_info — Detect the Datadog region for the connected account by validating the API key across all regions
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"region" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Region"
},
"label" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Label"
},
"api_url" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Api Url"
}
},
"required" : [
"success"
],
"title" : "GetAccountInfoOutput" ,
"type" : "object"
}
get_metric_data — Query time-series metric data for analyzing trends and system performance
post_metric_data — Post custom time-series metric data points to Datadog
Parameters The regional site for the Datadog account (e.g. datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, datadoghq.eu, ddog-gov.com)
The name of the timeseries metric
Points as a JSON object where keys are Unix timestamps (seconds) and values are numeric (e.g. {“1640995200”: 1.0})
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"errors" : {
"items" : {
"type" : "string"
},
"title" : "Errors" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "PostMetricDataOutput" ,
"type" : "object"
}
search_dashboards — List and search Datadog dashboards with their IDs, titles, and URLs
Parameters The regional site for the Datadog account (e.g. datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, datadoghq.eu, ddog-gov.com)
If true, only return dashboards that are shared
Maximum number of dashboards to return
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"dashboards" : {
"items" : {
"additionalProperties" : true ,
"type" : "object"
},
"title" : "Dashboards" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "SearchDashboardsOutput" ,
"type" : "object"
}
search_events — Search Datadog events including monitor state changes, deployment markers, and error spikes
Parameters The regional site for the Datadog account (e.g. datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, datadoghq.eu, ddog-gov.com)
POSIX timestamp (seconds) for the start of the query window; defaults to 24 hours ago
POSIX timestamp (seconds) for the end of the query window; defaults to now
Filter by event priority: normal or low
Comma-separated list of sources to filter events (e.g. nagios,hudson)
Comma-separated list of tags to filter events (e.g. env:prod,role:db)
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"events" : {
"items" : {
"additionalProperties" : true ,
"type" : "object"
},
"title" : "Events" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "SearchEventsOutput" ,
"type" : "object"
}
search_hosts — Search monitored infrastructure hosts with filtering by tag, name, or partial match
Parameters The regional site for the Datadog account (e.g. datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, datadoghq.eu, ddog-gov.com)
Filter hosts by name, alias, or tag (e.g. env:production or host:web-01)
Field to sort hosts by: status, apps, cpu, iowait, or load
Direction of sort: asc or desc
Number of hosts to return (max 1000)
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"host_list" : {
"items" : {
"additionalProperties" : true ,
"type" : "object"
},
"title" : "Host List" ,
"type" : "array"
},
"total_matching" : {
"anyOf" : [
{
"type" : "integer"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Total Matching"
}
},
"required" : [
"success"
],
"title" : "SearchHostsOutput" ,
"type" : "object"
}
search_incidents — Search Datadog incidents by state, severity, and metadata
search_logs — Search Datadog logs matching a query with support for facets and time ranges
Parameters The regional site for the Datadog account (e.g. datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, datadoghq.eu, ddog-gov.com)
Search query following log search syntax (e.g. service:web-app status:error) (Default: *)
Minimum timestamp for logs; supports date math (now-15m), ISO-8601, or epoch ms; defaults to 15 minutes ago
Maximum timestamp for logs; supports date math (now), ISO-8601, or epoch ms; defaults to now
List of log index names to search (defaults to all indexes); element type: string
Maximum number of logs to return per page (default 10, max 1000)
Sort order for results: -timestamp (newest first) or timestamp (oldest first)
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"logs" : {
"items" : {
"additionalProperties" : true ,
"type" : "object"
},
"title" : "Logs" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "SearchLogsOutput" ,
"type" : "object"
}
search_metrics — List available Datadog metric names, optionally filtered by host
Parameters The regional site for the Datadog account (e.g. datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, datadoghq.eu, ddog-gov.com)
Filter metrics by host name
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"metrics" : {
"items" : {
"type" : "string"
},
"title" : "Metrics" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "SearchMetricsOutput" ,
"type" : "object"
}
search_monitors — Search Datadog monitors (alerting rules) including status, thresholds, and conditions
Parameters The regional site for the Datadog account (e.g. datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, datadoghq.eu, ddog-gov.com)
Filter monitors by name, tag, or other attributes (e.g. tag:env:production or type:metric)
Comma-separated list of tags to filter monitors (e.g. env:prod,team:backend)
Page number to return (0-indexed)
Number of monitors per page (default 100)
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"monitors" : {
"items" : {
"additionalProperties" : true ,
"type" : "object"
},
"title" : "Monitors" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "SearchMonitorsOutput" ,
"type" : "object"
}
search_services — List services from Datadog Service Catalog with ownership, metadata, and team info
Limits & Quotas
Rate limits : Datadog enforces per-endpoint rate limits; default is 300 requests/minute for most endpoints, 60/min for logs search, and 120/hour for metric submission.
Pagination : Most list endpoints support pagination via count/start or page/page_size parameters.
Regions : The API base URL varies by account region. Use get_account_info to auto-detect the correct region before calling other tools.
Error model : Non-2xx responses and timeouts are caught and returned as success=False + error rather than raising.
Links