Skip to main content
Server path: /datadog-dashboards | Type: Application | PCID required: Yes

Tools


datadog_dashboards_create_dashboard

Create a new dashboard Parameters:
ParameterTypeRequiredDefaultDescription
author_handlestringNoIdentifier of the dashboard author.
author_namestringNoName of the dashboard author.
created_atstringNoCreation date of the dashboard.
descriptionstringNoDescription of the dashboard.
idstringNoID of the dashboard.
is_read_onlybooleanNoWhether this dashboard is read-only. If True, only the author and admins can make changes to it. This property is deprecated; please use the Restriction Policies API instead to manage write authorization for individual dashboards.
layout_typestringYesLayout type of the dashboard.
modified_atstringNoModification date of the dashboard.
notify_liststring[]NoList of handles of users to notify when changes are made to this dashboard.
reflow_typestringNoReflow type for a new dashboard layout dashboard. Set this only when layout type is ‘ordered’. If set to ‘fixed’, the dashboard expects all widgets to have a layout, and if it’s set to ‘auto’, widgets should not have layouts.
restricted_rolesstring[]NoA list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard.
tabsobject[]NoList of tabs for organizing dashboard widgets into groups.
tagsstring[]NoList of team names representing ownership of a dashboard.
template_variable_presetsobject[]NoArray of template variables saved views.
template_variablesobject[]NoList of template variables for this dashboard.
titlestringYesTitle of the dashboard.
urlstringNoThe URL of the dashboard.
widgetsobject[]YesList of widgets to display on the dashboard.

datadog_dashboards_create_notebook

Create a notebook Parameters:
ParameterTypeRequiredDefaultDescription
dataobjectYesThe data for a notebook create request.

datadog_dashboards_create_synthetics_apitest

Create an API test Parameters:
ParameterTypeRequiredDefaultDescription
configobjectYesConfiguration object for a Synthetic API test.
locationsstring[]YesArray of locations used to run the test.
messagestringYesNotification message associated with the test.
monitor_idintegerNoThe associated monitor ID.
namestringYesName of the test.
optionsobjectYesObject describing the extra options for a Synthetic test.
public_idstringNoThe public ID for the test.
statusstringNoDefine whether you want to start (live) or pause (paused) a Synthetic test.
subtypestringNoThe subtype of the Synthetic API test, http, ssl, tcp, dns, icmp, udp, websocket, grpc or multi.
tagsstring[]NoArray of tags attached to the test.
typestringYesType of the Synthetic test, api.

datadog_dashboards_create_synthetics_browser_test

Create a browser test Parameters:
ParameterTypeRequiredDefaultDescription
configobjectYesConfiguration object for a Synthetic browser test.
locationsstring[]YesArray of locations used to run the test.
messagestringYesNotification message associated with the test. Message can either be text or an empty string.
monitor_idintegerNoThe associated monitor ID.
namestringYesName of the test.
optionsobjectYesObject describing the extra options for a Synthetic test.
public_idstringNoThe public ID of the test.
statusstringNoDefine whether you want to start (live) or pause (paused) a Synthetic test.
stepsobject[]NoArray of steps for the test.
tagsstring[]NoArray of tags attached to the test.
typestringYesType of the Synthetic test, browser.

datadog_dashboards_delete_dashboard

Delete a dashboard Parameters:
ParameterTypeRequiredDefaultDescription
dashboard_idstringYesThe ID of the dashboard.

datadog_dashboards_delete_notebook

Delete a notebook Parameters:
ParameterTypeRequiredDefaultDescription
notebook_idintegerYesUnique ID, assigned when you create the notebook.

datadog_dashboards_delete_tests

Delete tests Parameters:
ParameterTypeRequiredDefaultDescription
force_delete_dependenciesbooleanNoDelete the Synthetic test even if it’s referenced by other resources (for example, SLOs and composite monitors).
public_idsstring[]YesAn array of Synthetic test IDs you want to delete.

datadog_dashboards_get_apitest_latest_results

Get an API test’s latest results summaries Parameters:
ParameterTypeRequiredDefaultDescription
public_idstringYesThe public ID of the test for which to search results for.
from_tsintegerNoTimestamp in milliseconds from which to start querying results.
to_tsintegerNoTimestamp in milliseconds up to which to query results.
probe_dcstring[]NoLocations for which to query results.

datadog_dashboards_get_browser_test_latest_results

Get a browser test’s latest results summaries Parameters:
ParameterTypeRequiredDefaultDescription
public_idstringYesThe public ID of the browser test for which to search results for.
from_tsintegerNoTimestamp in milliseconds from which to start querying results.
to_tsintegerNoTimestamp in milliseconds up to which to query results.
probe_dcstring[]NoLocations for which to query results.

datadog_dashboards_get_dashboard

Get a dashboard Parameters:
ParameterTypeRequiredDefaultDescription
dashboard_idstringYesThe ID of the dashboard.

datadog_dashboards_get_notebook

Get a notebook Parameters:
ParameterTypeRequiredDefaultDescription
notebook_idintegerYesUnique ID, assigned when you create the notebook.

datadog_dashboards_get_test

