Attach the Lambda ARN of the Lambda created for the Datadog-AWS log collection to your AWS account ID to enable log collection.
Type: object
{
"lambda_arn" : "ARN of the Datadog Lambda created during the Datadog-Amazon Web services Log collection setup (https://docs.datadoghq.com/integrations/amazon_web_services/?tab=allpermissions#set-up-the-datadog-lambda-function).",
"account_id" : "Your AWS Account ID without dashes"
}
Add items to dashboard list
Type: number
Type: object
{
"dashboards" : [ {
"id" : "the Dashboard ID",
"type" : "the type of dashboard"
} ]
}
Add new services and schedules to your Datadog-PagerDuty integration.
Type: object
{
"schedules" : [ "string" ],
"services" : [ {
"service_key" : "Your service name's associated service key in PagerDuty.",
"service_name" : "Your service name in PagerDuty."
} ]
}
This endpoint allows you to add new tags to a host, optionally specifying where these tags come from.
Type: string
Type: object
{
"source" : "The source of the tags (e.g. chef, puppet). Complete list of source attribute values at https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value",
"tags" : [ "string" ]
}
Bulk delete service level objective timeframes
An non-empty object is expected with the key as the SLO ID and the value as a non-empty list of timeframe(s) to remove.
Type: object
{ }
Cancel monitor downtimes by scope
Type: object
{
"scope" : "Cancel all downtimes with the given scope(s), e.g.: env:prod, role:db, role:db-slave"
}
Check if a SLO can be safely deleted.
Create an API key with a given name.
Create an application key with a given name.
Create a Datadog-Amazon Web Services integration.
Type: object
{
"access_key_id" : "If your AWS account is a GovCloud or China account, enter the corresponding Access Key ID.",
"role_name" : "Your Datadog role delegation name. For more information about you AWS account Role name, see https://docs.datadoghq.com/integrations/amazon_web_services/#installation",
"account_id" : "Your AWS Account ID without dashes",
"filter_tags" : [ "string" ],
"host_tags" : [ "string" ],
"account_specific_namespace_rules" : { }
}
Create a Datadog-Azure integration.
Type: object
{
"host_filters" : "Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. E.g. ':,:'",
"tenant_name" : "Your Azure Active Directory ID.",
"client_secret" : "Your Azure web application secret key.",
"client_id" : "Your Azure web application ID."
}
This endpoint requires the multi-org account feature and must be enabled by contacting support. Once a new child-organization is created, you can interact with it by using the org.public_id, api_key.key, and application_key.hash provided in the response.
Type: object
{
"name" : "The name of the new child-organization, limited to 32 characters.",
"subscription" : {
"type" : "Required string. Possible values: trial | free | pro"
},
"billing" : {
"type" : "Required string"
}
}
Create a comment
Type: object
{
"handle" : "The handle of the user making the comment. Default value is the application key owner.",
"related_event_id" : "The id of another comment or event to reply to.",
"message" : "The comment text"
}
Create a dashboard
Type: object
{
"layout_type" : "Layout type of the dashboard.",
"description" : "Description of the dashboard.",
"notify_list" : [ "string" ],
"is_read_only" : "Whether this dashboard is read-only. If True, only the author and admins can make changes to it.",
"title" : "Title of the dashboard.",
"widgets" : [ {
"layout" : {
"x" : "The position of the widget on the x (horizontal) axis.",
"width" : "The width of the widget.",
"y" : "The position of the widget on the y (vertical) axis.",
"height" : "The height of the widget."
},
"definition" : {
"alert_id" : "ID of the alert to use in the widget",
"viz_type" : "Whether to display the Alert Graph as a timeseries or a top list.",
"type" : "Type of the widget",
"title" : "Title of the widget"
},
"id" : "ID of the widget."
} ],
"template_variables" : {
"default" : "The default value for the template variable on dashboard load.",
"prefix" : "The tag prefix associated with the variable. Only tags with this prefix appear in the variable dropdown.",
"name" : "The name of the variable."
}
}
Create a dashboard list
Creates a new embeddable graph.
Type: object
{
"timeframe" : "The timeframe for the graph.",
"size" : "The size of the graph.",
"legend" : "The flag determining if the graph includes a legend.",
"title" : "Title of the graph",
"graph_json" : { }
}
Create a Datadog-GCP integration.
All of the following fields’ values are provided by the JSON service account key file created in the GCP Console for service accounts; Refer to the Datadog-Google Cloud Platform integration installation instructions (https://docs.datadoghq.com/integrations/google_cloud_platform/#installation) to see how to generate one for your organization. For further references, consult the Google Cloud service account documentation.
Type: object
{
"host_filters" : "Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. E.g. ':,:'",
"token_uri" : "Required string",
"private_key_id" : "Your private key ID found in your JSON service account key.",
"client_x509_cert_url" : "Should be https://www.googleapis.com/robot/v1/metadata/x509/ where is the email found in your JSON service account key.",
"automute" : "Silence monitors for expected GCE instance shutdowns.",
"project_id" : "Your Google Cloud project ID found in your JSON service account key.",
"auth_uri" : "Required string",
"auth_provider_x509_cert_url" : "Required string",
"client_email" : "Your email found in your JSON service account key.",
"private_key" : "Your private key name found in your JSON service account key.",
"type" : "The value for service_account found in your JSON service account key.",
"client_id" : "Your ID found in your JSON service account key."
}
Create a monitor programatically. If you manage and deploy monitors programmatically, it’s easier to define the monitor in the Datadog UI and export its valid JSON.
Type: object
{
"query" : "The query defines when the monitor triggers. Query syntax depends on what type of monitor you are creating.",
"name" : "The name of the alert.",
"options" : { },
"type" : "The type of the monitor.",
"message" : "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" : [ "string" ]
}
Create a Datadog-PagerDuty integration.
Type: object
{
"schedules" : [ "string" ],
"api_token" : "Your PagerDuty API token.",
"subdomain" : "Your PagerDuty account’s personalized subdomain name.",
"services" : [ {
"service_key" : "Your service name's associated service key in PagerDuty.",
"service_name" : "Your service name in PagerDuty."
} ]
}
Create a Pipeline in your organization.
Type: object
{
"is_enabled" : "Boolean value to enable your pipeline.",
"name" : "Your pipeline name",
"processors" : [ {
"is_enabled" : "If the processor is enabled or not",
"grok" : {
"match_rules" : "List of Match rules for your grok parser.",
"support_rules" : "List of Support rules for your grok parser."
},
"name" : "string",
"source" : "Name of the log attribute to parse",
"type" : "Required string",
"samples" : [ "string" ]
} ],
"filter.query" : "Only logs matching the filter criteria are processed by this pipeline. Use the Log search syntax at https://docs.datadoghq.com/logs/explorer/search/#search-syntax"
}
Create a JSON to define your SLO.
Type: object
{
"thresholds" : [ {
"warning_display" : "A warning target display value that includes the requires level of precision.",
"timeframe" : "The timeframe to apply tho the target value.",
"target_display" : "The target display value that includes the requires level of precision.",
"warning" : "A warning target value to indicate when the SLI is close to breaching the target.",
"target" : "The target value to associate with the SLI that defines the SLO."
} ],
"name" : "Required string",
"description" : "string",
"type" : "Required string. Possible values: metric | monitor",
"tags" : [ "string" ]
}
Either create_slack_integration or add_channel_to_slack_integration
Type: object
{
"channels" : {
"channel_name" : "Your channel name",
"transfer_all_user_comments" : "To be notified for every comment on a graph, set it to true. If set to False use the @slack-channel_name syntax for comments to be posted to slack.",
"account" : "Account to which the channel belongs to."
},
"service_hooks" : [ {
"service_hooks" : {
"account" : "Your Slack account name",
"url" : "Your Slack Service Hook URL."
}
} ]
}
Create a Synthetics test to initiate and configure the tests you want Datadog to send to your API endpoints or to your browser app. You can configure the endpoints being tested, the number of tests, and where they are coming from. The parameters required are different for API and browser tests and they are marked accordingly—if a parameter is marked as required, it is required for both types of tests.
Type: object
{
"subtype" : "For a SSL API test, specify ssl as the value. Otherwise, you should omit this argument.",
"name" : "A unique name for the test.",
"options" : [ {
"min_location_failed" : "The minimum number of locations in failure at the same time during at least one moment in the min_failure_duration period (min_location_failed and min_failure_duration are part of the advanced alerting rules integer, >= 1).",
"tick_every" : "How often the test should run, in seconds.",
"min_failure_duration" : "How long the test should be in failure before alerting, in seconds.",
"follow_redirects" : "whether to follow redirects (a max of ten redirects can be followed before triggering a “Too many redirects” error).",
"device_ids" : "The type of device used to test. To get a list of available devices, use the id from the response of the GET devices for browser checks method. At least one device is required."
} ],
"locations" : [ "string" ],
"type" : "The type of test.",
"message" : "A description of the test.",
"config" : {
"request" : {
"headers" : { },
"method" : "The method of the API to test. Use GET for a browser test.",
"port" : "If creating a SSL test, specify the port to connect to.",
"basicAuth" : "If your endpoint is behind basic Auth, use this parameter to define your username and password with the following value: {\"username\": \"\", \"password\": \"\"}.",
"host" : "If creating a SSL test, specify the host to connect to.",
"body" : "The body for the API request. Accepts text strings (including JSON as a text string). Specify the type using the Content-Type property parameter and type, for example application/json or text/plain in the headers parameter.",
"url" : "The endpoint for the API Datadog is testing. For a browser test, the URL for the website Datadog is testing.",
"timeout" : "When the request should timeout.",
"cookies" : "Cookies to send along with your API test request."
},
"assertions" : [ {
"property" : "When you are setting up a header for the type parameter, this is required to define the headers parameter key. Valid values are any header keys, like Content-Type or Authorization.",
"type" : "The part of the response that you want to assess.",
"operator" : "Defines how to compare the target and the actual value from the response. Valid operators depend on the type of assertions. See https://docs.datadoghq.com/api/?lang=bash#create-a-test for details.",
"target" : "The expected value for the assertion."
} ]
},
"tags" : [ "string" ]
}
Create a user.
Type: object
{
"access_role" : "The access role of the user. Choose from st (standard user), adm (admin user), or ro (read-only user).",
"name" : "The name of the user.",
"handle" : "The user handle, must be a valid email."
}
Create a Datadog-Webhooks integration.
The array of Webhooks objects.
Type: array
[ {
"hooks" : {
"headers" : "Headers attached to your Webhook.",
"encode_as_form" : "If use_custom_payload is true, set this to true to have your payload to be URL-encoded.",
"name" : "Your Webhook name. https://docs.datadoghq.com/monitors/notifications",
"use_custom_payload" : "If true, allow you to specify a custom payload for your Webhook.",
"custom_payload" : "If use_custom_payload is true, specify your own payload to add your own custom fields to the request. Use these variables: https://docs.datadoghq.com/integrations/webhooks/#usage",
"url" : "Your Webhook URL."
}
} ]
Delete an API key.
Delete an application key.
Delete a Datadog-Amazon Web Services integration.
Type: object
{
"role_name" : "Your Datadog role delegation name. For more information about your AWS account Role name, see https://docs.datadoghq.com/integrations/amazon_web_services/#installation",
"account_id" : "Your AWS Account ID without dashes"
}
Delete a Datadog-AWS log collection configuration by removing the specific Lambda ARN associated with a given AWS account.
Type: object
{
"lambda_arn" : "ARN of the Datadog Lambda created during the Datadog-Amazon Web services Log collection setup (https://docs.datadoghq.com/integrations/amazon_web_services/?tab=allpermissions#set-up-the-datadog-lambda-function).",
"account_id" : "Your AWS Account ID without dashes"
}
Delete a Datadog-Azure integration.
Type: object
{
"host_filters" : "Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. E.g. ':,:'",
"tenant_name" : "Your Azure Active Directory ID.",
"client_id" : "Your Azure web application ID."
}
Delete a dashboard
Delete a dashboard list
Delete a Datadog-GCP integration.
Type: object
{
"project_id" : "Your Google Cloud project ID found in your JSON service account key.",
"client_email" : "Your email found in your JSON service account key."
}
Delete items from a dashboard list
Type: number
Type: object
{
"dashboards" : [ {
"id" : "the Dashboard ID",
"type" : "the type of dashboard"
} ]
}
Delete many Service Level Objectives.
This operation has no parameters
This operation has no parameters
Delete a specific pipeline from your organization.
Permanently delete a SLO. If an SLO is used in a dashboard, the DELETE endpoint returns a 409 conflict error because the SLO is referenced in a dashboard.
Type: string
Force delete the SLO. The SLO is deleted even if it’s referenced in a dashboard.
Type: boolean
This operation has no parameters
Use this method to delete one or many tests.
This operation has no parameters
Disable a user in the organization. Can only be used with application keys belonging to administrators.
Edit an API key name.
Edit an application key name.
Edit a comment
Type: number
Type: object
{
"handle" : "The handle of the user making the comment. Default value is the application key owner.",
"message" : "The comment text"
}
Edit fields of a metric’s metadata.
Type: string
Type: object
{
"unit" : "Primary unit of the metric such as byte or operation.",
"per_unit" : "Per unit of the metric such as second in bytes per second",
"stated_interval" : "If applicable, statds flush interval in seconds for the metric.",
"description" : "string",
"short_name" : "Required string",
"type" : "Required string. Possible values: count | gauge | rate"
}
Edit a monitor.
Type: string
Type: object
{
"query" : "The query defines when the monitor triggers. Query syntax depends on what type of monitor you are creating.",
"name" : "The name of the alert.",
"options" : { },
"message" : "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" : [ "string" ]
}
Edit a specific SLO’s details.
Type: string
Type: object
{
"thresholds" : [ {
"warning_display" : "A warning target display value that includes the requires level of precision.",
"timeframe" : "The timeframe to apply tho the target value.",
"target_display" : "The target display value that includes the requires level of precision.",
"warning" : "A warning target value to indicate when the SLI is close to breaching the target.",
"target" : "The target value to associate with the SLI that defines the SLO."
} ],
"name" : "string",
"description" : "string",
"tags" : [ "string" ]
}
Use this method to update an existing Synthetics test.
Type: string
Type: object
{
"subtype" : "For a SSL API test, specify ssl as the value. Otherwise, you should omit this argument.",
"name" : "A unique name for the test.",
"options" : [ {
"min_location_failed" : "The minimum number of locations in failure at the same time during at least one moment in the min_failure_duration period (min_location_failed and min_failure_duration are part of the advanced alerting rules integer, >= 1).",
"tick_every" : "How often the test should run, in seconds.",
"min_failure_duration" : "How long the test should be in failure before alerting, in seconds.",
"follow_redirects" : "whether to follow redirects (a max of ten redirects can be followed before triggering a “Too many redirects” error).",
"device_ids" : "The type of device used to test. To get a list of available devices, use the id from the response of the GET devices for browser checks method. At least one device is required."
} ],
"locations" : [ "string" ],
"type" : "The type of test.",
"message" : "A description of the test.",
"config" : {
"request" : {
"headers" : { },
"method" : "The method of the API to test. Use GET for a browser test.",
"port" : "If creating a SSL test, specify the port to connect to.",
"basicAuth" : "If your endpoint is behind basic Auth, use this parameter to define your username and password with the following value: {\"username\": \"\", \"password\": \"\"}.",
"host" : "If creating a SSL test, specify the host to connect to.",
"body" : "The body for the API request. Accepts text strings (including JSON as a text string). Specify the type using the Content-Type property parameter and type, for example application/json or text/plain in the headers parameter.",
"url" : "The endpoint for the API Datadog is testing. For a browser test, the URL for the website Datadog is testing.",
"timeout" : "When the request should timeout.",
"cookies" : "Cookies to send along with your API test request."
},
"assertions" : [ {
"property" : "When you are setting up a header for the type parameter, this is required to define the headers parameter key. Valid values are any header keys, like Content-Type or Authorization.",
"type" : "The part of the response that you want to assess.",
"operator" : "Defines how to compare the target and the actual value from the response. Valid operators depend on the type of assertions. See https://docs.datadoghq.com/api/?lang=bash#create-a-test for details.",
"target" : "The expected value for the assertion."
} ]
},
"tags" : [ "string" ]
}
Enable Automatic Log collection for your AWS services.
Type: object
{
"account_id" : "Your AWS Account ID without dashes",
"services" : [ "string" ]
}
Enable a specified embed.
Generate a new AWS external id for a given AWS account id and role name pair.
Type: object
{
"role_name" : "Your Datadog role delegation name. For more information about your AWS account Role name, see https://docs.datadoghq.com/integrations/amazon_web_services/#installation",
"account_id" : "Your AWS Account ID without dashes"
}
Get an API key.
Get an application key.
This operation has no parameters
Get a dashboard
Get a dashboard list
This operation has no parameters
This endpoint allows you to query for event details.
POSIX timestamp for end
Type: number
Type: number
POSIX timestamp for start
Type: number
priority of your events
Type: string
Potential values: low, normal
A comma-separated string of sources
Type: array
[ "string" ]
A comma-separated string of tags. To use a negative tag filter, prefix your tag with '-'.
Type: array
[ "string" ]
Set unaggregated to true to return all events within the specified [start,end] timeframe. Otherwise if an event is aggregated to a parent event with a timestamp outside of the timeframe, it won’t be available in the output.
Type: boolean
Get a specific SLO’s history.
Return the list of tags that apply to a given host.
This 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.
Number of seconds since UNIX epoch from which you want to get the total number of active and up hosts.
Type: number
Get hourly usage across your multi-org account
Datetime in ISO-8601 format, UTC, precise to month [YYYY-MM] for usage beginning in this month. Maximum of 15 months ago.
Type: string
Datetime in ISO-8601 format, UTC, precise to month [YYYY-MM] for usage ending this month.
Type: string
Include usage summaries for each sub-org.
Type: boolean
Get hourly usage for custom metrics
Datetime in ISO-8601 format, UTC, precise to hour. [YYYY-MM-DDThh] for usage beginning at this hour.
Type: string
Datetime in ISO-8601 format, UTC, precise to hour. [YYYY-MM-DDThh] for usage ending before this hour.
Type: string
Get hourly usage for Fargate (https://docs.datadoghq.com/integrations/ecs_fargate)
Datetime in ISO-8601 format, UTC, precise to hour. [YYYY-MM-DDThh] for usage beginning at this hour.
Type: string
Datetime in ISO-8601 format, UTC, precise to hour. [YYYY-MM-DDThh] for usage ending before this hour.
Type: string
Get hourly usage for hosts and containers
Datetime in ISO-8601 format, UTC, precise to hour. [YYYY-MM-DDThh] for usage beginning at this hour.
Type: string
Datetime in ISO-8601 format, UTC, precise to hour. [YYYY-MM-DDThh] for usage ending before this hour.
Type: string
Get hourly usage for logs
Datetime in ISO-8601 format, UTC, precise to hour. [YYYY-MM-DDThh] for usage beginning at this hour.
Type: string
Datetime in ISO-8601 format, UTC, precise to hour. [YYYY-MM-DDThh] for usage ending before this hour.
Type: string
Get hourly usage for synthetics
Datetime in ISO-8601 format, UTC, precise to hour. [YYYY-MM-DDThh] for usage beginning at this hour.
Type: string
Datetime in ISO-8601 format, UTC, precise to hour. [YYYY-MM-DDThh] for usage ending before this hour.
Type: string
Get hourly usage for trace search
Datetime in ISO-8601 format, UTC, precise to hour. [YYYY-MM-DDThh] for usage beginning at this hour.
Type: string
Datetime in ISO-8601 format, UTC, precise to hour. [YYYY-MM-DDThh] for usage ending before this hour.
Type: string
This endpoint returns an Index identified by its name.
Get items from a dashboard list
Get metadata about a specific metric.
Get a monitor downtime
Get a monitor’s details.
Type: string
If this argument is set, the returned data includes additional information (if available) regarding the specified group states, including the last notification timestamp, last resolution timestamp and details about the last time the monitor was triggered.
Type: array
[ "string. Possible values: all | alert | warn | no data" ]
This operation has no parameters
This operation has no parameters
This operation has no parameters
This operation has no parameters
Get a specific pipeline from your organization.
Use this method to get a specific result for a specific test.
Get a specific SLO’s details.
This operation has no parameters
Take a snapshot of the graph.
POSIX timestamp for end
Type: number
POSIX timestamp for start
Type: number
A query that adds event bands to the graph
Type: string
A JSON document defining the graph. graph_def can be used instead of metric_query. The JSON document uses the grammar defined at https://docs.datadoghq.com/graphing/graphing_json/#grammar and should be formatted to a single line then URLEncoded.
Type: string
The metric query
Type: string
A title for the graph. If no title is specified, the graph doesn’t have a title.
Type: string
Get the HTML fragment for a previously generated embed with embed_id.
Use this method to get a specific test.
Get top 500 custom metrics by hourly average.
Datetime in ISO-8601 format, UTC, precise to month [YYYY-MM] for usage beginning in this month.
Type: string
List of metric names.
Type: array
[ "string" ]
Get a user in the organization, specified by the user’s handle.
This operation has no parameters
Get the list of actively reporting metrics from a given time until now.
Seconds since the UNIX epoch
Type: integer
Hostname for filtering the list of metrics returned. If set, metrics retrieved are those with the corresponding hostname tag.
Type: string
This operation has no parameters
This operation has no parameters
This operation has no parameters
This operation has no parameters
This operation has no parameters
This operation has no parameters
This operation has no parameters
Get all monitors' details.
If this argument is set, the returned data includes additional information (if available) regarding the specified group states, including the last notification timestamp, last resolution timestamp and details about the last time the monitor was triggered.
Type: array
[ "string. Possible values: all | alert | warn | no data" ]
A comma separated list indicating what service and/or custom tags, if any, should be used to filter the list of monitors. Tags created in the Datadog UI automatically have the service key prepended (e.g. service:my-app)
Type: array
[ "string" ]
Type: string
The page to start paginating from. If this argument is not specified, the request returns all monitors without pagination.
Type: integer
The number of monitors to return per page. If the page argument is not specified, the default behavior returns all monitors without a page_size limit. However, if page is specified and page_size is not, the argument defaults to 100.
Type: integer
A comma separated list indicating what tags, if any, should be used to filter the list of monitorsby scope, e.g. host:host0. For more information, see the tags parameter for the appropriate query argument at https://docs.datadoghq.com/api/?lang=bash#create-a-monitor
Type: array
[ "string" ]
If this argument is set to true, then the returned data includes all current downtimes for each monitor.
Type: boolean
Get all monitor downtimes
Type: object
{
"current_only" : "Only return downtimes that are active when the request is made."
}
This operation has no parameters
This operation has no parameters
This operation has no parameters
This operation has no parameters
Use this method to return up to 50 of the most recent results for a specific test.
This operation has no parameters
This operation has no parameters
This operation has no parameters
This operation has no parameters
This operation has no parameters
Mute a host
Type: string
Type: object
{
"end" : "POSIX timestamp when the host is unmuted. If omitted, the host remains muted until explicitly unmuted.",
"override" : "If true and the host is already muted, replaces existing host mute settings.",
"message" : "Message to associate with the muting of this host."
}
Muting prevents monitors from notifying through email and posts to the event stream. State changes are only visible by checking the alert page.
Type: string
Type: object
{
"scope" : "The scope to apply the mute to, e.g. role:db. For example, if your alert is grouped by {host}, you might mute host:app1.",
"end" : "A POSIX timestamp for when the mute should end."
}
Post a check run
Type: object
{
"check" : "The text for the message",
"message" : "A description of why this status occurred",
"host_name" : "The name of the host submitting the check",
"status" : "An integer for the status of the check",
"tags" : [ "string" ],
"timestamp" : "POSIX timestamp of the event"
}
This endpoint allows you to post events to the stream. Tag them, set priority and event aggregate them with other events.
Type: object
{
"aggregation_key" : "An arbitrary string to use for aggregation. Limited to 100 characters. If you specify a key, all events using that key are grouped together in the Event Stream.",
"device_name" : [ "string" ],
"host" : "Host name to associate with the event. Any tags associated with the host are also applied to this event.",
"related_event_id" : "ID of the parent event",
"text" : "The body of the event. Limited to 4000 characters. The text supports markdown.",
"title" : "The event title. Limited to 100 characters.",
"priority" : "The priority of the event.",
"source_type_name" : "The type of event being posted.",
"alert_type" : "If it’s an alert event, set its type between error, warning, info, and success.",
"date_happened" : "POSIX timestamp of the event. Must be sent as an integer (i.e. no quotes). Limited to events no older than 1 year, 24 days (389 days).",
"tags" : [ "string" ]
}
The metrics end-point allows you to post time-series data that can be graphed on Datadog’s dashboards. The limit for compressed payloads is 3.2 megabytes (3200000), and 62 megabytes (62914560) for decompressed payloads.
Type: object
{
"series" : [ {
"metric" : "The name of the timeseries",
"host" : "The name of the host that produced the metric.",
"interval" : "If the type of the metric is rate or count, define the corresponding interval.",
"type" : "Type of your metric",
"points" : [ [ "number" ] ],
"tags" : [ "string" ]
} ]
}
Query for metrics from any time period. Use the query syntax described in https://docs.datadoghq.com/graphing/functions
Seconds from the UNIX epoch
Type: integer
Seconds to the UNIX epoch
Type: integer
The query string
Type: string
This endpoint allows you to remove all user-assigned tags for a single host.
Resolve monitor
Revoke a specified embed.
This endpoint allows searching for hosts by name, alias, or tag. Hosts live within the past 3 hours are included.
Number of host results to return.
Type: number
Query string to filter search results.
Type: string
Number of seconds since UNIX epoch from which you want to search your hosts.
Type: number
direction of sort
Type: string
Potential values: asc, desc
Sort hosts by the given field.
Type: string
Potential values: status, apps, cpu, iowait, load
Host result to start search from
Type: number
List endpoint returns logs that match a log search query.
Type: object
{
"time.to" : "Maximum timestamp for requested logs. Format can be either an ISO-8601 string with minute, second or millisecond precision, a UNIX timestamp (number representing the elapsed millisec since epoch), or a relative time (now -10m, now - 1h, now - 1d)",
"time.offset" : "Equivalent to time.timezone, but with a value in seconds. If both timezone and offset are specified, timezone is ignored.",
"query" : "The search query. Use the Log search syntax at https://docs.datadoghq.com/logs/explorer/search/#search-syntax",
"limit" : "Number of logs returned in the response.",
"index" : "For multi-index organizations, the log index in which the request is performed.",
"time.timezone" : "Can be specified both as an offset (e.g. “UTC+03:00”) or a regional zone (e.g. “Europe/Paris”)",
"sort" : "Time-ascending or time-descending results.",
"time.from" : "Minimum timestamp for requested logs. Format can be either an ISO-8601 string, a UNIX timestamp (number representing the elapsed millisec since epoch), or a relative time (now -10m, now - 1h, now - 1d)",
"startAt" : "Hash identifier of the first log to return in the list, available in a log id attribute. This parameter is used for the pagination feature. This parameter is ignored if the corresponding log is out of the scope of the specified time window."
}
Search for metrics from the last 24 hours in Datadog.
The query string to search metrics upon. Must be prefixed with metrics:
Type: string
Search and filter your monitor group details.
Page to start paginating from.
Type: number
Number of monitors to return per page.
Type: number
Query to filter your monitors
Type: string
Comma separated string for sort order (e.g. name,asc) supported fields: name, status, tags
Type: array
[ "string" ]
Search and filter your monitor details.
Page to start paginating from.
Type: number
Number of monitors to return per page.
Type: number
Query to filter your monitors
Type: string
Comma separated string for sort order (e.g. name,asc) supported fields: name, status, tags
Type: array
[ "string" ]
Search and filter your service level objectives.
Query multiple SLOs by their IDs.
Type: array
[ "string" ]
Type: integer
Type: integer
After entering a search query in your List Service Level Objectives page, use the query parameter value in the URL of the page as value for this parameter. For more information on building a query, see Searching SLOs. The query can contain any number of space-separated monitor attributes, for instance query="type:metric foo".
Type: string
Enable or disable automute for a given Datadog-GCP integration.
Type: object
{
"automute" : "Silence monitors for expected GCE instance shutdowns.",
"project_id" : "Your Google Cloud project ID found in your JSON service account key.",
"client_email" : "Your email found in your JSON service account key."
}
Use this method to start or pause an existing Synthetics test.
Type: string
Type: object
{
"new_status" : "A key-value pair where you define whether you want to start or pause a test."
}
This operation has no parameters
Unmute a host
Unmute a single monitor.
Type: string
Type: object
{
"scope" : "The scope to apply the mute to, e.g. role:db. For example, if your alert is grouped by {host}, you might mute host:app1.",
"all_scopes" : "If true, clear muting across all scopes."
}
Update a Datadog-Amazon Web Services integration.
Type: object
{
"access_key_id" : "If your AWS account is a GovCloud or China account, enter the corresponding Access Key ID.",
"role_name" : "Your Datadog role delegation name. For more information about you AWS account Role name, see https://docs.datadoghq.com/integrations/amazon_web_services/#installation",
"account_id" : "Your AWS Account ID without dashes",
"filter_tags" : [ "string" ],
"host_tags" : [ "string" ],
"account_specific_namespace_rules" : { }
}
Update a dashboard
Type: number
Type: object
{
"layout_type" : "Layout type of the dashboard.",
"description" : "Description of the dashboard.",
"notify_list" : [ "string" ],
"is_read_only" : "Whether this dashboard is read-only. If True, only the author and admins can make changes to it.",
"title" : "Title of the dashboard.",
"widgets" : [ {
"layout" : {
"x" : "The position of the widget on the x (horizontal) axis.",
"width" : "The width of the widget.",
"y" : "The position of the widget on the y (vertical) axis.",
"height" : "The height of the widget."
},
"definition" : {
"alert_id" : "ID of the alert to use in the widget",
"viz_type" : "Whether to display the Alert Graph as a timeseries or a top list.",
"type" : "Type of the widget",
"title" : "Title of the widget"
},
"id" : "ID of the widget."
} ],
"template_variables" : {
"default" : "The default value for the template variable on dashboard load.",
"prefix" : "The tag prefix associated with the variable. Only tags with this prefix appear in the variable dropdown.",
"name" : "The name of the variable."
}
}
Update a dashboard list
Type: number
Type: object
{
"name" : "The name of the dashboard list"
}
Update the defined list of host filters for a given Datadog-Azure integration.
Type: object
{
"host_filters" : "Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. E.g. ':,:'",
"tenant_name" : "Your Azure Active Directory ID.",
"client_secret" : "Your Azure web application secret key.",
"client_id" : "Your Azure web application ID."
}
This endpoint allows you to update/replace all tags in an integration source with those supplied in the request.
Type: string
Type: object
{
"source" : "The source of the tags (e.g. chef, puppet). Complete list of source attribute values at https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value",
"tags" : [ "string" ]
}
This endpoint updates an Index identified by its name. It returns the Index object passed in the request body when the request is successful.
Type: string
Type: object
{
"exclusion_filters" : [ {
"is_enabled" : "A boolean stating if the exclusion is active",
"filter.sample_rate" : "The fraction of logs excluded by the exclusion filter, when active. The sampling is uniform.",
"name" : "name of the exclusion filter",
"filter.query" : "Only logs matching the filter criteria AND the query of the parent index will be considered for this exclusion filter. Use the Log search syntax at https://docs.datadoghq.com/logs/explorer/search/#search-syntax"
} ],
"filter.query" : "Only logs matching the filter criteria will be considered for this index. Use the Log search syntax at https://docs.datadoghq.com/logs/explorer/search/#search-syntax"
}
Update items in dashboard list
Type: number
Type: object
{
"dashboards" : [ {
"id" : "the Dashboard ID",
"type" : "the type of dashboard"
} ]
}
This endpoint updates the IndexOrder of your organization. It returns the IndexOrder object passed in the request body when the request is successful.
Array of Strings identifying by their name(s) the index(es) of your organisation. Logs are tested against the query filter of each index one by one, following the order of the array. Logs are eventually stored in the first matching index.
Type: array
[ "string" ]
Update 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.
Update organization information.
Type: string
Type: object
{
"settings" : {
"saml_idp_initiated_login" : {
"enabled" : "boolean"
},
"saml" : {
"enabled" : "boolean"
},
"saml_autocreate_users_domains" : {
"domains" : [ "string" ],
"enabled" : "boolean"
},
"saml_strict_mode" : {
"enabled" : "boolean"
}
},
"name" : "The organization name"
}
This endpoint updates an Pipeline identified by its name. It returns the Pipeline object passed in the request body when the request is successful.
Type: string
Type: object
{
"is_enabled" : "Boolean value to enable your pipeline.",
"name" : "Your pipeline name",
"processors" : [ {
"is_enabled" : "If the processor is enabled or not",
"grok" : {
"match_rules" : "List of Match rules for your grok parser.",
"support_rules" : "List of Support rules for your grok parser."
},
"name" : "string",
"source" : "Name of the log attribute to parse",
"type" : "Required string",
"samples" : [ "string" ]
} ],
"filter.query" : "Only logs matching the filter criteria are processed by this pipeline. Use the Log search syntax at https://docs.datadoghq.com/logs/explorer/search/#search-syntax"
}
Update your integration configuration by replacing your current configuration with the new one sent to your Datadog organization.
Type: object
{
"service_hooks" : [ {
"service_hooks" : {
"account" : "Your Slack account name",
"url" : "Your Slack Service Hook URL."
}
} ]
}
Update a user. Can only be used with application keys belonging to administrators.
Type: string
Type: object
{
"access_role" : "The access role of the user. Choose from st (standard user), adm (admin user), or ro (read-only user).",
"name" : "The new name of the user.",
"disabled" : "The new disabled status of the user.",
"id" : "The user handle, must be a valid email.",
"email" : "The new email of the user."
}
Add a specific Webhook to a Datadog Webhooks integration.
The array of Webhooks objects.
Type: array
[ {
"hooks" : {
"headers" : "Headers attached to your Webhook.",
"encode_as_form" : "If use_custom_payload is true, set this to true to have your payload to be URL-encoded.",
"name" : "Your Webhook name. https://docs.datadoghq.com/monitors/notifications",
"use_custom_payload" : "If true, allow you to specify a custom payload for your Webhook.",
"custom_payload" : "If use_custom_payload is true, specify your own payload to add your own custom fields to the request. Use these variables: https://docs.datadoghq.com/integrations/webhooks/#usage",
"url" : "Your Webhook URL."
}
} ]
Update the Identity Provider (IdP) metadata from your SAML IdP.
Validates a monitor definition (see https://docs.datadoghq.com/api/#create-a-monitor for details on constructing a monitor definition).