Get a test configuration Parameters:
ParameterTypeRequiredDefaultDescription
public_idstringYesThe public ID of the test to get details from.

datadog_dashboards_list_dashboards

Get all dashboards Parameters:
ParameterTypeRequiredDefaultDescription
filter[shared]booleanNoWhen true, this query only returns shared custom created or cloned dashboards.
filter[deleted]booleanNoWhen true, this query returns only deleted custom-created or cloned dashboards. This parameter is incompatible with filter[shared].
countintegerNoThe maximum number of dashboards returned in the list.
startintegerNoThe specific offset to use as the beginning of the returned response.

datadog_dashboards_list_global_variables

Get all global variables

datadog_dashboards_list_notebooks

Get all notebooks Parameters:
ParameterTypeRequiredDefaultDescription
author_handlestringNoReturn notebooks created by the given author_handle.
exclude_author_handlestringNoReturn notebooks not created by the given author_handle.
startintegerNoThe index of the first notebook you want returned.
countintegerNoThe number of notebooks to be returned.
sort_fieldstringNoSort by field modified, name, or created.
sort_dirstringNoSort by direction asc or desc.
querystringNoReturn only notebooks with query string in notebook name or author handle.
include_cellsbooleanNoValue of false excludes the cells and global time for each notebook.
is_templatebooleanNoTrue value returns only template notebooks. Default is false (returns only non-template notebooks).
typestringNoIf type is provided, returns only notebooks with that metadata type. Default does not have type filtering.

datadog_dashboards_list_tests

Get the list of all Synthetic tests Parameters:
ParameterTypeRequiredDefaultDescription
page_sizeintegerNoUsed for pagination. The number of tests returned in the page.
page_numberintegerNoUsed for pagination. Which page you want to retrieve. Starts at zero.

datadog_dashboards_trigger_tests

Trigger Synthetic tests Parameters:
ParameterTypeRequiredDefaultDescription
testsobject[]YesList of Synthetic tests.

datadog_dashboards_update_apitest

Edit an API test Parameters:
ParameterTypeRequiredDefaultDescription
public_idstringYesThe public ID of the test to get details from.
configobjectYesConfiguration object for a Synthetic API test.
locationsstring[]YesArray of locations used to run the test.
messagestringYesNotification message associated with the test.
monitor_idintegerNoThe associated monitor ID.
namestringYesName of the test.
optionsobjectYesObject describing the extra options for a Synthetic test.
statusstringNoDefine whether you want to start (live) or pause (paused) a Synthetic test.
subtypestringNoThe subtype of the Synthetic API test, http, ssl, tcp, dns, icmp, udp, websocket, grpc or multi.
tagsstring[]NoArray of tags attached to the test.
typestringYesType of the Synthetic test, api.

datadog_dashboards_update_browser_test

Edit a browser test Parameters:
ParameterTypeRequiredDefaultDescription
public_idstringYesThe public ID of the test to edit.
configobjectYesConfiguration object for a Synthetic browser test.
locationsstring[]YesArray of locations used to run the test.
messagestringYesNotification message associated with the test. Message can either be text or an empty string.
monitor_idintegerNoThe associated monitor ID.
namestringYesName of the test.
optionsobjectYesObject describing the extra options for a Synthetic test.
statusstringNoDefine whether you want to start (live) or pause (paused) a Synthetic test.
stepsobject[]NoArray of steps for the test.
tagsstring[]NoArray of tags attached to the test.
typestringYesType of the Synthetic test, browser.

datadog_dashboards_update_dashboard

Update a dashboard Parameters:
ParameterTypeRequiredDefaultDescription
dashboard_idstringYesThe ID of the dashboard.
author_handlestringNoIdentifier of the dashboard author.
author_namestringNoName of the dashboard author.
created_atstringNoCreation date of the dashboard.
descriptionstringNoDescription of the dashboard.
idstringNoID of the dashboard.
is_read_onlybooleanNoWhether this dashboard is read-only. If True, only the author and admins can make changes to it. This property is deprecated; please use the Restriction Policies API instead to manage write authorization for individual dashboards.
layout_typestringYesLayout type of the dashboard.
modified_atstringNoModification date of the dashboard.
notify_liststring[]NoList of handles of users to notify when changes are made to this dashboard.
reflow_typestringNoReflow type for a new dashboard layout dashboard. Set this only when layout type is ‘ordered’. If set to ‘fixed’, the dashboard expects all widgets to have a layout, and if it’s set to ‘auto’, widgets should not have layouts.
restricted_rolesstring[]NoA list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard.
tabsobject[]NoList of tabs for organizing dashboard widgets into groups.
tagsstring[]NoList of team names representing ownership of a dashboard.
template_variable_presetsobject[]NoArray of template variables saved views.
template_variablesobject[]NoList of template variables for this dashboard.
titlestringYesTitle of the dashboard.
urlstringNoThe URL of the dashboard.
widgetsobject[]YesList of widgets to display on the dashboard.

datadog_dashboards_update_notebook

Update a notebook Parameters:
ParameterTypeRequiredDefaultDescription
notebook_idintegerYesUnique ID, assigned when you create the notebook.
dataobjectYesThe data for a notebook update request.