datadog
v1.0.3Monitor infrastructure, manage agents and deployments, track metrics, logs, and events
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_agent_versions List Agent Versions
Retrieve all available Datadog Agent versions that can be deployed to your fleet. Use these versions when creating deployments or configuring automated Agent upgrade schedules.
list_agents List Agents
Retrieve a paginated list of all Datadog Agents with optional filtering by tags. Results can be sorted and paginated using page number and size parameters.
| Parameter | Type | Description |
|---|---|---|
page_number | string | Zero-indexed page number for pagination. Use this to navigate through result sets. |
page_size | string | Number of results to return per page. Must be between 1 and 100 inclusive. |
tags | string | Filter agents by one or more tags. Provide as a comma-separated list of tag values. |
get_agent_info Get Agent Info
Retrieve comprehensive information about a specific Datadog Agent, including agent metadata, configured integrations organized by status, detected integrations, and configuration files.
| Parameter | Type | Description |
|---|---|---|
agent_key * | string | The unique identifier for the Datadog Agent you want to retrieve information about. |
list_deployments List Deployments
Retrieve a paginated list of all fleet deployments. Use pagination parameters to navigate through results efficiently.
| Parameter | Type | Description |
|---|---|---|
page_offset | string | Zero-based index of the first deployment to return. Use with page_size to paginate through results. |
page_size | string | Number of deployments to return per page. Maximum of 100 deployments per request. |
deploy_fleet_configuration Deploy Fleet Configuration
Deploy configuration changes to a fleet of hosts matching a filter query. Supports merge-patch operations to update configuration files and delete operations to remove them, with multiple operations executed sequentially on each target host.
| Parameter | Type | Description |
|---|---|---|
type * | string | The type of deployment resource being created. |
config_operations | array | Ordered list of configuration file operations to perform on the target hosts. |
filter_query | string | Datadog query to filter and select target hosts for the deployment. Use standard Datadog query syntax to match hosts by attributes like environment, service, or custom tags. |
start_agent_upgrade Start Agent Upgrade
Initiate an immediate upgrade of the Datadog Agent to a specified version on hosts matching your filter criteria. The deployment is created and automatically begins rolling out to target hosts.
| Parameter | Type | Description |
|---|---|---|
target_packages * | array | List of packages and their target versions to deploy. Each entry specifies a package name and the version to upgrade to. |
type * | string | The resource type for this deployment operation. |
filter_query | string | Datadog query to identify target hosts for the upgrade. Uses standard Datadog query syntax to filter by tags, attributes, and expressions. |
get_deployment Get Deployment
Retrieve detailed information about a specific fleet deployment, including metadata, target hosts, current status, and per-host execution details with package versions.
| Parameter | Type | Description |
|---|---|---|
deployment_id * | string | The unique identifier of the deployment to retrieve. |
limit | string | Maximum number of hosts to return per page. Default is 50, maximum is 100. |
page | string | Page index for pagination (zero-based). Use this to retrieve subsequent pages of hosts. |
cancel_deployment Cancel Deployment
Cancel an active fleet deployment and stop all pending operations on hosts. Already-applied configuration changes and package upgrades are not rolled back.
| Parameter | Type | Description |
|---|---|---|
deployment_id * | string | The unique identifier of the deployment to cancel. |
list_schedules List Fleet Schedules
Retrieve all fleet deployment schedules. Schedules automate package upgrades by defining maintenance windows and recurrence rules, with each schedule automatically generating deployments based on its configuration.
create_fleet_upgrade_schedule Create Fleet Upgrade Schedule
Create an automated schedule for deploying Datadog Agent upgrades to a fleet of hosts. The schedule defines target hosts via query filter, maintenance windows, and version strategy to automatically trigger deployments on a recurring basis.
| Parameter | Type | Description |
|---|---|---|
days_of_week * | array | Days of the week when the schedule should trigger. Specify as a list of day abbreviations. |
maintenance_window_duration * | string | Duration of the maintenance window in minutes. Deployments will complete within this timeframe. |
name * | string | Human-readable name for the schedule. |
query * | string | Query filter to select target hosts for scheduled deployments using Datadog query syntax. |
start_maintenance_window * | string | Start time of the maintenance window in 24-hour format. Deployments trigger at this time on specified days. |
timezone * | string | Timezone for the schedule using IANA Time Zone Database format. |
type * | string | The type of schedule resource. |
status | string | Status of the schedule. Active schedules create deployments according to their recurrence rule; inactive schedules do not. |
version_to_latest | string | Number of major versions behind the latest to target for upgrades. Use 0 to always upgrade to the latest version. |
get_schedule Get Fleet Schedule
Retrieve detailed information about a specific deployment schedule by its unique identifier. Returns schedule metadata, filter criteria, recurrence rules, version strategy, and current status.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the schedule to retrieve. |
update_schedule Update Fleet Schedule
Partially update a fleet deployment schedule by modifying specific attributes such as recurrence days, maintenance window timing, or deployment strategy. Only provided fields are updated; omitted fields remain unchanged.
| Parameter | Type | Description |
|---|---|---|
days_of_week * | array | Days of the week when the schedule should trigger. Specify days in order as needed (order does not affect scheduling). |
id * | string | The unique identifier of the schedule to update. |
maintenance_window_duration * | string | Duration of the maintenance window in minutes. Defines how long deployments can run before the window closes. |
start_maintenance_window * | string | Start time of the maintenance window in 24-hour format. Deployments will be triggered at this time on specified days. |
timezone * | string | Timezone for interpreting the maintenance window start time. Use IANA Time Zone Database format. |
type * | string | The resource type identifier for this schedule. |
status | string | The operational status of the schedule. Active schedules create deployments according to their recurrence rule; inactive schedules do not. |
version_to_latest | string | Number of major versions behind the latest to target for upgrades. Use 0 to always upgrade to the latest version, or 1-2 to target older major versions. |
delete_schedule Delete Schedule
Permanently delete a fleet schedule. The schedule will no longer create deployments, though any previously created deployments remain unaffected. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the schedule to delete. |
trigger_schedule Trigger Schedule
Manually trigger a schedule to immediately create and start a deployment without waiting for the next scheduled maintenance window. Useful for testing schedules, emergency updates, or ad-hoc deployments using the schedule's configuration.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the schedule to trigger. |
list_datastores List Datastores
Retrieves all datastores available in the organization. Use this to discover and manage data storage resources.
create_datastore Create Datastore
Creates a new datastore with a specified primary key column and optional organization access level. The datastore can be configured to automatically generate primary keys using UUIDs or require manual key assignment.
| Parameter | Type | Description |
|---|---|---|
name * | string | The display name for the new datastore. |
primary_column_name * | string | The name of the primary key column for this datastore. Must follow PostgreSQL naming conventions and not exceed 63 characters. |
type * | string | The resource type identifier for this datastore. |
description | string | A human-readable description explaining the purpose and contents of the datastore. |
org_access | string | The organization access level that determines permissions for other users to interact with this datastore. |
primary_key_generation_strategy | string | Strategy for generating primary keys when new items are added. Set to 'uuid' for automatic UUID generation, or 'none' to require manual key assignment for each new item. |
get_datastore Get Datastore
Retrieves a specific datastore by its unique identifier. Use this operation to fetch detailed information about a datastore for inspection or configuration purposes.
| Parameter | Type | Description |
|---|---|---|
datastore_id * | string | The unique identifier of the datastore to retrieve. |
update_datastore Update Datastore
Updates an existing datastore's attributes such as description. Requires the datastore ID and resource type to identify and modify the target datastore.
| Parameter | Type | Description |
|---|---|---|
datastore_id * | string | The unique identifier of the datastore to update. |
type * | string | The resource type identifier for datastores. |
description | string | A human-readable description of the datastore's purpose or contents. |
delete_datastore Delete Datastore
Permanently deletes a datastore and all associated data by its unique identifier. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
datastore_id * | string | The unique identifier of the datastore to delete. |
list_datastore_items List Datastore Items
Retrieve items from a datastore with optional filtering by key or query parameters, supporting server-side pagination for large datasets. Specify either an item key or filter query, but not both.
| Parameter | Type | Description |
|---|---|---|
datastore_id * | string | The unique identifier of the datastore to retrieve items from. |
item_key | string | Primary key value to retrieve a specific item. Cannot be used together with the filter parameter. Maximum length is 256 characters. |
pagelimit | string | Maximum number of items to return per page for pagination. Accepts values between 1 and 100 items per page. |
pageoffset | string | Number of items to skip from the beginning of the result set for pagination offset. |
update_datastore_item Update Datastore Item
Partially updates an item in a datastore using its primary key. Supports setting key-value pairs on the specified item.
| Parameter | Type | Description |
|---|---|---|
datastore_id * | string | The unique identifier of the datastore containing the item to update. |
item_key * | string | The primary key that uniquely identifies the item to update within the datastore. Maximum 256 characters. |
type * | string | The resource type identifier for datastore items. |
ops_set | object | Key-value pairs to set on the datastore item. Existing fields not included in this operation remain unchanged. |
delete_datastore_item Delete Datastore Item
Removes an item from a datastore by its primary key. The item is permanently deleted and cannot be recovered.
| Parameter | Type | Description |
|---|---|---|
datastore_id * | string | The unique identifier of the datastore containing the item to delete. |
item_key * | string | The primary key value that uniquely identifies the item to delete within the datastore. Must not exceed 256 characters. |
type * | string | The resource type designation for datastore items. |
bulk_write_datastore_items Bulk Write Datastore Items
Creates or replaces multiple items in a datastore in a single batch operation. Supports up to 100 items per request with configurable conflict handling for existing keys.
| Parameter | Type | Description |
|---|---|---|
datastore_id * | string | The unique identifier of the datastore where items will be written. |
type * | string | The resource type identifier for datastore items. |
values * | array | An array of items to write to the datastore, where each item is a set of key-value pairs. Maximum 100 items per request. |
conflict_mode | string | Specifies how to handle conflicts when an item key already exists in the datastore. |
delete_datastore_items Delete Datastore Items
Deletes multiple items from a datastore by their primary keys in a single batch operation. Supports up to 100 items per request.
| Parameter | Type | Description |
|---|---|---|
datastore_id * | string | The unique identifier of the datastore from which items will be deleted. |
type * | string | The resource type for the items being deleted. |
item_keys | array | Array of primary keys identifying the items to delete. Order is not significant. Maximum 100 keys per request. |
list_app_key_registrations List App Key Registrations
Retrieve a paginated list of app key registrations. Use pagination parameters to control the number of results and navigate through pages.
| Parameter | Type | Description |
|---|---|---|
pagenumber | string | Page number to retrieve in the paginated result set. Use with page[size] to navigate through results. |
pagesize | string | Number of app key registrations to return per page. Controls the batch size of results in the response. |
get_app_key_registration Get App Key Registration
Retrieve the details of an existing app key registration by its ID. Use this to view configuration and status information for a registered application key.
| Parameter | Type | Description |
|---|---|---|
app_key_id * | string | The unique identifier of the app key registration to retrieve. |
create_action_connection Create Action Connection
Create a new Action Connection to integrate external services with Datadog actions. Requires a registered application key for authentication.
get_action_connection Get Action Connection
Retrieve details of an existing Action Connection by its ID. Requires a registered application key for authentication.
| Parameter | Type | Description |
|---|---|---|
connection_id * | string | The unique identifier of the action connection to retrieve. |
update_action_connection Update Action Connection
Update an existing Action Connection with new integration settings or configuration. Requires a registered application key for authentication.
delete_action_connection Delete Action Connection
Delete an existing Action Connection by its ID. Requires a registered application key with appropriate permissions.
| Parameter | Type | Description |
|---|---|---|
connection_id * | string | The unique identifier of the action connection to delete. |
list_aws_scan_options List AWS Scan Options
Retrieves the scan options and configurations available for AWS accounts in agentless scanning. Use this to understand what scanning capabilities and settings are available for your AWS environment.
enable_aws_scan_options Enable AWS Scan Options
Enable agentless scanning options for an AWS account by specifying which scan types to activate, including Lambda functions, sensitive data, container vulnerabilities, and host vulnerabilities.
| Parameter | Type | Description |
|---|---|---|
id * | string | The AWS account ID to configure scanning options for. |
lambda * | boolean | Enable scanning of AWS Lambda functions for vulnerabilities and misconfigurations. |
sensitive_data * | boolean | Enable scanning for sensitive data exposure across AWS resources. |
type * | string | The resource type identifier for AWS scan configuration. |
vuln_containers_os * | boolean | Enable scanning for vulnerabilities in container images and registries. |
vuln_host_os * | boolean | Enable scanning for vulnerabilities in host operating systems and instances. |
get_aws_scan_options Get AWS Scan Options
Retrieve the agentless scanning configuration options for an activated AWS account. This returns the scan settings and capabilities available for the specified account.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The AWS account ID to retrieve scan options for. |
configure_aws_scan_options Configure AWS Scan Options
Configure agentless scanning options for an AWS account, including Lambda functions, sensitive data detection, and vulnerability scanning for containers and hosts.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The AWS account ID to update scan options for. |
id * | string | The AWS account ID (must match the account_id parameter). |
type * | string | The resource type identifier for AWS scan configuration. |
lambda | boolean | Enable or disable scanning of Lambda functions. |
sensitive_data | boolean | Enable or disable scanning for sensitive data. |
vuln_containers_os | boolean | Enable or disable scanning for vulnerabilities in container images and registries. |
vuln_host_os | boolean | Enable or disable scanning for vulnerabilities in host operating systems. |
delete_aws_scan_options Delete AWS Scan Options
Remove agentless scanning configuration for a specified AWS account. This disables agentless scanning capabilities for that account.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The AWS account identifier to remove agentless scan options from. |
list_azure_scan_options List Azure Scan Options
Retrieves the scan options configured for Azure accounts in agentless scanning. Use this to discover available scanning configurations and settings for your Azure environment.
enable_azure_agentless_scanning Enable Azure Agentless Scanning
Enable agentless scanning options for an Azure subscription, allowing vulnerability scans on containers and/or hosts without requiring agent installation.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Azure subscription ID to enable agentless scanning for. |
type * | string | The resource type identifier for Azure scan configuration. |
vuln_containers_os | boolean | Enable vulnerability scanning for container images within the Azure subscription. |
vuln_host_os | boolean | Enable vulnerability scanning for host operating systems within the Azure subscription. |
get_azure_scan_options_subscription Get Azure Scan Options for Subscription
Retrieves the agentless scanning configuration options available for an activated Azure subscription. Use this to discover what scan settings and capabilities are enabled for a specific subscription.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | The Azure subscription ID in UUID format that identifies the subscription for which to retrieve scan options. |
configure_azure_scan_options Configure Azure Scan Options
Configure agentless scanning options for an Azure subscription, including vulnerability scanning for containers and hosts.
| Parameter | Type | Description |
|---|---|---|
id * | string | The Azure subscription ID for the resource being updated. |
subscription_id * | string | The Azure subscription ID to update scan options for. |
type * | string | The resource type identifier for Azure scan options configuration. |
vuln_containers_os | boolean | Enable or disable vulnerability scanning for containers. |
vuln_host_os | boolean | Enable or disable vulnerability scanning for hosts. |
delete_azure_scan_options Delete Azure Scan Options
Remove agentless scanning configuration for a specified Azure subscription. This disables automated vulnerability scanning for the subscription.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | The unique identifier for the Azure subscription from which to delete scan options. |
list_gcp_scan_options List GCP Scan Options
Retrieves the scan options configured for all GCP projects in your agentless scanning setup. Use this to view available scanning configurations across your GCP environment.
enable_gcp_agentless_scanning Enable GCP Agentless Scanning
Enable agentless scanning options for a GCP project, allowing vulnerability detection in containers and/or hosts without requiring agent installation.
| Parameter | Type | Description |
|---|---|---|
id * | string | The GCP project ID to enable agentless scanning for. |
type * | string | The resource type identifier for GCP scan options configuration. |
vuln_containers_os | boolean | Enable vulnerability scanning for container images within the GCP project. |
vuln_host_os | boolean | Enable vulnerability scanning for host operating systems within the GCP project. |
get_gcp_scan_options Get GCP Scan Options
Retrieve the agentless scanning configuration options for an activated GCP project. This returns the scan settings and capabilities available for the specified project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The GCP project ID that identifies the cloud project for which to fetch agentless scan options. |
update_gcp_scan_options Update GCP Scan Options
Update agentless scanning configuration for a GCP project, including vulnerability scanning preferences for containers and hosts.
| Parameter | Type | Description |
|---|---|---|
id * | string | The GCP project ID for the scan options resource. |
project_id * | string | The GCP project ID to update scan options for. |
type * | string | The resource type identifier for GCP scan options configuration. |
vuln_containers_os | boolean | Enable or disable vulnerability scanning for container images. |
vuln_host_os | boolean | Enable or disable vulnerability scanning for host operating systems. |
delete_gcp_scan_options Delete GCP Scan Options
Remove agentless scanning configuration for a GCP project. This disables automated vulnerability scanning for the specified project.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The GCP project identifier to remove scanning options from. |
list_aws_ondemand_tasks List AWS On-Demand Tasks
Retrieves the most recent 1000 AWS on-demand scanning tasks. Use this to view the history and status of on-demand vulnerability scans initiated on your AWS infrastructure.
scan_aws_resource Scan AWS Resource
Trigger an on-demand agentless scan of an AWS resource with high priority. Agentless scanning must be activated for the AWS account containing the resource.
| Parameter | Type | Description |
|---|---|---|
arn * | string | The ARN of the AWS resource to scan. Supported resource types include EC2 instances, Lambda functions, AMIs, ECR repositories, RDS databases, and S3 buckets. |
type * | string | The type classification for this on-demand scan task. |
get_aws_ondemand_task Get AWS On-Demand Task
Retrieve details and status of a specific AWS on-demand scanning task. Use this to check the progress and results of a previously initiated on-demand scan.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The unique identifier (UUID) of the AWS on-demand task to retrieve. |
list_span_metrics List Span Metrics
Retrieve all configured span-based metrics with their complete definitions. Use this to discover available metrics for APM monitoring and analysis.
create_spans_metric Create Spans Metric
Create a span-based metric to aggregate data from your ingested spans. The metric can count span occurrences or calculate distributions across specified span attributes.
| Parameter | Type | Description |
|---|---|---|
aggregation_type * | string | The aggregation function to apply to the span data. Use 'count' to count span occurrences or 'distribution' to calculate statistical distributions. |
id * | string | A unique identifier for this span-based metric. Use dot notation to organize metrics hierarchically. |
type * | string | The resource type identifier. This must always be set to 'spans_metrics' to indicate a span-based metric resource. |
group_by | array | Rules for grouping the aggregated metric results by span attributes. Each rule specifies which attributes to group by and how to organize the output. |
include_percentiles | boolean | When using distribution aggregation, enable this to include percentile calculations (p50, p75, p90, p95, p99) in the metric output. |
path | string | The span attribute path to aggregate on when using distribution aggregation. Specify the attribute using dot notation or @ prefix for standard span fields. |
get_span_metric Get Span Metric
Retrieve a specific span-based metric configuration from your organization. Use this to view the details and settings of a metric used to track APM span data.
| Parameter | Type | Description |
|---|---|---|
metric_id * | string | The unique identifier of the span-based metric to retrieve. |
update_spans_metric Update Spans Metric
Update a span-based metric configuration for your organization. Returns the updated span-based metric object.
| Parameter | Type | Description |
|---|---|---|
metric_id * | string | The identifier of the span-based metric to update. |
type * | string | The resource type identifier. Must be set to spans_metrics. |
group_by | array | Rules for grouping the metric data. Specify as an array of grouping criteria. |
include_percentiles | boolean | Include or exclude percentile aggregations for distribution metrics. Only applicable when the metric uses distribution aggregation. |
delete_span_metric Delete Span Metric
Delete a span-based metric from your organization. This operation permanently removes the specified metric and its associated configuration.
| Parameter | Type | Description |
|---|---|---|
metric_id * | string | The unique identifier of the span-based metric to delete. |
list_apm_retention_filters List APM Retention Filters
Retrieve all APM retention filters configured in your organization. Retention filters control which APM data is retained based on specified criteria.
create_retention_filter Create Retention Filter
Create a retention filter to index spans in your organization. Retention filters allow you to sample spans based on search queries, controlling which spans are retained for analysis.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | Whether the retention filter is active and applies sampling to matching spans. |
filter_type * | string | The retention filter type. Must be spans-sampling-processor for custom retention filters. |
name * | string | A descriptive name for the retention filter to identify it in your organization. |
query * | string | Search query to identify spans for sampling, using span search syntax to filter by attributes like status codes, services, and other span properties. |
rate * | number | Sample rate for spans matching the query, between 0 and 1. A value of 1.0 retains all matching spans. |
type * | string | The resource type identifier for this retention filter. |
trace_rate | number | Sample rate for entire traces containing spans that match the query, between 0 and 1. A value of 1.0 retains all traces with matching spans. |
reorder_retention_filters Reorder Retention Filters
Update the execution order of APM retention filters. The order determines the sequence in which filters are applied during data retention processing.
| Parameter | Type | Description |
|---|---|---|
data * | array | An ordered list of retention filter objects that defines the new execution sequence. The position of each filter in the array determines its execution priority. |
get_retention_filter_apm Get APM Retention Filter
Retrieve a specific APM retention filter by its ID. Use this to view the configuration and settings of an existing retention filter.
| Parameter | Type | Description |
|---|---|---|
filter_id * | string | The unique identifier of the APM retention filter to retrieve. |
update_retention_filter_apm Update APM Retention Filter
Update an APM retention filter configuration for your organization. Note that default filters (spans-errors-sampling-processor and spans-appsec-sampling-processor types) cannot be renamed or removed.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | Whether the retention filter is active and applied to incoming spans. |
filter_id * | string | The unique identifier of the retention filter to update. |
filter_type * | string | The category of retention filter that determines its behavior and restrictions. |
id * | string | The unique identifier of the retention filter resource. |
name * | string | A human-readable name for the retention filter. Default filter types cannot be renamed. |
query * | string | The search query to identify spans for retention filtering, using span search syntax. |
rate * | number | The sampling rate for spans matching the filter query, where 1.0 retains all matching spans and 0.0 discards all. |
type * | string | The resource type identifier for this retention filter object. |
trace_rate | number | Optional sampling rate for entire traces containing spans that match the filter, where 1.0 retains all traces with matching spans. |
delete_retention_filter_apm Delete APM Retention Filter
Delete a specific retention filter from your organization. Note that default filters with types spans-errors-sampling-processor and spans-appsec-sampling-processor cannot be deleted.
| Parameter | Type | Description |
|---|---|---|
filter_id * | string | The unique identifier of the retention filter to delete. |
list_services List Services
Retrieve a list of APM services, optionally filtered by environment. Use `*` as the environment filter to return services across all environments.
| Parameter | Type | Description |
|---|---|---|
filterenv * | string | Environment identifier to filter services. Specify a particular environment name or use `*` to include services from all environments. |
list_apps List Apps
Retrieve a paginated list of all apps with optional filtering by creator, name, deployment status, tags, favorites, and self-service availability. Only basic app information (ID, name, description) is returned.
| Parameter | Type | Description |
|---|---|---|
filterdeployed | boolean | Filter apps by publication status (true for published/deployed apps, false for unpublished). |
filterfavorite | boolean | Filter apps by whether they are marked as favorites (true for favorited apps only). |
filterquery | string | Filter apps by name or creator name using a search query. |
filterself_service | boolean | Filter apps by whether they are enabled for self-service access. |
filtertags | string | Filter apps by one or more tags. Multiple tags can be specified to narrow results. |
filteruser_uuid | string | Filter apps by the UUID of the app creator. |
limit | string | Maximum number of apps to return per page. |
page | string | Page number to retrieve (1-indexed). |
create_app Create App
Create a new app in the app builder and receive the app ID. Requires a registered application key with appropriate permissions.
delete_apps Delete Apps
Delete multiple apps in a single request by providing a list of app IDs. Requires a registered application key or appropriate Actions API permissions.
get_app Get App
Retrieve the complete definition and configuration of an app by its ID. Requires a registered application key or appropriate Actions API permissions.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The unique identifier of the app to retrieve, formatted as a UUID. |
update_app Update App
Update an existing app by modifying its configuration, components, queries, or metadata. This operation creates a new version of the app and requires a registered application key or appropriate API permissions.
delete_app Delete App
Permanently delete an app by its ID. Requires a registered application key or appropriate Actions API permissions.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The unique identifier of the app to delete. |
publish_app Publish App
Publish an app to make it accessible to other users. After publishing, configure a Restriction Policy to control which users can access the app.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The unique identifier of the app to publish. |
unpublish_app Unpublish App
Remove the live version of an app, making it unavailable to end users while preserving the ability to update and republish it later. Unpublishing creates a new deployment instance with no associated app version.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The unique identifier of the app to unpublish. |
list_application_keys List Application Keys
Retrieve all application keys for your organization with optional filtering by creation date and pagination support.
| Parameter | Type | Description |
|---|---|---|
filtercreated_atend | string | Filter to include only application keys created on or before this date. Use ISO 8601 format with timezone. |
filtercreated_atstart | string | Filter to include only application keys created on or after this date. Use ISO 8601 format with timezone. |
pagenumber | string | Zero-indexed page number to retrieve from the paginated results. |
pagesize | string | Number of application keys to return per page. Maximum allowed is 100. |
get_application_key Get Application Key
Retrieve a specific application key for your organization by its ID. Use this to access details about an existing application key.
| Parameter | Type | Description |
|---|---|---|
app_key_id * | string | The unique identifier of the application key to retrieve. |
update_application_key Update Application Key
Update an application key's configuration, including its assigned scopes and permissions. Changes take effect immediately.
| Parameter | Type | Description |
|---|---|---|
app_key_id * | string | The unique identifier of the application key to update. |
id * | string | The unique identifier of the application key resource. |
type * | string | The resource type identifier for application keys. |
scopes | array | List of permission scopes to grant to the application key. Scopes define what resources and actions the key can access. |
delete_application_key Delete Application Key
Permanently delete an application key by its ID. This action cannot be undone and will invalidate any authentication using this key.
| Parameter | Type | Description |
|---|---|---|
app_key_id * | string | The unique identifier of the application key to delete. |
list_audit_logs List Audit Logs
Retrieve a paginated list of audit log events matching your search criteria. Use this endpoint to monitor your organization's latest audit activity with optional filtering by query, time range, and result limit.
| Parameter | Type | Description |
|---|---|---|
filterfrom | string | Minimum timestamp (inclusive) for filtering audit log events. Specify in ISO 8601 format. |
filterquery | string | Search query to filter audit log events using Audit Logs query syntax (e.g., filter by event type, application ID, or other audit attributes). |
filterto | string | Maximum timestamp (inclusive) for filtering audit log events. Specify in ISO 8601 format. |
pagelimit | string | Maximum number of audit log events to return in a single response. Useful for controlling response size and pagination. |
search_audit_logs Search Audit Logs
Search and filter audit log events using complex query criteria with paginated results. Use this endpoint to retrieve audit events within a specified time range with customizable result limits.
| Parameter | Type | Description |
|---|---|---|
from | string | Start of the time range for audit events. Accepts relative expressions (e.g., now-15m), absolute timestamps in milliseconds, or date formats. |
limit | string | Maximum number of audit events to return in the response. |
to | string | End of the time range for audit events. Accepts relative expressions (e.g., now), absolute timestamps in milliseconds, or date formats. |
list_cases List Cases
Retrieve a paginated list of cases with optional sorting. Use pagination parameters to navigate through results and sorting options to organize cases by creation date, priority, or status.
| Parameter | Type | Description |
|---|---|---|
pagenumber | string | Zero-indexed page number to retrieve. Use this to navigate through paginated results. |
pagesize | string | Number of cases to return per page. Maximum allowed is 100 cases per request. |
sortasc | boolean | Sort order direction. Set to true for ascending order, false for descending order. |
sortfield | string | Field to sort results by. Choose from creation date, priority level, or case status. |
create_case Create Case
Create a new case with specified type, title, and optional metadata. Cases are used to track and manage investigations or issues within a project.
| Parameter | Type | Description |
|---|---|---|
title * | string | Human-readable title or name for the case. |
type * | string | Resource type identifier for the case object. |
type_id * | string | UUID identifier of the case type that defines the case's structure and available statuses. |
assigneeData | object | User to assign ownership or responsibility for the case. |
custom_attributes | object | Custom attributes to attach to the case as key-value pairs for extended metadata. |
description | string | Detailed description or notes about the case. |
priority | string | Priority level assigned to the case. |
projectData | object | Project to associate the case with for organizational grouping. |
status_name | string | Initial status of the case. Must correspond to a valid status defined for the case's type. |
list_projects List Projects
Retrieve all available projects. Returns a complete list of projects accessible to the authenticated user.
create_project Create Project
Create a new project to organize and manage cases. Projects serve as containers for case types and team collaboration.
| Parameter | Type | Description |
|---|---|---|
key * | string | Unique identifier key for the project. This key is used in URLs and references and cannot be set to 'CASE'. |
name * | string | Human-readable name for the project displayed in the user interface. |
type * | string | Resource type identifier for this project. |
enabled_custom_case_types | array | List of custom case type IDs to enable for this project. The order of IDs in the array is not significant. |
team_uuid | string | UUID of the team to associate with this project. If not provided, the project will not be assigned to a team. |
get_project Get Project
Retrieve detailed information about a specific project using its unique identifier. Returns comprehensive project metadata and configuration.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier (UUID) of the project to retrieve. |
update_project Update Project
Update project configuration including board columns, case types, automation rules, integrations, and notification settings.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier (UUID) of the project to update. |
type * | string | The resource type identifier for this project. |
auto_close_inactive_cases | object | Configuration for automatically closing inactive cases, including inactivity thresholds and closure rules. |
auto_transition_assigned_cases | object | Configuration for automatically transitioning cases when assigned, including target status and conditions. |
columns | array | Ordered list of column configurations that define the project board view layout and properties. |
enabled_custom_case_types | array | List of custom case type IDs to enable for this project. |
integration_incident | object | Settings for integrating incident management systems with this project. |
integration_jira | object | Settings for integrating Jira with this project, including authentication and field mapping. |
integration_monitor | object | Settings for integrating monitoring systems with this project. |
integration_on_call | object | Settings for integrating on-call management systems with this project. |
integration_service_now | object | Settings for integrating ServiceNow with this project, including authentication and synchronization rules. |
notification | object | Configuration for project notifications, including channels, triggers, and recipient settings. |
team_uuid | string | UUID of the team to associate with this project. |
delete_project Delete Project
Permanently remove a project by its unique identifier. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier (UUID) of the project to delete. |
delete_notification_rule Delete Notification Rule
Delete a notification rule from a project by its ID. This operation permanently removes the specified notification rule and its associated configurations.
| Parameter | Type | Description |
|---|---|---|
notification_rule_id * | string | The unique identifier (UUID) of the notification rule to delete. |
project_id * | string | The unique identifier (UUID) of the project containing the notification rule to delete. |
list_case_types List Case Types
Retrieve all available case types in the system. Use this to populate case type selections or understand the case taxonomy.
create_case_type Create Case Type
Create a new case type to categorize and organize cases within your system. Case types help structure case management workflows and reporting.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the case type. This is the primary identifier displayed throughout the system. |
type * | string | The resource type identifier for this case type. |
description | string | A detailed description of the case type's purpose and usage. |
emoji | string | An emoji icon to visually represent this case type in the user interface. |
list_custom_attributes List Custom Attributes
Retrieve all custom attributes available for case types. This returns the complete set of custom attribute definitions that can be applied to cases.
delete_case_type Delete Case Type
Permanently delete a case type by its UUID. This action cannot be undone and will remove the case type from the system.
| Parameter | Type | Description |
|---|---|---|
case_type_id * | string | The unique identifier (UUID) of the case type to delete. |
list_custom_attributes_by_case_type List Custom Attributes by Case Type
Retrieve all custom attribute configurations for a specific case type. Returns the complete set of custom attributes defined for the given case type.
| Parameter | Type | Description |
|---|---|---|
case_type_id * | string | The unique identifier (UUID) of the case type for which to retrieve custom attribute configurations. |
create_case_type_custom_attribute Create Case Type Custom Attribute
Create a custom attribute configuration for a specific case type. Custom attributes extend case records with user-defined fields such as text, numbers, URLs, or dropdown selections.
| Parameter | Type | Description |
|---|---|---|
attributesType * | string | The data type of the custom attribute, determining how values are stored and validated. |
case_type_id * | string | The unique identifier (UUID) of the case type to which this custom attribute will be added. |
dataType * | string | The JSON:API resource type identifier for custom attribute configurations. |
display_name * | string | The human-readable name for this custom attribute as it will appear in the user interface. |
is_multi * | boolean | Indicates whether this custom attribute can hold multiple values simultaneously or only a single value. |
key * | string | The machine-readable identifier for this custom attribute, used as the search key and in API operations. |
description | string | A detailed explanation of the custom attribute's purpose and usage guidelines. |
delete_custom_attribute Delete Custom Attribute
Remove a custom attribute configuration from a specific case type. This permanently deletes the attribute definition and its associated settings.
| Parameter | Type | Description |
|---|---|---|
case_type_id * | string | The unique identifier (UUID) of the case type containing the custom attribute to delete. |
custom_attribute_id * | string | The unique identifier (UUID) of the custom attribute configuration to delete. |
get_case Get Case
Retrieve detailed information about a specific case using its UUID or key identifier. Returns all case metadata and current status.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier for the case, either as a UUID or case key. |
archive_case Archive Case
Archive a case to remove it from active workflow while preserving its data for historical reference. Archived cases can be retrieved but are excluded from standard case listings.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier of the case to archive, provided as either a UUID or case key. |
type * | string | The resource type identifier for this operation, which must be set to 'case' to specify the target resource. |
assign_case Assign Case
Assign a case to a specific user. The case will be associated with the assignee and marked as assigned in the system.
| Parameter | Type | Description |
|---|---|---|
assignee_id * | string | The UUID of the user to assign the case to. |
case_id * | string | The unique identifier (UUID or key) of the case to assign. |
type * | string | The resource type identifier for this operation. |
update_case_attributes Update Case Attributes
Update one or more attributes for a specific case. Attributes are custom fields that store additional case metadata and can be modified independently.
| Parameter | Type | Description |
|---|---|---|
attributes * | object | An object containing the case attributes to update. Each key-value pair represents an attribute name and its new value. |
case_id * | string | The unique identifier of the case to update, provided as either a UUID or case key. |
type * | string | The resource type identifier for this operation, which specifies that the target is a case object. |
add_case_comment Add Case Comment
Add a comment to a case. Comments are attached to the case record and visible to all users with access to that case.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier of the case, either as a UUID or case key. |
comment * | string | The text content of the comment to be added to the case. |
type * | string | The resource type identifier for this operation. |
remove_case_comment Remove Case Comment
Remove a comment from a case's timeline. This permanently deletes the specified comment associated with the given case.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier (UUID or key) of the case containing the comment to delete. |
cell_id * | string | The unique identifier (UUID) of the timeline cell containing the comment to delete. |
update_case_custom_attribute Update Case Custom Attribute
Update a custom attribute value for a specific case. Custom attributes can store various data types including text, numbers, URLs, and select options.
| Parameter | Type | Description |
|---|---|---|
attributesType * | string | The data type of the custom attribute, which determines the format and validation rules for the value. |
case_id * | string | The unique identifier or key of the case to update. |
custom_attribute_key * | string | The key identifier of the custom attribute to update on the case. |
dataType * | string | The resource type identifier for the case object. |
is_multi * | boolean | Indicates whether the custom attribute value is an array. When true, the value parameter must be provided as an array; when false, provide a single value. |
value * | The value to assign to the custom attribute. The format depends on the attribute type and is_multi setting: provide a single value or an array of values accordingly. |
remove_case_custom_attribute Remove Case Custom Attribute
Remove a custom attribute from a case by its key. This operation permanently deletes the specified custom attribute associated with the case.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier of the case, either as a UUID or case key. |
custom_attribute_key * | string | The key identifying which custom attribute to delete from the case. |
update_case_description Update Case Description
Update the description text for a specific case. This allows you to modify case details and notes after creation.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier of the case to update, either as a UUID or case key. |
description * | string | The new description text for the case. This replaces the existing description. |
type * | string | The resource type identifier for this operation. |
update_case_priority Update Case Priority
Update the priority level of a case. Priority levels range from NOT_DEFINED to P1 (highest) through P5 (lowest).
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier of the case to update, either as a UUID or case key. |
priority * | string | The priority level to assign to the case. P1 is the highest priority, P5 is the lowest, and NOT_DEFINED indicates no priority is set. |
type * | string | The resource type identifier for this operation, which must be set to 'case'. |
link_incident_to_case Link Incident to Case
Associate an incident with a case to establish a relationship between the two resources. This enables tracking of related incidents within a case context.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier (UUID or key) of the case to which the incident will be linked. |
id * | string | The unique identifier of the incident to be linked to the case. |
type * | string | The resource type identifier for the incident being linked. |
create_and_link_jira_issue Create and Link Jira Issue
Create a new Jira issue and link it to a case, establishing a connection between the case management system and Jira project tracking.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The UUID or key identifier of the case to link the Jira issue to. |
issue_type_id * | string | The Jira issue type ID that determines the category of issue to create (e.g., Bug, Task, Story). |
jira_account_id * | string | The Jira account ID that identifies which Jira workspace or instance to create the issue in. |
project_id * | string | The Jira project ID where the new issue will be created. |
type * | string | The resource type identifier for Jira issues. |
fields | object | Optional custom Jira fields to include when creating the issue. Provide as a JSON object with field keys and their values. |
link_jira_issue Link Jira Issue to Case
Link an existing Jira issue to a case to establish a relationship between the two systems. This enables tracking and cross-referencing between case management and Jira issue tracking.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier or key of the case to link the Jira issue to. |
jira_issue_url * | string | The full URL of the Jira issue to link to the case. |
type * | string | The resource type identifier for the Jira issue. |
remove_jira_issue_link Remove Jira Issue Link
Remove the link between a Jira issue and a case. This operation disconnects an associated Jira issue from the specified case.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier of the case, provided as either a UUID or case key. |
create_case_notebook Create Case Notebook
Create a new investigation notebook and link it to a case. The notebook serves as a dedicated space for documenting investigation findings and notes related to the case.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier (UUID or key) of the case to which the notebook will be linked. |
type * | string | The resource type identifier for the notebook being created. |
assign_case_to_project Assign Case to Project
Assign or reassign a case to a different project. Updates the project relationship for the specified case.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier of the case to be reassigned, provided as either a UUID or case key. |
id * | string | The unique identifier of the project to assign the case to. |
type * | string | The resource type identifier for the project relationship. |
create_servicenow_ticket Create ServiceNow Ticket
Create a new ServiceNow incident ticket and link it to an existing case. The ticket will be created in the specified ServiceNow instance and optionally assigned to a group.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier (UUID or key) of the case to link the ServiceNow ticket to. |
instance_name * | string | The name of the ServiceNow instance where the ticket will be created. |
type * | string | The resource type for the ServiceNow ticket being created. |
assignment_group | string | The ServiceNow assignment group that will be responsible for the ticket. If not specified, the ticket will be created without an initial assignment. |
update_case_status Update Case Status
Update the status of a case to a valid status type for that case. The new status must be one of the predefined statuses available for the case's type.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier of the case to update, provided as a UUID or case key. |
type * | string | The resource type identifier, which must be 'case' for this operation. |
status_name | string | The new status to assign to the case. Must be a valid status defined for this case type. |
update_case_title Update Case Title
Update the title of an existing case. Provide the case identifier and the new title to modify.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier of the case to update, either as a UUID or case key. |
title * | string | The new title for the case. |
type * | string | The resource type identifier for this operation. |
unarchive_case Unarchive Case
Restore an archived case to active status. This operation reverses a previous archive action, making the case accessible for normal operations.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier of the case to unarchive, provided as either a UUID or case key. |
type * | string | The resource type being unarchived, which must be 'case' for this operation. |
unassign_case Unassign Case
Remove the current assignment from a case, making it available for reassignment. This operation clears the case's assigned user or team.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier of the case to unassign, provided as a UUID or case key. |
type * | string | The resource type identifier for the case object. |
list_catalog_entities List Catalog Entities
Retrieve a paginated list of entities from the Software Catalog with optional filtering by reference, kind, owner, and relationships. Optionally includes discovered services from APM and USM that lack formal entity definitions.
| Parameter | Type | Description |
|---|---|---|
filterexclude_snapshot | string | Exclude snapshotted entities from the results when enabled. |
filterkind | string | Filter results to entities of a specific kind or type. |
filterowner | string | Filter results to entities owned by a specific owner or team. |
filterref | string | Filter results to entities matching a specific reference identifier (e.g., service:shopping-cart). |
filterrelationtype | string | Filter results by the type of relationship between entities. |
includeDiscovered | boolean | When enabled, includes discovered services from APM and USM monitoring that do not have formal entity definitions in the catalog. |
pagelimit | string | The maximum number of entities to return in a single response page. |
pageoffset | string | The starting position for the returned page of results, useful for pagination. |
upsert_catalog_entity Upsert Catalog Entity
Create or update an entity in the Software Catalog. Use this operation to add new entities or modify existing ones with their complete configuration.
| Parameter | Type | Description |
|---|---|---|
apiVersion * | string | The API version specifying the schema and behavior of the catalog entity request. |
kind * | string | The entity type or kind (e.g., service, component, resource) that defines the catalog entity schema. |
metadata * | object | Metadata about the entity including name, description, tags, and ownership information. |
datadog | object | Datadog-specific configuration and settings for the entity. |
extensions | object | Custom extensions for client-side metadata. This free-form field allows you to attach additional context without affecting Datadog features. |
integrations | object | Integration configurations associated with the entity. |
spec | object | Entity-specific configuration and properties that define its behavior and characteristics. |
preview_catalog_entities Preview Catalog Entities
Generate a preview of catalog entities to visualize how they will appear or be processed. This operation allows you to validate entity configurations before committing them to the catalog.
delete_catalog_entity Delete Catalog Entity
Permanently delete a single entity from the Software Catalog. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
entity_id * | string | The unique identifier of the entity to delete, specified as either a UUID or an entity reference string. |
list_catalog_kinds List Catalog Kinds
Retrieve a paginated list of entity kinds available in the Software Catalog. Use pagination parameters to control the number of results and starting position.
| Parameter | Type | Description |
|---|---|---|
pagelimit | string | The maximum number of entity kinds to return in a single response. Adjust this value to balance between response size and number of requests needed. |
pageoffset | string | The starting position for the returned page of results. Use this to implement pagination by specifying where in the full result set to begin. |
upsert_catalog_kind Upsert Catalog Kind
Create a new kind or update an existing kind in the Software Catalog. Use this operation to define or modify catalog kind configurations.
| Parameter | Type | Description |
|---|---|---|
body * | Request payload containing the kind configuration to create or update. Should include all required fields for the kind definition. |
delete_kind Delete Kind
Delete a single entity kind from the Software Catalog. This operation permanently removes the specified kind and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
kind_id * | string | The unique identifier of the entity kind to delete. |
list_catalog_relations List Catalog Relations
Retrieve a paginated list of entity relations from the Software Catalog, with optional filtering by relation type, source entity, or target entity. Optionally includes relationships discovered through APM and USM integrations.
| Parameter | Type | Description |
|---|---|---|
filterfrom_ref | string | Filter results to only relations where the source entity matches the specified reference. Use the format entity-type:entity-name. |
filterto_ref | string | Filter results to only relations where the target entity matches the specified reference. Use the format entity-type:entity-name. |
filtertype | string | Filter results to only relations of a specific type, such as ownership, dependency, composition, or implementation relationships. |
includeDiscovered | boolean | When enabled, includes relationships that were automatically discovered by APM and USM monitoring tools, in addition to manually defined relations. |
pagelimit | string | The maximum number of relations to return in a single response. Adjust to balance between payload size and number of requests needed. |
pageoffset | string | The starting position for the returned page of results. Use this to paginate through large result sets. |
create_change_request Create Change Request
Create a new change request to manage and track planned changes in your system. Specify the change details, risk level, timeline, and teams requiring approval.
| Parameter | Type | Description |
|---|---|---|
title * | string | Brief title summarizing the change request. |
type * | string | Resource type identifier for this change request. |
change_request_linked_incident_uuid | string | UUID of an incident to link with this change request for traceability. |
change_request_maintenance_window_query | string | Query string to identify the maintenance window associated with this change request. |
change_request_plan | string | Detailed implementation plan describing the steps to execute the change. |
change_request_risk | string | Risk level assessment for the change request. |
change_request_type | string | Classification of the change request type. |
description | string | Detailed description explaining the purpose and scope of the change. |
end_date | string | Planned end date and time for the change implementation. |
project_id | string | UUID of the project to associate with this change request. |
requested_teams | array | List of team handles to request approval decisions from. Teams are processed in the order provided. |
start_date | string | Planned start date and time for the change implementation. |
get_change_request Get Change Request
Retrieve the complete details of a specific change request using its unique identifier. This operation provides access to all change request information including status, timeline, and associated metadata.
| Parameter | Type | Description |
|---|---|---|
change_request_id * | string | The unique identifier of the change request to retrieve. |
update_change_request Update Change Request
Update properties of an existing change request, including its plan, risk level, type, and scheduled dates. Use this to modify change request details after creation.
| Parameter | Type | Description |
|---|---|---|
change_request_id * | string | The unique identifier of the change request to update. |
data * | array | Array of decision relationship data objects defining the relationships and dependencies for this change request. |
type * | string | The resource type identifier for this request, must be set to 'change_request'. |
change_request_plan | string | The implementation plan for the change request describing how the change will be executed. |
change_request_risk | string | The risk level associated with this change request, ranging from low to high impact. |
change_request_type | string | The classification of the change request indicating its urgency and approval pathway. |
end_date | string | The planned completion date and time for the change request in ISO 8601 format. |
included | array | Optional array of related resources to include in the change request update, such as associated tasks or approvals. |
start_date | string | The planned start date and time for the change request in ISO 8601 format. |
create_change_request_branch Create Change Request Branch
Create a new branch in a repository associated with a change request. This branch will be used to track and manage changes for the specified change request.
| Parameter | Type | Description |
|---|---|---|
branch_name * | string | The name for the new branch to be created in the repository. |
change_request_id * | string | The unique identifier of the change request (e.g., CHM-1234). |
repo_id * | string | The repository identifier in owner/repository format (e.g., DataDog/dd-source). |
type * | string | The resource type identifier for this change request branch. |
update_change_request_decision Update Change Request Decision
Update a decision on a change request to approve, decline, or modify its status. This operation allows you to record and manage decision outcomes throughout the change request lifecycle.
| Parameter | Type | Description |
|---|---|---|
change_request_id * | string | The unique identifier of the change request being updated. |
data * | array | Array of decision relationship data objects that define the decision details and associations. Order is significant and represents the decision hierarchy or sequence. |
decision_id * | string | The unique identifier of the specific decision record to update within the change request. |
type * | string | The resource type identifier for this change request update operation. |
included | array | Optional array of related resources to include in the response, such as associated change request metadata or decision history records. |
remove_change_request_decision Remove Change Request Decision
Remove a decision from a change request. This operation permanently deletes the specified decision record associated with the change request.
| Parameter | Type | Description |
|---|---|---|
change_request_id * | string | The unique identifier of the change request containing the decision to be removed. |
decision_id * | string | The unique identifier of the decision to be removed from the change request. |
send_pipeline_event Send Pipeline Event
Send one or more pipeline events to Datadog to track CI/CD pipeline executions. Events can be submitted with timestamps up to 18 hours in the past, with a maximum duration of 1 year between start and end times.
aggregate_pipeline_events Aggregate Pipeline Events
Aggregate CI pipeline events into time-based buckets with computed metrics and timeseries data. Use this to analyze pipeline performance and trends over a specified time range.
| Parameter | Type | Description |
|---|---|---|
compute | array | List of metrics or timeseries to compute for each aggregated bucket (e.g., duration, success rate, throughput). |
from | string | Start time for the aggregation window. Accepts ISO 8601 dates, math expressions (e.g., now-15m), or millisecond timestamps. |
group_by | array | Grouping rules for bucketing aggregated data. Specify dimensions to group results by (e.g., branch, status, environment). |
to | string | End time for the aggregation window. Accepts ISO 8601 dates, math expressions (e.g., now), or millisecond timestamps. |
list_pipeline_events List Pipeline Events
Retrieve CI Visibility pipeline events matching a search query with pagination support. Use this endpoint to view your latest pipeline events filtered by provider, pipeline name, and time range.
| Parameter | Type | Description |
|---|---|---|
filterfrom | string | Earliest timestamp to include in results. Events before this time are excluded. |
filterquery | string | Search query to filter pipeline events using CI Visibility search syntax (e.g., filter by provider name, pipeline name, or other event attributes). |
filterto | string | Latest timestamp to include in results. Events after this time are excluded. |
pagelimit | string | Maximum number of events to return in a single response page. Useful for controlling response size and implementing pagination. |
search_pipeline_events Search Pipeline Events
Search CI Visibility pipeline events using a search query to filter and retrieve matching events. Results are paginated to handle large datasets efficiently.
| Parameter | Type | Description |
|---|---|---|
from | string | Start of the time range for events. Accepts relative times (e.g., now-15m), math expressions, or absolute timestamps in milliseconds. |
limit | string | Maximum number of events to return in a single response. Use pagination to retrieve additional results. |
to | string | End of the time range for events. Accepts relative times, math expressions, or absolute timestamps in milliseconds. |
retrieve_test_optimization_settings Retrieve Test Optimization Settings
Retrieve Test Optimization settings for a specific service. Requires the repository identifier, service name, and optionally an environment name to fetch the corresponding configuration.
| Parameter | Type | Description |
|---|---|---|
repository_id * | string | The repository identifier in the format of version control provider and repository path. |
service_name * | string | The name of the service for which to retrieve Test Optimization settings. |
type * | string | JSON:API resource type identifier for this request. This value is required and must be set to the specified constant. |
env | string | The environment name for which to retrieve settings. Defaults to 'none' if not specified. |
configure_test_optimization_settings Configure Test Optimization Settings
Configure Test Optimization settings for a service within a specific repository and environment. Only provided fields are updated; omitted fields remain unchanged.
| Parameter | Type | Description |
|---|---|---|
repository_id * | string | The repository identifier in the format 'host/owner/repo'. |
service_name * | string | The name of the service within the repository. |
type * | string | The JSON:API resource type identifier for this request. |
auto_test_retries_enabled | boolean | Enable or disable automatic retry of failed tests for this service. |
code_coverage_enabled | boolean | Enable or disable code coverage tracking for this service. |
early_flake_detection_enabled | boolean | Enable or disable early detection of flaky tests for this service. |
env | string | The deployment environment for this service. Defaults to 'none' if not specified. |
failed_test_replay_enabled | boolean | Enable or disable replay of failed tests for debugging and analysis. |
pr_comments_enabled | boolean | Enable or disable automated comments on pull requests with test optimization insights. |
test_impact_analysis_enabled | boolean | Enable or disable test impact analysis to identify which tests are affected by code changes. |
delete_test_optimization_settings Delete Test Optimization Settings
Remove Test Optimization settings for a specific service. Deletes configuration associated with the given repository, service name, and environment.
| Parameter | Type | Description |
|---|---|---|
repository_id * | string | The unique identifier for the repository containing the service. |
service_name * | string | The name of the service for which to delete Test Optimization settings. |
type * | string | The JSON:API resource type identifier for this delete request. |
env | string | The environment name where the service is deployed. Defaults to `none` if not specified. |
aggregate_test_events Aggregate Test Events
Aggregate CI Visibility test events into time-based buckets with computed metrics and timeseries data. Use this to analyze test performance trends and patterns across your CI pipeline.
| Parameter | Type | Description |
|---|---|---|
compute | array | List of metrics or timeseries to compute for each aggregated bucket (e.g., pass rate, duration, failure count). Order may affect result structure. |
from | string | Start of the time range for events. Accepts ISO 8601 dates, relative expressions (e.g., now-15m), or millisecond timestamps. |
group_by | array | Rules for grouping aggregated results by dimensions (e.g., test suite, branch, status). Order determines grouping hierarchy. |
to | string | End of the time range for events. Accepts ISO 8601 dates, relative expressions (e.g., now), or millisecond timestamps. |
list_test_events List Test Events
Retrieve CI Visibility test events matching a search query with pagination support. Use this endpoint to view your latest test events filtered by name, suite, timestamp, and other criteria.
| Parameter | Type | Description |
|---|---|---|
filterfrom | string | Minimum timestamp (inclusive) for filtering test events. Specify in ISO 8601 format. |
filterquery | string | Search query to filter test events using log syntax. Supports filtering by test name, suite, and other test attributes. |
filterto | string | Maximum timestamp (inclusive) for filtering test events. Specify in ISO 8601 format. |
pagelimit | string | Maximum number of test events to return per page. Defaults to 10 if not specified. |
search_test_events Search Test Events
Search CI Visibility test events using a search query to filter results. Results are paginated and can be used to build complex event filtering.
| Parameter | Type | Description |
|---|---|---|
from | string | Start of the time range for events. Accepts relative times (e.g., now-15m), math expressions, or absolute timestamps in milliseconds. |
limit | string | Maximum number of events to return in the response. |
to | string | End of the time range for events. Accepts relative times, math expressions, or absolute timestamps in milliseconds. |
get_aws_persona_mapping Get AWS Persona Mapping
Retrieve a specific AWS cloud authentication persona mapping by ID. This returns the configuration that associates an AWS IAM principal with a Datadog user.
| Parameter | Type | Description |
|---|---|---|
persona_mapping_id * | string | The unique identifier of the AWS persona mapping to retrieve. |
create_custom_framework Create Custom Framework
Create a new custom security framework with specified requirements, metadata, and branding. This framework can be used to define and track custom security compliance standards.
| Parameter | Type | Description |
|---|---|---|
handle * | string | A unique identifier for the framework used in API references and system operations. |
name * | string | A human-readable name for the framework displayed in user interfaces. |
requirements * | array | An ordered array of requirement objects that define the controls, standards, or compliance items within this framework. Each requirement should specify its identifier, description, and any associated… |
type * | string | The resource type identifier, which must be set to 'custom_framework' for this operation. |
version * | string | The semantic version number of the framework, used to track updates and changes over time. |
description | string | A detailed description of the framework's purpose, scope, and intended use. |
icon_url | string | URL pointing to an icon or logo image representing the framework visually. |
get_custom_framework Get Custom Framework
Retrieve a specific version of a custom security framework by its handle. Use this to access framework details, rules, and configurations for a particular version.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The unique identifier for the custom framework. This handle is used to reference the framework across API operations. |
version * | string | The specific version of the custom framework to retrieve. Versions allow you to manage multiple iterations of the same framework. |
update_custom_framework Update Custom Framework
Update an existing custom security framework with new metadata, requirements, and configuration. Specify the framework by its handle and version.
| Parameter | Type | Description |
|---|---|---|
attributesHandle * | string | The framework handle identifier that uniquely identifies this framework within your organization. |
attributesVersion * | string | The version number to assign to the updated framework. |
handle * | string | The unique identifier of the custom framework to update. |
name * | string | The display name of the custom framework. |
requirements * | array | An ordered list of security requirements or controls that this framework enforces. Order may indicate priority or logical grouping. |
type * | string | The resource type identifier for this object. |
version * | string | The version number of the framework being updated. |
description | string | A detailed description of the framework's purpose, scope, and usage guidelines. |
icon_url | string | URL pointing to an icon or logo image representing the framework visually. |
delete_custom_framework Delete Custom Framework
Delete a specific version of a custom security framework. This operation permanently removes the framework configuration and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The unique identifier for the custom framework to delete. |
version * | string | The specific version of the framework to delete. Versions are typically semantic (e.g., 1.0.0) or numeric identifiers. |
list_resource_evaluation_filters List Resource Evaluation Filters
Retrieve available resource evaluation filters for cloud security management, optionally filtered by cloud provider and account ID.
| Parameter | Type | Description |
|---|---|---|
account_id | string | Filter results by cloud provider account ID. Only valid when cloud_provider parameter is specified. |
cloud_provider | string | Filter results by cloud provider (e.g., aws, gcp, azure). When specified, enables account_id filtering for that provider. |
update_resource_filters Update Resource Filters
Update cloud security management resource filters to control which cloud resources are evaluated based on provider-specific account IDs and tag filters.
| Parameter | Type | Description |
|---|---|---|
cloud_provider * | object | A mapping of cloud provider names to their respective account/resource IDs and associated tag filters for resource evaluation. |
type * | string | The request type identifier for cloud security management resource filters. |
uuid | string | The unique identifier of the resource filter to update. |
get_branch_coverage_summary Get Branch Coverage Summary
Retrieve aggregated code coverage statistics for a specific branch, including overall metrics and breakdowns by service and code owner.
| Parameter | Type | Description |
|---|---|---|
branch * | string | The name of the branch to retrieve coverage data for. |
repository_id * | string | The unique identifier of the repository in the format of version control provider and organization/repository name. |
type * | string | The JSON:API type identifier for this request. This value specifies the resource type being requested. |
get_commit_coverage_summary Get Commit Coverage Summary
Retrieve aggregated code coverage statistics for a specific commit, including overall metrics and breakdowns by service and code owner.
| Parameter | Type | Description |
|---|---|---|
commit_sha * | string | The commit SHA as a 40-character hexadecimal string (SHA-1 hash). |
repository_id * | string | The repository identifier (e.g., GitHub organization/repository name). |
type * | string | JSON:API type identifier for the commit coverage summary request. |
list_container_images List Container Images
Retrieve all container images for your organization with optional filtering and grouping. Use the security scanned assets endpoint to enrich results with security scan data.
| Parameter | Type | Description |
|---|---|---|
filtertags | string | Filter container images by one or more tags. Provide tags as a comma-separated list in key:value format. |
group_by | string | Group results by one or more tag keys. Provide tag keys as a comma-separated list to organize the returned container images. |
pagesize | string | Maximum number of container images to return per request. Useful for pagination control. |
list_containers List Containers
Retrieve all containers in your organization with optional filtering by tags and grouping capabilities. Results are paginated with a configurable page size.
| Parameter | Type | Description |
|---|---|---|
filtertags | string | Filter containers by one or more tags using comma-separated key:value pairs to narrow results to specific environments, services, or other attributes. |
group_by | string | Group results by one or more tag keys in comma-separated format to organize containers hierarchically by the specified attributes. |
pagesize | string | Maximum number of containers to return per page. Supports pagination for large result sets. |
list_allocation_rules List Allocation Rules
Retrieve all custom allocation rules configured for your organization. Use this to view existing cost allocation rules and their configurations.
create_allocation_rule Create Allocation Rule
Create a new custom cost allocation rule that distributes costs across resources using proportional, even, timeseries, or percentage-based strategies with flexible filtering options.
| Parameter | Type | Description |
|---|---|---|
attributesType * | string | Resource type classification for this allocation rule. Defines the category of costs being allocated. |
costs_to_allocate * | array | Array of cost types or cost categories to allocate using this rule. Specifies which costs are subject to the allocation strategy. |
dataType * | string | API resource type identifier for upserting this allocation rule. |
method * | string | Allocation strategy method. Choose PROPORTIONAL or EVEN for cost-based allocation, PROPORTIONAL_TIMESERIES or EVEN_TIMESERIES for metric-based allocation, or PERCENT for fixed percentage distribution. |
provider * | array | Array of cloud providers this rule applies to (e.g., AWS, Azure, GCP). Rule only processes costs from specified providers. |
rule_name * | string | Human-readable name for this allocation rule. Used for identification and reporting. |
allocated_by | array | Array of percentage allocations for PERCENT strategy method. Each entry specifies a tag and its allocation percentage. |
allocated_by_tag_keys | array | Array of tag keys to allocate costs by. Costs are distributed across resources grouped by these tag dimensions. |
based_on_timeseries | object | Timeseries data source configuration for PROPORTIONAL_TIMESERIES or EVEN_TIMESERIES methods. Defines the metric and time period for allocation calculations. |
enabled | boolean | Whether this allocation rule is active and should be applied to cost calculations. |
evaluate_grouped_by_filters | array | Array of filter conditions to group costs during evaluation. Filters are applied before allocation to narrow the cost scope. |
evaluate_grouped_by_tag_keys | array | Array of tag keys to group costs by during evaluation. Used with PROPORTIONAL_TIMESERIES and EVEN_TIMESERIES methods to segment allocation calculations. |
granularity | string | Time granularity for cost allocation calculations. Determines whether costs are allocated daily, monthly, or at another interval. |
order_id | string | Numeric priority order for rule evaluation when multiple rules apply. Lower values execute first. |
rejected | boolean | Whether this rule has been rejected and should not be applied. |
reorder_allocation_rules Reorder Allocation Rules
Reorder custom allocation rules to change their execution priority. Rules execute in the order specified, with earlier positions having higher priority.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of allocation rule objects in the desired execution order. Must include all rule IDs currently in the system. Rules are executed sequentially from first to last position in this array. |
retrieve_allocation_rule Retrieve Allocation Rule
Retrieve a specific custom allocation rule by its unique identifier. Use this to fetch details about an existing allocation rule for review or modification.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the custom allocation rule to retrieve. |
update_allocation_rule Update Allocation Rule
Update an existing custom cost allocation rule with new filters, allocation strategy, and configuration. Supports multiple allocation methods including proportional, even, percentage-based, and usage metric strategies.
| Parameter | Type | Description |
|---|---|---|
attributesType * | string | The resource type for the allocation rule attributes. Identifies the schema version and structure of the rule configuration. |
costs_to_allocate * | array | Array of cost types to allocate (e.g., compute, storage, network). Specifies which cost categories this rule applies to. |
dataType * | string | The resource type identifier for the API request. Must be set to upsert_arbitrary_rule. |
method * | string | The allocation strategy method. Choose from: PROPORTIONAL (allocate by existing costs), EVEN (equal distribution), PROPORTIONAL_TIMESERIES (allocate by timeseries metric), EVEN_TIMESERIES (equal distr… |
provider * | array | Array of cloud providers this rule applies to (e.g., aws, azure, gcp). Rule only processes costs from specified providers. |
rule_id * | string | The unique identifier of the allocation rule to update. |
rule_name * | string | Human-readable name for the allocation rule. Used for identification and reporting. |
allocated_by | array | Array of percentage allocations for PERCENT strategy method. Each entry specifies a tag and its allocation percentage. |
allocated_by_tag_keys | array | Array of tag keys to allocate costs by. Costs are distributed across resources grouped by these tags. |
based_on_timeseries | object | Timeseries data configuration for PROPORTIONAL_TIMESERIES or EVEN_TIMESERIES methods. Defines the metric and time period for allocation calculations. |
enabled | boolean | Whether the allocation rule is active and should be applied to cost calculations. |
evaluate_grouped_by_filters | array | Array of filter conditions to group costs during evaluation. Filters are applied before allocation calculations. |
evaluate_grouped_by_tag_keys | array | Array of tag keys to group costs by during evaluation. Used to segment costs before applying the allocation strategy. |
granularity | string | Time granularity for cost allocation calculations. Determines whether costs are allocated daily, monthly, or at another interval. |
order_id | string | Execution order for this rule relative to other allocation rules. Lower values execute first. |
rejected | boolean | Whether the rule has been rejected or marked as invalid during validation. |
delete_allocation_rule Delete Allocation Rule
Delete a custom allocation rule by its unique identifier. This operation permanently removes the specified allocation rule from the system.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the custom allocation rule to delete. |
list_aws_cur_configs List AWS CUR Configs
Retrieve all AWS Cost and Usage Report (CUR) configurations for Cloud Cost Management. This operation lists the configured AWS CUR data sources used for cost analysis and reporting.
create_aws_cur_config Create AWS CUR Config
Create a Cloud Cost Management configuration for AWS Cost and Usage Reports (CUR). This sets up billing data collection from a specified S3 bucket and configures which AWS accounts to include in the dataset.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The AWS account ID that owns the CUR configuration and S3 bucket. |
bucket_name * | string | The name of the S3 bucket where AWS Cost and Usage Reports are stored. |
report_name * | string | The name of the Cost and Usage Report as configured in AWS. |
report_prefix * | string | The S3 path prefix where the Cost and Usage Report files are stored within the bucket. |
type * | string | The configuration type for this AWS CUR setup request. |
bucket_region | string | The AWS region where the S3 bucket is located. |
excluded_accounts | array | List of AWS account IDs to exclude from billing data collection. Only applicable when automatically including new member accounts. |
include_new_accounts | boolean | When enabled, automatically includes new member accounts in the billing dataset by default. Use excluded_accounts to specify exceptions. |
included_accounts | array | List of AWS account IDs to include in billing data collection. Only used when automatically including new accounts is disabled. |
months | string | Number of months of historical billing data to retrieve. Maximum of 36 months. |
get_aws_cur_config Get AWS CUR Config
Retrieve the AWS Cost and Usage Report (CUR) configuration for a specific cloud account. This returns the current CUR setup details needed for cost analysis.
| Parameter | Type | Description |
|---|---|---|
cloud_account_id * | string | The unique identifier of the cloud account whose CUR configuration should be retrieved. |
update_aws_cur_config Update AWS CUR Config
Update the AWS CUR configuration for a cloud account, including its active status and AWS account filtering settings.
| Parameter | Type | Description |
|---|---|---|
cloud_account_id * | string | The unique identifier of the cloud account whose CUR configuration should be updated. |
type * | string | The type of configuration update request being submitted. |
excluded_accounts | array | List of AWS account IDs to exclude from the billing dataset. Used only when automatic inclusion of new accounts is enabled. |
include_new_accounts | boolean | Whether to automatically include new member accounts in the billing dataset by default. |
included_accounts | array | List of AWS account IDs to include in the billing dataset. Used only when automatic inclusion of new accounts is disabled. |
is_enabled | boolean | Whether the Cloud Cost Management account is active and processing billing data. |
delete_aws_cur_config Delete AWS CUR Config
Delete and archive a Cloud Cost Management AWS CUR (Cost and Usage Report) configuration for the specified cloud account.
| Parameter | Type | Description |
|---|---|---|
cloud_account_id * | string | The unique identifier of the cloud account whose AWS CUR configuration should be deleted. |
list_azure_cost_configs List Azure Cost Configs
Retrieve all Azure Cloud Cost Management configurations. Returns a list of configured Azure cost tracking settings.
create_azure_cost_config Create Azure Cost Configuration
Configure Azure cloud cost management by linking an Azure subscription with billing export details. This enables Datadog to ingest and analyze actual and amortized cost data from your Azure environment.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The tenant ID (directory ID) of your Azure account, used to identify the Azure subscription being configured. |
actual_bill_configExport_name * | string | The name of the Azure Export configured for actual (unblended) billing costs. |
actual_bill_configExport_path * | string | The storage path where actual billing cost exports are saved within the storage container. |
actual_bill_configStorage_account * | string | The name of the Azure Storage Account where actual billing exports are stored. |
actual_bill_configStorage_container * | string | The name of the storage container within the storage account where actual billing exports are saved. |
amortized_bill_configExport_name * | string | The name of the Azure Export configured for amortized (blended) billing costs. |
amortized_bill_configExport_path * | string | The storage path where amortized billing cost exports are saved within the storage container. |
amortized_bill_configStorage_account * | string | The name of the Azure Storage Account where amortized billing exports are stored. |
amortized_bill_configStorage_container * | string | The name of the storage container within the storage account where amortized billing exports are saved. |
client_id * | string | The client ID (application ID) of the Azure service principal or application used to authenticate and access billing data. |
scope * | string | The Azure subscription scope in the format /subscriptions/{subscription-id}, defining which subscription's costs are managed. |
type * | string | The request type identifier for Azure unified cost configuration. |
get_azure_uc_config Get Azure UC Config
Retrieve the Azure Unified Consumption (UC) configuration for a specific cloud account. This returns the cost management settings and parameters associated with the Azure account.
| Parameter | Type | Description |
|---|---|---|
cloud_account_id * | string | The unique identifier of the Azure cloud account whose UC configuration you want to retrieve. |
toggle_azure_cost_config Toggle Azure Cost Config
Enable or disable an Azure Cloud Cost Management configuration. Use this operation to activate or archive cost tracking for a specific Azure cloud account.
| Parameter | Type | Description |
|---|---|---|
cloud_account_id * | string | The unique identifier of the Azure cloud account whose cost configuration should be updated. |
is_enabled * | boolean | Set to true to enable cost tracking for this Azure account, or false to disable it. |
type * | string | Specifies the type of Azure configuration patch request being submitted. |
delete_azure_uc_config Delete Azure UC Config
Delete a Cloud Cost Management Azure Unified Cost configuration for the specified cloud account. This operation archives the Azure cost management settings associated with the account.
| Parameter | Type | Description |
|---|---|---|
cloud_account_id * | string | The unique identifier of the cloud account whose Azure Unified Cost configuration should be deleted. |
upsert_budget Upsert Budget
Create a new budget or update an existing one to track costs against specified metrics. Use this operation to define budget thresholds and monitor spending across your organization.
| Parameter | Type | Description |
|---|---|---|
entries | array | An ordered list of monthly budget entries defining the budget allocation for each month. |
metrics_query | string | A cost query that defines which costs are tracked against this budget. Use the cost query syntax to filter by service, resource, or other dimensions. |
org_id | string | The organization ID that owns this budget. |
total_amount | number | The total budget amount across all entries. This is the sum of all individual monthly budget entry amounts. |
get_budget Get Budget
Retrieve detailed information about a specific budget by its ID. Use this to view budget details, limits, and current status.
| Parameter | Type | Description |
|---|---|---|
budget_id * | string | The unique identifier of the budget to retrieve. |
delete_budget Delete Budget
Permanently delete a budget by its ID. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
budget_id * | string | The unique identifier of the budget to delete. |
list_budgets List Budgets
Retrieve a list of all budgets in the cost management system. Use this operation to view budget configurations and their current status.
list_custom_costs_files List Custom Costs Files
Retrieve a paginated list of Custom Costs files with optional filtering by status. Use pagination parameters to control the number of results returned.
| Parameter | Type | Description |
|---|---|---|
filterstatus | string | Filter the Custom Costs files by their current status (e.g., pending, completed, failed). |
pagenumber | string | The page number to retrieve for pagination, starting from 1. |
pagesize | string | The number of Custom Costs files to return per page. |
upload_custom_costs Upload Custom Costs File
Upload a Custom Costs file to configure custom cost data for your account. The file should contain an array of cost entries in the expected format.
| Parameter | Type | Description |
|---|---|---|
body * | array | Array of custom cost entries to upload. Each entry represents a cost record with associated metadata. Order is preserved as submitted. |
fetch_custom_costs_file Fetch Custom Costs File
Retrieve a specific Custom Costs file by its unique identifier. Use this operation to access previously uploaded or generated cost data files.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the Custom Costs file to retrieve. |
delete_custom_costs_file Delete Custom Costs File
Permanently delete a Custom Costs file by its ID. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the Custom Costs file to delete. |
list_gcp_usage_cost_configs List GCP Usage Cost Configs
Retrieve all configured Google Cloud Usage Cost configurations. This lists the cost tracking setups for GCP resources.
create_gcp_usage_cost_config Create GCP Usage Cost Config
Create a Cloud Cost Management configuration for Google Cloud Platform usage cost tracking. This sets up the necessary integration between your GCP billing account and Datadog's cost analysis platform.
| Parameter | Type | Description |
|---|---|---|
billing_account_id * | string | The Google Cloud billing account identifier that will be monitored for usage costs. |
bucket_name * | string | The Google Cloud Storage bucket where usage cost export data will be stored. |
export_dataset_name * | string | The BigQuery dataset name where the usage cost report data will be exported. |
export_project_name * | string | The Google Cloud project name that hosts the usage cost report and export infrastructure. |
service_account * | string | The email address of the Google Cloud service account with permissions to access billing and export data. |
type * | string | The configuration type identifier for this Google Cloud usage cost setup request. |
export_prefix | string | Optional prefix for organizing exported usage cost report files within the storage bucket. |
get_gcp_usage_cost_config Get GCP Usage Cost Config
Retrieve the Google Cloud Usage Cost configuration for a specific cloud account. This returns the current cost tracking settings and parameters for GCP usage analysis.
| Parameter | Type | Description |
|---|---|---|
cloud_account_id * | string | The unique identifier of the Google Cloud account for which to retrieve the usage cost configuration. |
toggle_gcp_usage_cost_config Toggle GCP Usage Cost Config
Enable or disable Google Cloud Usage Cost tracking for a specific cloud account. This controls whether cost data collection and management is active for the associated GCP account.
| Parameter | Type | Description |
|---|---|---|
cloud_account_id * | string | The unique identifier of the cloud account to update. |
is_enabled * | boolean | Enable or disable cost management for this cloud account. When enabled, the system will actively track and manage GCP usage costs. |
type * | string | Specifies this request as a Google Cloud Usage Cost configuration patch operation. |
archive_gcp_usage_cost_config Archive GCP Usage Cost Config
Archive a Google Cloud Platform usage cost configuration for a specific cloud account. This operation removes the cost tracking setup from Cloud Cost Management.
| Parameter | Type | Description |
|---|---|---|
cloud_account_id * | string | The unique identifier of the cloud account whose GCP usage cost configuration should be archived. |
list_active_billing_dimensions List Active Billing Dimensions
Retrieve the active billing dimensions available for cost attribution and analysis. Cost data for a given month becomes available no later than the 19th of the following month.
list_monthly_cost_attribution List Monthly Cost Attribution
Retrieve monthly cost attribution by tag across multi-org and single root-org accounts. Cost data becomes available no later than the 19th of the following month. This endpoint supports pagination and is only accessible for parent-level organizations.
| Parameter | Type | Description |
|---|---|---|
fields * | string | Comma-separated list of cost metrics and proportions to retrieve. Use specific billing dimension names with suffixes like _on_demand_cost, _committed_cost, _total_cost, _percentage_in_org, or _percent… |
start_month * | string | The month to start retrieving cost data from, specified in YYYY-MM format (e.g., 2024-01). |
include_descendants | boolean | Whether to include costs from child organizations in the response. |
next_record_id | string | Pagination cursor from a previous response. Use this to retrieve the next page of results when the previous response indicates more data is available. |
sort_direction | string | The direction to sort results by total cost. |
sort_name | string | The billing dimension to sort by. Results are always sorted by total cost within the selected dimension. |
tag_breakdown_keys | string | Comma-separated list of tag keys to group costs by. If not provided, costs will not be broken down by tags. |
list_csm_agents List CSM Agents
Retrieve a paginated list of all CSM Agents currently running across your hosts and containers. Use pagination parameters to control result size and navigation.
| Parameter | Type | Description |
|---|---|---|
order_direction | string | Sort direction for the results. Specify ascending or descending order. |
page | string | Zero-based page index for pagination. Use this to navigate through result sets when combined with size parameter. |
size | string | Number of agents to return per page. Controls the maximum items in a single response. |
analyze_cloud_accounts_coverage Analyze Cloud Accounts Coverage
Retrieve the CSM coverage analysis for your cloud accounts, which measures security scanning coverage based on the number of accounts being scanned for security issues.
analyze_csm_hosts_and_containers_coverage Analyze CSM Hosts and Containers Coverage
Retrieve the Cloud Security Management (CSM) coverage analysis for your hosts and containers, calculated based on the number of agents running with CSM features enabled.
analyze_serverless_csm_coverage Analyze Serverless CSM Coverage
Retrieve the Cloud Service Management (CSM) coverage analysis for your serverless resources, calculated based on the number of agents running with CSM features enabled.
list_serverless_agents List Serverless Agents
Retrieve a paginated list of all CSM Serverless Agents currently running across your hosts and containers.
| Parameter | Type | Description |
|---|---|---|
order_direction | string | Sort direction for the results. Use ascending to sort from lowest to highest, or descending for highest to lowest. |
page | string | Zero-based page index for pagination. Use this to navigate through result sets. |
size | string | Number of agents to return per page. Controls the batch size of results in each response. |
list_application_keys_current_user List Current User Application Keys
Retrieve all application keys owned by the current user with optional pagination and date filtering.
| Parameter | Type | Description |
|---|---|---|
filtercreated_atend | string | Filter to include only application keys created on or before this date. Use ISO 8601 format with timezone. |
filtercreated_atstart | string | Filter to include only application keys created on or after this date. Use ISO 8601 format with timezone. |
pagenumber | string | Zero-indexed page number to retrieve. |
pagesize | string | Number of application keys to return per page. Maximum allowed is 100. |
create_application_key Create Application Key
Create a new application key for the current user with specified permissions. Application keys enable programmatic access to the API with granular scope-based access control.
| Parameter | Type | Description |
|---|---|---|
name * | string | A descriptive name for the application key to identify its purpose or associated application. |
type * | string | The resource type identifier for application keys. |
scopes | array | Array of permission scopes to grant this application key. Scopes control which API operations the key can perform. Order is not significant. |
get_application_key_current_user Get Current User Application Key
Retrieve a specific application key owned by the current user. Note that the key field is not returned for organizations in One-Time Read mode.
| Parameter | Type | Description |
|---|---|---|
app_key_id * | string | The unique identifier of the application key to retrieve. |
update_application_key_current_user Update Application Key for Current User
Update an application key owned by the current user, including modifying its scopes. The key value is not returned for organizations in One-Time Read mode.
| Parameter | Type | Description |
|---|---|---|
app_key_id * | string | The unique identifier of the application key to update. |
id * | string | The unique identifier of the application key resource. |
type * | string | The resource type identifier for application keys. |
scopes | array | List of scopes to grant to the application key. Scopes define the permissions and access levels for the key. |
delete_application_key_current_user Delete Application Key for Current User
Delete an application key owned by the current user. This operation permanently removes the specified application key and invalidates any authentication using that key.
| Parameter | Type | Description |
|---|---|---|
app_key_id * | string | The unique identifier of the application key to delete. |
list_dashboard_list_items List Dashboard List Items
Retrieve all dashboards contained within a specific dashboard list. Returns the dashboard definitions associated with the given dashboard list ID.
| Parameter | Type | Description |
|---|---|---|
dashboard_list_id * | string | The unique identifier of the dashboard list from which to retrieve dashboard items. |
add_dashboards_to_list Add Dashboards to List
Add one or more dashboards to an existing dashboard list. The dashboards will be appended to the list.
| Parameter | Type | Description |
|---|---|---|
dashboard_list_id * | string | The unique identifier of the dashboard list to add dashboards to. |
dashboards | array | Array of dashboard identifiers to add to the list. Order is preserved as provided. |
update_dashboard_list_dashboards Update Dashboard List Dashboards
Update the dashboards contained in a dashboard list. Replaces the current set of dashboards with the provided list.
| Parameter | Type | Description |
|---|---|---|
dashboard_list_id * | string | The unique identifier of the dashboard list to update. |
dashboards | array | An ordered array of dashboard objects to set as the new contents of the dashboard list. Each item represents a dashboard to include in the list. |
remove_dashboards_from_list Remove Dashboards from List
Remove one or more dashboards from an existing dashboard list. Specify the dashboard list and the dashboards to be deleted.
| Parameter | Type | Description |
|---|---|---|
dashboard_list_id * | string | The unique identifier of the dashboard list from which dashboards will be removed. |
dashboards | array | Array of dashboard identifiers to remove from the dashboard list. Order is not significant. |
list_datasets List Datasets
Retrieve all datasets that have been configured for your organization. This operation returns the complete list of available datasets.
create_dataset Create Dataset
Create a new dataset with specified access principals and product-specific filters. The dataset will be configured according to the provided parameters.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the dataset being created. |
principals * | array | List of access principals that control who can access this dataset. Each principal is formatted as `principal_type:id`, where principal_type is either 'team' or 'role', followed by the unique identifi… |
product_filters * | array | List of product-specific filters to apply to the dataset. Filters are applied in the order specified. |
type * | string | The resource type identifier for this object. |
get_dataset Get Dataset
Retrieves a specific dataset by its unique identifier. Use this operation to fetch detailed information about a dataset you have access to.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The unique identifier of the dataset to retrieve. |
update_dataset Update Dataset
Updates an existing dataset with new metadata, access principals, and product-specific filters. All fields must be provided to replace the current dataset configuration.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The unique identifier of the dataset to update. |
name * | string | The display name for the dataset. |
principals * | array | List of access principals that control who can access this dataset. Each principal is formatted as `principal_type:id` where principal_type is either 'team' or 'role'. |
product_filters * | array | List of product-specific filters to apply to this dataset. Filters are applied in the order specified. |
type * | string | The resource type identifier for this object. |
delete_dataset Delete Dataset
Permanently deletes a dataset and all associated data. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The unique identifier of the dataset to delete. |
list_deletion_requests List Deletion Requests
Retrieves a paginated list of data deletion requests with optional filtering by product and status. Use this to monitor and manage pending or completed data deletion operations.
| Parameter | Type | Description |
|---|---|---|
page_size | string | Number of results to return per page. Must be between 1 and 50. |
product | string | Filter results to show deletion requests for a specific product. |
status | string | Filter results to show deletion requests with a specific status. |
cancel_deletion_request Cancel Deletion Request
Cancels a pending data deletion request by its ID. This prevents the scheduled deletion from proceeding.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the deletion request to cancel. |
list_deployment_gates List Deployment Gates
Retrieve a paginated list of all deployment gates configured for your organization. Use pagination parameters to navigate through results.
| Parameter | Type | Description |
|---|---|---|
pagesize | string | Number of results to return per page. Valid range is 1 to 1000 results. |
create_deployment_gate Create Deployment Gate
Create a deployment gate to control and validate deployments for a specific service in a given environment. Optionally run in dry-run mode to test the gate without applying it.
| Parameter | Type | Description |
|---|---|---|
env * | string | The target environment where the deployment gate will be applied. |
service * | string | The service name that this deployment gate will protect or control. |
type * | string | The resource type identifier for this deployment gate. |
dry_run | boolean | Run the deployment gate in dry-run mode to validate configuration without applying it to the environment. |
list_deployment_gate_rules List Deployment Gate Rules
Retrieve all rules configured for a specific deployment gate. Rules define the conditions and criteria that must be satisfied before deployment can proceed.
| Parameter | Type | Description |
|---|---|---|
gate_id * | string | The unique identifier of the deployment gate for which to retrieve rules. |
create_deployment_rule Create Deployment Rule
Create a new deployment rule for an existing deployment gate. The rule can detect faulty deployments or monitor deployment metrics based on the specified type and options.
| Parameter | Type | Description |
|---|---|---|
attributesType * | string | The category of deployment rule that determines its behavior and required options. |
dataType * | string | The resource type identifier for this API object. |
gate_id * | string | The unique identifier of the deployment gate that this rule will be associated with. |
name * | string | A descriptive name for the deployment rule to identify its purpose. |
options * | Configuration options for the deployment rule, which vary based on the rule type. For faulty_deployment_detection rules, this includes detection thresholds and criteria. For monitor rules, this includ… | |
dry_run | boolean | Whether to run this rule in dry-run mode for testing without enforcing the rule. |
get_deployment_rule Get Deployment Rule
Retrieve a specific deployment rule associated with a deployment gate. Use this to inspect rule configurations and settings.
| Parameter | Type | Description |
|---|---|---|
gate_id * | string | The unique identifier of the deployment gate that contains the rule. |
id * | string | The unique identifier of the deployment rule to retrieve. |
update_deployment_rule Update Deployment Rule
Update an existing deployment rule within a deployment gate. Allows modification of rule configuration including name, type, dry-run mode, and deployment detection or monitoring options.
| Parameter | Type | Description |
|---|---|---|
dry_run * | boolean | Whether to execute this rule in dry-run mode, allowing validation without applying changes. |
gate_id * | string | The unique identifier of the deployment gate containing the rule to update. |
id * | string | The unique identifier of the deployment rule to update. |
name * | string | The display name for the deployment rule. |
options * | Configuration options for the deployment rule, specifying either faulty deployment detection parameters or monitoring settings. | |
type * | string | The resource type identifier for this deployment rule. |
delete_deployment_rule Delete Deployment Rule
Delete a specific deployment rule from a deployment gate. This removes the rule and its associated configurations.
| Parameter | Type | Description |
|---|---|---|
gate_id * | string | The unique identifier of the deployment gate that contains the rule to be deleted. |
id * | string | The unique identifier of the deployment rule to be deleted. |
get_deployment_gate Get Deployment Gate
Retrieve a specific deployment gate by its ID. Use this to fetch details about a deployment gate configuration.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the deployment gate to retrieve. |
update_deployment_gate Update Deployment Gate
Update an existing deployment gate configuration. Supports dry-run mode to validate changes before applying them.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the deployment gate resource being updated. |
dry_run * | boolean | When enabled, validates the update without persisting changes to the deployment gate. |
id * | string | The unique identifier of the deployment gate to update. |
type * | string | The resource type identifier for this deployment gate. |
delete_deployment_gate Delete Deployment Gate
Delete a deployment gate and all associated rules. This operation permanently removes the gate from the deployment pipeline.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the deployment gate to delete. |
evaluate_deployment_gates Evaluate Deployment Gates
Trigger an asynchronous evaluation of deployment gates for a service in a specific environment. Returns an evaluation ID that can be polled to retrieve the results.
| Parameter | Type | Description |
|---|---|---|
env * | string | The target environment where the deployment will occur. |
service * | string | The name of the service being deployed. |
type * | string | The JSON:API resource type for this deployment gate evaluation request. |
primary_tag | string | Optional tag to scope APM Faulty Deployment Detection rules, typically used to filter by region or other deployment attributes. |
get_deployment_gate_evaluation Get Deployment Gate Evaluation
Retrieves the evaluation result of a deployment gate by its evaluation ID. Poll this endpoint to check the gate status, which transitions from `in_progress` to either `pass` or `fail`.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the deployment gate evaluation, returned when the evaluation was triggered. |
record_deployment Record Deployment
Record a deployment event to track DORA metrics including deployment frequency, change lead time, change failure rate, and recovery time.
| Parameter | Type | Description |
|---|---|---|
commit_sha * | string | The Git commit SHA being deployed. Must be a valid 40+ character hexadecimal string. |
finished_at * | string | Unix timestamp marking when the deployment completed. Accepts nanoseconds, milliseconds, or seconds. |
repository_url * | string | The Git repository URL containing the deployed code. |
service * | string | The name of the service being deployed. |
started_at * | string | Unix timestamp marking when the deployment began. Accepts nanoseconds, milliseconds, or seconds. |
custom_tags | array | User-defined tags to categorize the deployment. Tags must follow the key:value pattern, with a maximum of 100 tags per event. |
env | string | The target environment where the service was deployed (e.g., staging, production). |
team | string | The team responsible for the deployed service. If omitted, the team is automatically populated from the Service Catalog based on the service name. |
delete_deployment Delete Deployment
Delete a deployment event from DORA metrics. This removes the deployment record and associated data.
| Parameter | Type | Description |
|---|---|---|
deployment_id * | string | The unique identifier of the deployment event to delete. |
list_deployments_event List Deployments Event
Retrieve a list of deployment events within an optional time range. Use the from and to parameters to filter events by timestamp, and limit to control the maximum number of results returned.
| Parameter | Type | Description |
|---|---|---|
from | string | Start of the time range for filtering deployment events (inclusive). Timestamps should be in ISO 8601 format. |
limit | string | Maximum number of deployment events to return in the response. Cannot exceed 1000 results per request. |
to | string | End of the time range for filtering deployment events (inclusive). Timestamps should be in ISO 8601 format. |
get_deployment_event Get Deployment Event
Retrieve details of a specific deployment event by its ID. Use this to fetch deployment information for monitoring, auditing, or integration purposes.
| Parameter | Type | Description |
|---|---|---|
deployment_id * | string | The unique identifier of the deployment event to retrieve. |
mark_deployment_failure Mark Deployment Failure
Mark a deployment as a change failure or restore it to stable status. Optionally link a remediation deployment to enable failed deployment recovery time calculation.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the deployment being patched. Must match the deployment_id path parameter. |
dataType * | string | JSON:API resource type identifier for this patch request. |
deployment_id * | string | The unique identifier of the deployment event to update. |
change_failure | boolean | Whether this deployment resulted in a change failure. Set to true to mark as failed, false to restore to stable status. |
remediationId | string | The unique identifier of the remediation deployment that fixed the failure. Required when linking a remediation to a failed deployment. |
remediationType | string | The type of remediation action taken to resolve the failure. Required when linking a remediation deployment. |
report_incident Report Incident
Report an incident event associated with a deployment for DORA Metrics tracking. This enables correlation between failed deployments and real-world incidents, including their severity and impact.
| Parameter | Type | Description |
|---|---|---|
commit_sha * | string | The Git commit SHA associated with the deployment that caused the incident. Must be a valid 40+ character hexadecimal string. |
repository_url * | string | The Git repository URL where the commit resides. |
started_at * | string | Unix timestamp indicating when the incident began. Accepts nanoseconds, milliseconds, or seconds. |
custom_tags | array | User-defined tags to categorize the incident. Tags must follow the key:value format. Up to 100 tags may be added per event. |
env | string | The environment name where the incident occurred (e.g., staging, production). |
finished_at | string | Unix timestamp indicating when the incident was resolved. Accepts nanoseconds, milliseconds, or seconds. |
services | array | List of service names impacted by the incident. Use service names registered in the Service Catalog when available. Required if team is not provided. |
severity | string | The severity level of the incident (e.g., High, Medium, Low). |
team | string | The name of the team responsible for the impacted services. Use team handles registered in Datadog when available. Required if services is not provided. |
delete_incident_event Delete Incident Event
Delete an incident event from the system. This operation permanently removes the incident record identified by the provided ID.
| Parameter | Type | Description |
|---|---|---|
failure_id * | string | The unique identifier of the incident event to delete. |
list_incident_failures List Incident Failures
Retrieve a list of incident failure events from DORA metrics. Use this to analyze deployment and incident patterns.
| Parameter | Type | Description |
|---|---|---|
limit | string | Maximum number of incident failure events to return in the response. |
time_range | string | Time range as ISO 8601 timestamps in format 'from/to' (e.g., '2024-01-01T00:00:00Z/2024-01-31T23:59:59Z') |
get_incident_failure Get Incident Failure
Retrieve details for a specific incident event by its ID. Use this to access incident information including failure metrics and related metadata.
| Parameter | Type | Description |
|---|---|---|
failure_id * | string | The unique identifier of the incident event to retrieve. |
list_downtimes List Downtimes
Retrieve all scheduled downtimes, with options to filter for currently active downtimes and paginate through results.
| Parameter | Type | Description |
|---|---|---|
current_only | boolean | Filter to return only downtimes that are currently active at the time of the request. |
pagelimit | string | The maximum number of downtimes to include in a single response page. |
pageoffset | string | The starting position for pagination, allowing you to retrieve results from a specific offset in the dataset. |
schedule_downtime Schedule Downtime
Schedule a downtime period to mute monitor notifications for specified scopes. Supports one-time and recurring schedules with customizable notification behavior.
| Parameter | Type | Description |
|---|---|---|
monitor_identifier * | The monitor to apply this downtime to. Can be a monitor ID or name. | |
scope * | string | The scope defining which monitors and resources the downtime applies to. Use common search syntax with tags and attributes. |
type * | string | The resource type for this downtime. |
display_timezone | string | The timezone for displaying the downtime's start and end times in Datadog applications. Does not affect scheduling calculations. |
message | string | A message to include with downtime notifications. Use @username notation to notify specific users via email. |
mute_first_recovery_notification | boolean | Whether to suppress the first recovery notification when the monitor recovers during the downtime period. |
notify_end_states | array | Monitor states that will trigger notifications when the downtime ends. Valid states include alert and warn conditions. |
notify_end_types | array | Actions that trigger monitor notifications at downtime end. Includes events like cancellation or expiration. |
schedule | Recurrence schedule for the downtime. Defines when the downtime repeats (daily, weekly, monthly, etc.). |
get_downtime Get Downtime
Retrieve detailed information about a specific downtime event by its unique identifier.
| Parameter | Type | Description |
|---|---|---|
downtime_id * | string | The unique identifier of the downtime record to retrieve. |
update_downtime Update Downtime
Update an existing downtime configuration by ID. Modify scheduling, scope, notifications, and other downtime settings.
| Parameter | Type | Description |
|---|---|---|
downtime_id * | string | The unique identifier of the downtime to update. |
id * | string | The unique identifier of this downtime resource. |
type * | string | The resource type identifier for this downtime. |
display_timezone | string | The timezone for displaying downtime start and end times in Datadog applications. Does not affect scheduling calculations. |
message | string | A notification message to include with downtime alerts. Use @username notation to notify specific users. |
monitor_identifier | The monitor to which this downtime applies. Can be a monitor ID or other monitor identifier. | |
mute_first_recovery_notification | boolean | Whether to suppress the first recovery notification when the monitor recovers during the downtime. |
notify_end_states | array | Monitor states that trigger end-of-downtime notifications. Valid states include alert and warn conditions. |
notify_end_types | array | Actions that trigger monitor notifications when downtime ends. Valid actions include canceled and expired events. |
schedule | Recurrence schedule for the downtime. Defines when the downtime repeats or occurs. | |
scope | string | The scope defining which monitors or resources the downtime applies to. Use common search syntax with tags and logical operators. |
cancel_downtime Cancel Downtime
Cancel an active downtime. Canceled downtimes remain searchable for approximately two days before permanent removal.
| Parameter | Type | Description |
|---|---|---|
downtime_id * | string | The unique identifier of the downtime to cancel. |
search_issues Search Issues
Search for error tracking issues within your organization using event search syntax. Returns up to 100 matching issues sorted by your specified criteria.
| Parameter | Type | Description |
|---|---|---|
from * | string | Start of the time range (inclusive) for the search query, specified in milliseconds since the Unix epoch. |
query * | string | Search query using event search syntax to filter issues. Supports field matching, wildcards, and boolean operators. |
to * | string | End of the time range (exclusive) for the search query, specified in milliseconds since the Unix epoch. |
type * | string | Type identifier for the request object. Must be set to 'search_request' for this operation. |
order_by | string | Attribute to sort the search results by. Defaults to relevance if not specified. |
persona | string | Persona filter for the search. Specify either persona(s) or track(s), but not both. Filters issues by the type of application or service. |
track | string | Track of the events to query. Specify either track(s) or persona(s), but not both. Determines which event stream to search. |
get_issue Get Issue
Retrieve the complete details of a specific error tracking issue, including all attributes and relationships.
| Parameter | Type | Description |
|---|---|---|
issue_id * | string | The unique identifier of the error tracking issue to retrieve. |
assign_issue Assign Issue
Assign an issue to a user. Updates the assignee of an issue identified by its issue ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the user to assign to the issue. |
issue_id * | string | The unique identifier of the issue to be reassigned. |
type * | string | The type of object being assigned. Must be set to 'assignee'. |
unassign_issue Unassign Issue
Remove the assignee from an issue, leaving it unassigned. This operation clears the current assignee for the specified issue.
| Parameter | Type | Description |
|---|---|---|
issue_id * | string | The unique identifier of the issue from which to remove the assignee. |
update_issue_state Update Issue State
Update an issue's state to track its lifecycle (e.g., OPEN, RESOLVED, IGNORED). Use this to manage issue status within your error tracking system.
| Parameter | Type | Description |
|---|---|---|
id * | string | The issue identifier (must match the issue_id parameter). |
issue_id * | string | The unique identifier of the issue to update. |
state * | string | The new state for the issue. Choose from predefined states to track issue lifecycle. |
type * | string | The resource type identifier for this object. |
list_events List Events
Retrieve a paginated list of events matching a search query. Use this endpoint to view your latest events with optional filtering by time range and search criteria.
| Parameter | Type | Description |
|---|---|---|
filterfrom | string | Minimum timestamp for requested events in milliseconds (Unix epoch). Events with timestamps at or after this value will be included. |
filterquery | string | Search query to filter events using event search syntax. Leave empty to retrieve all events without filtering. |
filterto | string | Maximum timestamp for requested events in milliseconds (Unix epoch). Events with timestamps at or before this value will be included. |
pagelimit | string | Maximum number of events to return in a single response. Useful for controlling response size and pagination. |
publish_event Publish Event
Publish an event to track changes or alerts in your system. Only events with 'change' or 'alert' categories are currently in General Availability.
| Parameter | Type | Description |
|---|---|---|
attributes * | A JSON object containing category-specific attributes. The schema varies depending on the event category (change or alert). | |
category * | string | The event category that identifies the type of event being published. |
title * | string | A concise title summarizing the event. Limited to 500 characters. |
type * | string | The entity type for this request. |
aggregation_key | string | A string used to deduplicate and correlate related events into alerts. Limited to 100 characters. |
host | string | The hostname to associate with the event. Any tags assigned to this host will also be applied to the event. Limited to 255 characters. |
integration_id | string | The integration identifier sourced from integration manifests. |
message | string | Free-form text providing additional context about the event. For structured attributes, use the category-specific attributes field instead. Limited to 4000 characters. |
tags | array | A list of tags to associate with the event for organization and filtering. Maximum of 100 tags allowed. |
timestamp | string | The ISO 8601 formatted timestamp indicating when the event occurred. Defaults to the time the event is received. Must not be older than 18 hours. |
search_events Search Events
Search and filter events within a specified time range with pagination support. Use this endpoint to build complex event queries and retrieve matching results.
| Parameter | Type | Description |
|---|---|---|
from | string | The start time for the search range. Accepts date math expressions (e.g., now-15m) or millisecond timestamps. |
limit | string | The maximum number of events to return in the response. Results are paginated. |
timeOffset | string | An optional time offset to apply to the query in seconds, useful for timezone adjustments or relative time shifts. |
to | string | The end time for the search range. Accepts date math expressions (e.g., now) or millisecond timestamps. |
get_event Get Event
Retrieve the complete details of a specific event using its unique identifier. Returns all event information including metadata, timing, and associated data.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | The unique identifier (UID) of the event to retrieve. |
list_feature_flags List Feature Flags
Retrieve a paginated list of feature flags for your organization with optional filtering by key and archived status.
| Parameter | Type | Description |
|---|---|---|
is_archived | boolean | Filter to show only active or archived feature flags. |
key | string | Filter feature flags by key using partial string matching. |
limit | integer | Maximum number of feature flags to return per request. Must be between 1 and 1000. |
offset | integer | Number of feature flags to skip before returning results, used for pagination. |
create_feature_flag Create Feature Flag
Creates a new feature flag with configurable variants and value types. The feature flag can be used to control feature rollouts and A/B testing across your application.
| Parameter | Type | Description |
|---|---|---|
description * | string | A detailed description explaining the purpose and use case of this feature flag. |
key * | string | A unique identifier for the feature flag used in code and API requests. Must be URL-safe and globally unique within your workspace. |
name * | string | A human-readable name for the feature flag displayed in dashboards and management interfaces. |
type * | string | The resource type identifier for this API request. Must be set to 'feature-flags'. |
value_type * | string | The data type for all variant values in this feature flag. This determines what kind of values each variant can hold. |
variants * | array | An array of variant objects that define the possible values users can receive. Each variant must have a unique key and a value matching the specified value_type. |
default_variant_key | string | The key of the variant to use as the default when no targeting rules match. |
json_schema | string | A JSON schema that defines the structure and validation rules for variant values when value_type is set to JSON. |
list_environments List Feature Flag Environments
Retrieve a paginated list of environments for the organization. Supports filtering by environment key using partial matching.
| Parameter | Type | Description |
|---|---|---|
key | string | Filter environments by their key using partial string matching. |
limit | integer | Maximum number of environment results to return in a single response. |
offset | integer | Number of results to skip for pagination, useful for retrieving subsequent pages. |
create_feature_flag_environment Create Feature Flag Environment
Creates a new environment for organizing and managing feature flags. Environments allow you to control feature flag behavior across different deployment stages with optional approval workflows.
| Parameter | Type | Description |
|---|---|---|
name * | string | A unique identifier for the environment used in API requests and feature flag configurations. |
queries * | array | One or more query strings that define the scope and filtering criteria for this environment. Order matters and determines evaluation precedence. |
type * | string | The resource type identifier for this API resource. |
is_production | boolean | Whether this environment represents a production deployment where feature flag changes may require additional oversight. |
require_feature_flag_approval | boolean | Whether feature flag modifications in this environment must be approved before taking effect, adding a governance layer to changes. |
get_feature_flag_environment Get Feature Flag Environment
Retrieve detailed information about a specific feature flag environment. Returns configuration and status details for the requested environment.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the feature flag environment to retrieve. |
update_environment Update Feature Flag Environment
Update an environment's configuration including its name, description, production status, and approval requirements. Changes apply to all feature flags scoped to this environment.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment to update. |
type * | string | The resource type identifier for this object. |
is_production | boolean | Designates whether this environment represents a production deployment. |
queries | array | List of query strings that define the scope or targeting rules for this environment. Order may be significant for evaluation. |
require_feature_flag_approval | boolean | Requires approval workflows for any feature flag modifications in this environment when enabled. |
delete_environment Delete Environment
Permanently deletes a feature flag environment. This action cannot be undone and will remove all associated configurations.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment to delete. |
get_feature_flag Get Feature Flag
Retrieve detailed information about a specific feature flag, including its variants and current status across environments.
| Parameter | Type | Description |
|---|---|---|
feature_flag_id * | string | The unique identifier of the feature flag to retrieve. |
update_feature_flag Update Feature Flag
Update a feature flag's metadata including name and description. This operation modifies only the flag's configuration details and does not affect targeting rules or traffic allocations.
| Parameter | Type | Description |
|---|---|---|
feature_flag_id * | string | The unique identifier of the feature flag to update. |
type * | string | The resource type identifier, which must be set to 'feature-flags' for this operation. |
description | string | A human-readable description explaining the purpose and behavior of the feature flag. |
json_schema | string | A JSON schema that defines the structure and validation rules for the feature flag's value when the value type is JSON. |
archive_feature_flag Archive Feature Flag
Archive a feature flag to hide it from the main list while keeping it accessible for future reference. Archived flags can be unarchived at any time.
| Parameter | Type | Description |
|---|---|---|
feature_flag_id * | string | The unique identifier of the feature flag to archive. |
disable_feature_flag Disable Feature Flag Environment
Disable a feature flag in a specific environment. This prevents the feature flag from being evaluated in that environment.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment where the feature flag should be disabled. |
feature_flag_id * | string | The unique identifier of the feature flag to disable. |
enable_feature_flag Enable Feature Flag Environment
Enable a feature flag in a specific environment to make it active and available for that environment.
| Parameter | Type | Description |
|---|---|---|
environment_id * | string | The unique identifier of the environment where the feature flag should be enabled. |
feature_flag_id * | string | The unique identifier of the feature flag to enable. |
restore_feature_flag Restore Feature Flag
Restore a previously archived feature flag, making it visible and available in the main feature flag list again.
| Parameter | Type | Description |
|---|---|---|
feature_flag_id * | string | The unique identifier of the feature flag to restore. |
get_hamr_connection Get HAMR Connection
Retrieve the High Availability Multi-Region (HAMR) organization connection details for the authenticated organization, including target organization, datacenter, status, and primary/secondary role.
configure_hamr_connection Configure HAMR Connection
Configure or update a High Availability Multi-Region (HAMR) organization connection, establishing failover relationships between primary and secondary organizations across datacenters.
| Parameter | Type | Description |
|---|---|---|
hamr_status * | integer | The operational status of the HAMR connection, indicating the current phase of the failover relationship (UNSPECIFIED, ONBOARDING, PASSIVE standby, FAILOVER transition, ACTIVE failover, or RECOVERY). |
id * | string | The unique identifier (UUID) of the authenticated organization establishing this HAMR connection. Must match the organization making the request. |
is_primary * | boolean | Designates whether this organization serves as the primary (true) or secondary/backup (false) organization in the HAMR relationship. |
modified_by * | string | The username or email identifier of the user making this HAMR connection modification. |
target_org_datacenter * | string | The datacenter region where the target organization is deployed (e.g., us1, eu1, us5). |
target_org_name * | string | The display name of the target organization participating in this HAMR relationship. |
target_org_uuid * | string | The unique identifier (UUID) of the target organization in the HAMR relationship. |
type * | string | The resource type identifier for this HAMR organization connection object. |
list_incidents List Incidents
Retrieve all incidents for your organization with pagination support. Use page size and offset parameters to control which incidents are returned.
| Parameter | Type | Description |
|---|---|---|
pageoffset | string | Starting position for the returned page of incidents, useful for pagination through large result sets. |
pagesize | string | Number of incidents to return per page. Maximum allowed value is 100. |
create_incident Create Incident
Create a new incident to track and manage an operational event. Specify whether customers were impacted and provide relevant details for incident tracking and notification.
| Parameter | Type | Description |
|---|---|---|
customer_impacted * | boolean | Flag indicating whether this incident caused customer impact. |
title * | string | Title of the incident that summarizes what occurred. |
type * | string | Resource type identifier for this incident. |
customer_impact_scope | string | Summary of the impact experienced by customers during the incident. Required when customer_impacted is true. |
fields | object | User-defined fields with initial selections for the incident, structured as field name to field configuration mappings. |
incident_type_uuid | string | Unique identifier for the incident type to use. If not provided, the default incident type will be applied. |
initial_cells | array | Array of initial timeline cells to add at the beginning of the incident timeline, in the order provided. |
is_test | boolean | Flag indicating whether this is a test incident for validation or training purposes. |
notification_handles | array | List of notification handles to notify at incident creation, including users, channels, and workflows. Each handle specifies a display name and target identifier. |
list_incident_handles List Incident Handles
Retrieve a list of global incident handles that are available for use across the system.
list_notification_templates List Notification Templates
Retrieves all incident notification templates, with optional filtering by incident type. Use this to discover available templates for configuring incident notifications.
| Parameter | Type | Description |
|---|---|---|
filterincident-type | string | Filter templates by a specific incident type using its UUID identifier. |
get_notification_template Get Notification Template
Retrieves a specific incident notification template by its unique identifier. Use this to fetch template details for viewing or validation purposes.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the notification template to retrieve. |
delete_notification_template Delete Notification Template
Permanently deletes a notification template by its unique identifier. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the notification template to delete. |
list_postmortem_templates List Postmortem Templates
Retrieve all available postmortem templates used for incident post-incident reviews and documentation. These templates standardize the structure and content of postmortem reports across your organization.
get_postmortem_template Get Postmortem Template
Retrieve the details and configuration of a specific postmortem template by its ID. Use this to view template structure, fields, and settings before creating incidents or generating postmortems.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | The unique identifier of the postmortem template to retrieve. |
delete_postmortem_template Delete Postmortem Template
Permanently delete a postmortem template by its ID. This action cannot be undone and will remove the template from the system.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | The unique identifier of the postmortem template to delete. |
list_incident_types List Incident Types
Retrieve all available incident types configured in the system. Optionally include incident types that have been marked as deleted.
| Parameter | Type | Description |
|---|---|---|
include_deleted | boolean | Whether to include incident types that have been deleted in the response. |
get_incident_type Get Incident Type
Retrieve detailed configuration information for a specific incident type by its unique identifier. Use this to access incident type properties and settings.
| Parameter | Type | Description |
|---|---|---|
incident_type_id * | string | The unique identifier (UUID) of the incident type to retrieve. |
import_incident Import Incident
Import an incident from an external system with historical metadata. This operation creates incidents with custom timestamps for detection, declaration, and resolution without triggering integrations or notification rules.
| Parameter | Type | Description |
|---|---|---|
title * | string | A concise summary of the incident describing what occurred. |
type * | string | Resource type identifier for this incident object. |
declared | string | Timestamp indicating when the incident was declared or acknowledged. |
detected | string | Timestamp indicating when the incident was first detected or identified. |
fields | object | User-defined field selections for the incident, structured as field names mapped to their initial values. |
incident_type_uuid | string | Unique identifier for the incident type. If omitted, the default incident type is applied. |
resolved | string | Timestamp indicating when the incident was resolved. Only applicable when the state field is set to 'resolved'. |
visibility | string | Access level for the incident, controlling who can view it. |
search_incidents Search Incidents
Search for incidents matching a query with pagination support. Returns a paginated list of incidents that match your search criteria.
| Parameter | Type | Description |
|---|---|---|
combine_operator | string | Operator to combine facets: 'AND' or 'OR'. Default is 'AND'. |
facet_filters | array | List of facet filters. Each dict has 'facet' (string) and 'values' (list of strings). Multiple values within a facet are OR'd together. |
pageoffset | string | Starting position for the returned page of results. Use this to navigate through paginated results. |
pagesize | string | Number of incidents to return per page. Controls how many results are included in each response. |
get_incident Get Incident
Retrieve the complete details of a specific incident by its unique identifier. Returns incident information including status, timeline, and associated metadata.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The unique identifier (UUID) of the incident to retrieve. |
update_incident Update Incident
Partially update an existing incident with new details such as impact timeline, scope, title, and notification recipients. Only provided attributes are updated.
| Parameter | Type | Description |
|---|---|---|
id * | string | The incident's unique identifier. |
incident_id * | string | The UUID of the incident to update. |
integrationsData * | array | Array of integration metadata relationships associated with this incident. Each entry must include an id and type identifier. |
type * | string | The resource type identifier for this incident. |
commander_userData | object | Relationship object linking a user as the incident commander. |
customer_impact_end | string | Timestamp indicating when customer impact ended. |
customer_impact_scope | string | Summary describing the impact customers experienced during the incident. |
customer_impact_start | string | Timestamp indicating when customer impact began. |
customer_impacted | boolean | Flag indicating whether this incident caused customer impact. |
detected | string | Timestamp indicating when the incident was detected. |
fields | object | User-defined custom fields to update, specified as a condensed object mapping field names to their type and new value. |
notification_handles | array | Array of notification handles (users, channels, or workflows) to notify about this incident update. Order is preserved as provided. |
postmortemData | object | Relationship object linking the incident postmortem document. |
title | string | The incident title summarizing what occurred. |
delete_incident Delete Incident
Permanently deletes an incident from your organization. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The unique identifier (UUID) of the incident to delete. |
list_incident_attachments List Incident Attachments
Retrieve all attachments associated with a specific incident, with optional filtering by attachment type. Attachments can include postmortems and external links.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The unique identifier (UUID) of the incident for which to retrieve attachments. |
filterattachment_type | string | Filter attachments by their type. Use postmortem for incident analysis documents or link for external references. |
attach_incident_document Attach Incident Document
Attach a document or link to an incident. Supports postmortem documents and external links for incident tracking and documentation.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The unique identifier (UUID) of the incident to attach the document to. |
type * | string | The resource type identifier for incident attachments. |
attachment_type | string | The category of the attachment, indicating whether it is a postmortem document or an external link. |
documentUrl | string | The URL pointing to the attachment resource, such as a postmortem document or external reference. |
title | string | A descriptive title for the attachment to help identify its purpose within the incident. |
create_postmortem_attachment Create Postmortem Attachment
Create a postmortem attachment for an incident. Supports markdown content from Confluence or Google Docs, with optional notebook cell formatting for frontend integration.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The unique identifier of the incident to attach the postmortem to. |
type * | string | The resource type classification for this incident attachment. |
content | string | The postmortem content in markdown format. May include notebook cell formatting for frontend-created postmortems. |
title | string | A descriptive title for the postmortem attachment. |
update_incident_attachment Update Incident Attachment
Update an attachment associated with an incident, including its URL, title, or other metadata. This allows you to modify attachment details after the initial creation.
| Parameter | Type | Description |
|---|---|---|
attachment_id * | string | The unique identifier of the attachment to update. |
incident_id * | string | The UUID of the incident that contains the attachment to be updated. |
type * | string | The resource type identifier for incident attachments. |
documentUrl | string | The updated URL pointing to the attachment resource or document. |
title | string | The updated display title or name for the attachment. |
remove_incident_attachment Remove Incident Attachment
Remove an attachment from an incident. This permanently deletes the specified attachment associated with the incident.
| Parameter | Type | Description |
|---|---|---|
attachment_id * | string | The unique identifier of the attachment to be deleted. |
incident_id * | string | The UUID of the incident from which the attachment will be removed. |
list_incident_impacts List Incident Impacts
Retrieve all impacts associated with a specific incident. Impacts represent the affected services, systems, or business areas resulting from the incident.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The unique identifier (UUID) of the incident for which to retrieve impacts. |
create_incident_impact Create Incident Impact
Record the business or operational impact of an incident. This captures details about what was affected and the scope of the impact.
| Parameter | Type | Description |
|---|---|---|
description * | string | A detailed description of the impact, such as which services were affected or what functionality was unavailable. |
incident_id * | string | The unique identifier (UUID) of the incident to which this impact will be associated. |
type * | string | The resource type identifier for this impact record. |
fields | object | Optional structured data providing additional impact details. Use this to specify custom fields like the number of customers affected or which products were impacted. |
impact_interval | string | Time interval in ISO 8601 format (start/end) |
remove_incident_impact Remove Incident Impact
Remove an impact record from an incident. This permanently deletes the association between the incident and the specified impact.
| Parameter | Type | Description |
|---|---|---|
impact_id * | string | The unique identifier (UUID) of the incident impact to be deleted. |
incident_id * | string | The unique identifier (UUID) of the incident from which the impact will be removed. |
list_incident_integrations List Incident Integrations
Retrieve all integration metadata associated with a specific incident. This provides details about external systems and services connected to the incident.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The unique identifier (UUID) of the incident for which to retrieve integration metadata. |
create_incident_integration Create Incident Integration
Create integration metadata for an incident, linking it to external systems like Slack or Jira. This establishes the connection and tracks the integration status.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The unique identifier (UUID) of the incident to create the integration for. |
integration_type * | string | The type of external system this integration connects to. Use 1 for Slack or 8 for Jira. |
metadata * | Custom metadata attributes specific to this integration, such as channel IDs, issue keys, or sync settings. | |
type * | string | The resource type identifier for this integration metadata. |
status | string | The current state of the integration. Values indicate: 0 (unknown), 1 (pending), 2 (complete), 3 (manually created), 4 (manually updated), or 5 (failed). |
get_incident_integration Get Incident Integration
Retrieve detailed metadata for a specific integration associated with an incident. This provides information about how an external integration is connected to and configured for the incident.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The unique identifier (UUID) of the incident for which to retrieve integration metadata. |
integration_metadata_id * | string | The unique identifier (UUID) of the specific integration metadata record to retrieve. |
update_incident_integration Update Incident Integration
Update an existing incident integration metadata record. Modify integration details such as type, status, and associated metadata for a specific incident.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The UUID of the incident to update. |
integration_metadata_id * | string | The UUID of the incident integration metadata record to update. |
integration_type * | string | The type of integration this metadata is for. Slack is type 1, Jira is type 8. |
metadata * | Custom metadata attributes associated with this incident integration. Structure depends on the integration type. | |
type * | string | The resource type identifier for this integration metadata. |
status | string | The current status of this integration metadata. Unknown (0), pending (1), complete (2), manually created (3), manually updated (4), or failed (5). |
remove_incident_integration Remove Incident Integration
Remove an integration metadata association from an incident. This deletes the link between the incident and its integration metadata.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The unique identifier (UUID) of the incident from which the integration will be removed. |
integration_metadata_id * | string | The unique identifier (UUID) of the integration metadata to be deleted from the incident. |
list_incident_todos List Incident Todos
Retrieve all todos associated with a specific incident. Use this to view the complete list of action items and tasks that need to be completed for incident resolution.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The unique identifier (UUID) of the incident for which to retrieve todos. |
create_incident_todo Create Incident Todo
Create a follow-up todo task for an incident. Todos help track action items that need to be completed as part of incident resolution.
| Parameter | Type | Description |
|---|---|---|
assignees * | array | List of email addresses for users who will be assigned to this todo task. |
content * | string | The description or title of the follow-up task to be completed. |
incident_id * | string | The unique identifier (UUID) of the incident to which the todo will be attached. |
type * | string | The resource type identifier for incident todos. |
due_date | string | Optional deadline for when the todo should be completed, specified as an ISO 8601 timestamp. |
get_incident_todo Get Incident Todo
Retrieve details for a specific todo item associated with an incident. Use this to fetch the full information about a particular todo within an incident's todo list.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The unique identifier (UUID) of the incident containing the todo item. |
todo_id * | string | The unique identifier (UUID) of the specific todo item to retrieve. |
update_incident_todo Update Incident Todo
Update an existing incident todo with new content, assignees, due date, and metadata. Use this to modify follow-up tasks associated with an incident.
| Parameter | Type | Description |
|---|---|---|
assignees * | array | List of email addresses for users assigned to this todo. Order represents assignment priority. |
content * | string | The description or title of the follow-up task to be completed. |
incident_id * | string | The UUID of the incident containing the todo to update. |
todo_id * | string | The UUID of the specific incident todo to update. |
type * | string | The resource type identifier for this todo object. |
due_date | string | The deadline for completing this todo, specified as an ISO 8601 timestamp with timezone information. |
remove_incident_todo Remove Incident Todo
Remove a todo item from an incident. Deletes the relationship between the specified incident and todo.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The UUID of the incident from which the todo will be removed. |
todo_id * | string | The UUID of the todo item to be deleted from the incident. |
list_aws_accounts List AWS Accounts
Retrieve a list of AWS account integrations, optionally filtered by a specific AWS Account ID. Returns all configured AWS integrations if no filter is provided.
| Parameter | Type | Description |
|---|---|---|
aws_account_id | string | Filter results to a specific AWS Account ID. When omitted, all AWS account integrations are returned. |
create_aws_account_integration Create AWS Account Integration
Create a new AWS account integration to enable Datadog monitoring of AWS resources. Configure authentication, data collection preferences, and security scanning for your AWS account.
| Parameter | Type | Description |
|---|---|---|
auth_config * | AWS authentication credentials and configuration required to access your AWS account. | |
aws_account_id * | string | Your AWS Account ID, a 12-digit numeric identifier for your AWS account. |
aws_partition * | string | AWS partition where your account is located. Standard AWS uses 'aws', while AWS China uses 'aws-cn' and AWS GovCloud uses 'aws-us-gov'. |
type * | string | Resource type identifier for this AWS account integration. |
account_tags | array | Tags to apply to all hosts and metrics reported from this AWS account. Use tags for organizing and filtering resources across your infrastructure. |
automute_enabled | boolean | Automatically mute EC2 host alerts when instances are stopped or terminated to reduce noise. |
aws_regions | AWS regions from which to collect monitoring data. Leave unset to collect from all regions. | |
cloud_security_posture_management_collection | boolean | Enable Cloud Security Management to scan AWS resources for vulnerabilities, misconfigurations, identity risks, and compliance violations. Requires extended_collection to be enabled. |
collect_cloudwatch_alarms | boolean | Enable collection of CloudWatch alarms to monitor alarm state changes and trigger notifications. |
collect_custom_metrics | boolean | Enable collection of custom CloudWatch metrics published by your applications and services. |
enabled | boolean | Enable collection of AWS metrics from this account. When disabled, no metrics will be collected. |
extended_collection | boolean | Collect additional resource attributes and configuration details from your AWS account. Required to enable Cloud Security Management scanning. |
lambda_forwarder | object | Configuration for automatic log subscription to Datadog Forwarder Lambda functions. Enables automatic setup of log triggers for supported AWS services. |
namespace_filters | Filter AWS metrics by namespace to include or exclude specific AWS services. Defaults to excluding only specified namespaces. | |
tag_filters | array | Filter AWS metrics collection by resource tags. Only metrics from resources matching these tags will be collected. |
xray_services | AWS X-Ray services from which to collect distributed traces. Leave unset to collect from all services. |
get_aws_account_integration Get AWS Account Integration
Retrieve a specific AWS Account Integration configuration by its Datadog config ID. Use the list_aws_account_integrations operation to discover available config IDs for your AWS accounts.
| Parameter | Type | Description |
|---|---|---|
aws_account_config_id * | string | The unique Datadog identifier for the AWS Account Integration configuration you want to retrieve. |
update_aws_account_integration Update AWS Account Integration
Update an AWS account integration configuration by its unique config ID. Modify authentication, data collection settings, and monitoring preferences for an existing AWS account integration.
| Parameter | Type | Description |
|---|---|---|
aws_account_config_id * | string | The unique Datadog identifier for the AWS account integration configuration. Retrieve this ID using the list AWS integrations endpoint filtered by your AWS Account ID. |
aws_account_id * | string | The 12-digit AWS account ID to integrate with Datadog. |
type * | string | The resource type for this AWS integration configuration. |
account_tags | array | Tags to apply to all hosts and metrics reported from this AWS account. Specify as an array of tag strings. |
auth_config | AWS authentication configuration credentials and settings for API access. | |
automute_enabled | boolean | Enable automatic muting of EC2 instances in Datadog when they are stopped or terminated in AWS. |
aws_partition | string | The AWS partition where your account resides. Use 'aws' for standard regions, 'aws-cn' for China regions, or 'aws-us-gov' for GovCloud regions. |
aws_regions | Specify which AWS regions to collect data from. Use 'include_all' to monitor all regions or provide a list of specific region names. | |
cloud_security_posture_management_collection | boolean | Enable Cloud Security Management to scan AWS resources for vulnerabilities, misconfigurations, identity risks, and compliance violations. Requires extended_collection to be enabled. |
collect_cloudwatch_alarms | boolean | Enable collection of CloudWatch alarms from this AWS account. |
collect_custom_metrics | boolean | Enable collection of custom CloudWatch metrics from this AWS account. |
enabled | boolean | Enable collection of standard AWS metrics from this AWS account. |
extended_collection | boolean | Enable collection of extended resource attributes and configuration details from your AWS account. Required to use Cloud Security Management collection. |
lambda_forwarder | object | Configuration for automatic log subscription to Datadog Forwarder Lambda functions. Enables automatic trigger setup for new and existing logs from supported services. |
namespace_filters | Configure CloudWatch namespace filtering to include or exclude specific AWS service metrics. Defaults to excluding only specified namespaces. | |
tag_filters | array | List of tag-based filters to control which AWS resources are monitored. Filters are applied during metrics collection. |
xray_services | Specify which AWS X-Ray services to collect distributed traces from. Use 'include_only' to monitor all services or provide a list of specific service names. |
delete_aws_account_integration Delete AWS Account Integration
Delete an AWS Account Integration configuration by its unique Datadog config ID. This removes the AWS integration from your Datadog account.
| Parameter | Type | Description |
|---|---|---|
aws_account_config_id * | string | The unique Datadog identifier for the AWS Account Integration Config. Retrieve this ID using the list AWS integrations endpoint and filtering by your AWS Account ID. |
get_aws_ccm_config Get AWS CCM Config
Retrieve the Cloud Cost Management configuration for an AWS account integration, which uses Cost and Usage Report (CUR) 2.0 for cost tracking and analysis.
| Parameter | Type | Description |
|---|---|---|
aws_account_config_id * | string | The unique Datadog identifier for the AWS account integration configuration. Retrieve this ID using the list AWS integrations endpoint and filtering by your AWS Account ID. |
configure_aws_account_ccm Configure AWS Account CCM
Configure Cloud Cost Management for an AWS account integration using Cost and Usage Report (CUR) 2.0. This enables cost tracking and analysis for the specified AWS account.
| Parameter | Type | Description |
|---|---|---|
aws_account_config_id * | string | The unique Datadog identifier for the AWS account integration configuration. Retrieve this ID using the List AWS integrations endpoint by querying your AWS Account ID. |
data_export_configs * | array | An ordered list of data export configurations that define how Cost and Usage Reports should be exported and processed for cost analysis. |
type * | string | The resource type identifier for this AWS Cloud Cost Management configuration. |
configure_aws_account_ccm_update Configure AWS Account CCM Update
Update the Cloud Cost Management configuration for an AWS account integration using Cost and Usage Report (CUR) 2.0 data exports.
| Parameter | Type | Description |
|---|---|---|
aws_account_config_id * | string | The unique Datadog identifier for the AWS account integration configuration to update. Retrieve this ID using the List AWS integrations endpoint by querying your AWS Account ID. |
data_export_configs * | array | An ordered list of data export configurations that define how Cost and Usage Reports are collected and processed for this AWS account. |
type * | string | The resource type identifier for AWS Cloud Cost Management configuration. |
delete_aws_ccm_config Delete AWS CCM Config
Delete the Cloud Cost Management configuration for an AWS Account Integration. This removes the Cost and Usage Report (CUR) 2.0 setup associated with the specified AWS account config.
| Parameter | Type | Description |
|---|---|---|
aws_account_config_id * | string | The unique Datadog identifier for the AWS Account Integration Config. Retrieve this ID using the List AWS integrations endpoint by querying your AWS Account ID. |
list_aws_cloudwatch_namespaces List AWS CloudWatch Namespaces
Retrieve all available AWS CloudWatch namespaces that can be integrated with Datadog for metric collection and monitoring.
list_event_bridge_sources List Event Bridge Sources
Retrieve all configured Amazon EventBridge sources available for integration. This operation lists all event sources that can be used to trigger workflows and automations.
create_eventbridge_source Create EventBridge Source
Create an Amazon EventBridge source to enable Datadog to receive events from your AWS account. Optionally creates the event bus if you have the required AWS permissions.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The AWS Account ID where the EventBridge source will be created. |
event_generator_name * | string | The base name for the event source. Datadog will append a suffix to create the full event source name. |
region * | string | The AWS region where the EventBridge source will be created. |
type * | string | The type of EventBridge resource being created. |
create_event_bus | boolean | When enabled, Datadog will create the event bus in addition to the event source. Requires the `events:CreateEventBus` permission in your AWS account. |
delete_event_bridge_source Delete Event Bridge Source
Delete an Amazon EventBridge source from your AWS account. This operation removes the event source integration and stops event delivery.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The AWS account ID where the EventBridge source is configured. |
event_generator_name * | string | The name of the event source to delete. |
region * | string | The AWS region where the event source is located. |
type * | string | The type of EventBridge resource being deleted. |
generate_aws_external_id Generate AWS External ID
Generate a new external ID for AWS role-based authentication. This creates a unique identifier used to establish secure cross-account access to AWS resources.
list_aws_log_services List AWS Log Services
Retrieve a list of AWS services that are compatible with sending logs to Datadog. Use this to identify which services can be integrated for log collection.
list_gcp_sts_accounts List GCP STS Accounts
Retrieve all GCP STS-enabled service accounts configured in your Datadog account. Use this to view available service accounts for GCP integration.
create_gcp_service_account Create GCP Service Account
Register a new GCP service account with Datadog for monitoring and security features. This enables metric collection, resource scanning, and optional security monitoring for your Google Cloud environment.
| Parameter | Type | Description |
|---|---|---|
account_tags | array | Tags to associate with all GCP metrics and service checks collected from this account. Use tags to organize and filter monitoring data by environment, team, or application. |
automute | boolean | Automatically silence monitors during expected GCE instance shutdowns to reduce alert noise from planned maintenance or scaling events. |
client_email | string | The email address of the GCP service account used for authentication and API access. |
is_cspm_enabled | boolean | Enable Cloud Security Posture Management to scan for security misconfigurations and compliance violations. Requires resource_collection_enabled to be true. |
is_global_location_enabled | boolean | Collect metrics from resources with global location scope or where location cannot be determined from GCP labels. |
is_per_project_quota_enabled | boolean | Attribute Google Cloud billing and quota usage to the monitored project instead of the service account's default project. |
is_resource_change_collection_enabled | boolean | Enable scanning for resource creation, modification, and deletion events across your Google Cloud environment. |
is_security_command_center_enabled | boolean | Collect Security Command Center findings to monitor security threats and vulnerabilities. Requires additional IAM permissions on the service account. |
metric_namespace_configs | array | Configure which GCP metric namespaces to collect. Each configuration specifies a namespace ID and optional filters to include or exclude specific metrics. Filters support wildcard patterns with ! pref… |
monitored_resource_configs | array | Configure which GCP resource types to monitor. Each configuration specifies a resource type and optional filters to match specific resources by label key-value pairs. |
region_filter_configs | array | Restrict resource collection to specific GCP regions, multi-regions, or zones. Only resources matching these locations are imported. Omit to collect from all locations. |
resource_collection_enabled | boolean | Enable automatic discovery and collection of all resources in your GCP environment. Required for CSPM and resource change collection features. |
update_gcp_sts_account Update GCP STS Account
Update configuration for a GCP STS-enabled service account, including monitoring preferences, resource collection settings, and metric namespace configurations.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier of the GCP STS-enabled service account to update. |
account_tags | array | Tags to associate with GCP metrics and service checks from this account for organization and filtering purposes. |
automute | boolean | When enabled, automatically silences monitors during expected GCE instance shutdowns to reduce alert noise. |
client_email | string | The email address associated with the GCP service account. |
is_cspm_enabled | boolean | When enabled, activates Datadog Cloud Security Monitoring for this service account. Requires resource_collection_enabled to be true. |
is_global_location_enabled | boolean | When enabled, collects metrics from GCP resources with explicit global location or where location cannot be determined from labels. |
is_per_project_quota_enabled | boolean | When enabled, applies the X-Goog-User-Project header to attribute Google Cloud billing and quota usage to the monitored project instead of the service account project. |
is_resource_change_collection_enabled | boolean | When enabled, scans for all resource change data across your Google Cloud environment. |
is_security_command_center_enabled | boolean | When enabled, collects Security Command Center Findings from your GCP environment. Requires additional IAM permissions on the service account. |
metric_namespace_configs | array | Array of configurations for GCP metric namespaces, specifying which namespaces to collect and any filtering rules to apply. |
monitored_resource_configs | array | Array of configurations for GCP monitored resources, specifying resource types and filter criteria to control which resources are imported. |
region_filter_configs | array | Array of GCP location identifiers (regions, multi-regions, or zones) to filter resource collection. Only resources matching these locations are imported; by default all locations are collected. |
resource_collection_enabled | boolean | When enabled, scans for all resources in your GCP environment to enable comprehensive monitoring and security analysis. |
delete_gcp_sts_account Delete GCP STS Account
Remove an STS-enabled GCP service account from Datadog. This operation permanently deletes the account integration and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier of the GCP STS-enabled service account to delete. |
list_gcp_sts_delegates List GCP STS Delegates
Retrieve all Datadog-GCP STS delegate accounts configured in your Datadog organization. Use this to view existing GCP service account delegates for cross-account access.
create_gcp_principal Create GCP Principal
Create a Datadog GCP principal for service account delegation. This establishes the trust relationship needed for Datadog to access your GCP resources.
| Parameter | Type | Description |
|---|---|---|
body | object | Configuration object for the GCP principal. Specify the service account details and delegation settings required to establish the integration. |
get_google_chat_space Get Google Chat Space by Display Name
Retrieve space information from the Datadog Google Chat integration by its display name, including the resource name and organization binding ID.
| Parameter | Type | Description |
|---|---|---|
domain_name * | string | The Google Chat domain name associated with the space. |
space_display_name * | string | The display name of the Google Chat space to retrieve. |
list_organization_handles List Organization Handles
Retrieve all organization handles configured in the Datadog Google Chat integration for a specific organization binding.
| Parameter | Type | Description |
|---|---|---|
organization_binding_id * | string | The unique identifier for your organization binding in the Google Chat integration. |
create_organization_handle Create Organization Handle
Create an organization handle to link a Google Chat space with your Datadog organization in the Google Chat integration.
| Parameter | Type | Description |
|---|---|---|
name * | string | A descriptive name for the organization handle. This identifies the handle within your integration setup. |
organization_binding_id * | string | The unique identifier for your organization binding in the Datadog Google Chat integration. |
space_resource_name * | string | The Google Chat space resource name that this organization handle will be associated with. Format: spaces/{SPACE_ID}. |
type * | string | The resource type identifier for this organization handle. |
get_organization_handle Get Organization Handle
Retrieve a specific organization handle from the Datadog Google Chat integration. Use this to fetch details about a configured handle within your organization binding.
| Parameter | Type | Description |
|---|---|---|
handle_id * | string | The unique identifier for the organization handle you want to retrieve. |
organization_binding_id * | string | The unique identifier for your organization binding in the Google Chat integration. |
update_organization_handle Update Organization Handle
Update an organization handle configuration for the Datadog Google Chat integration. Modify the Google space resource association for an existing organization handle.
| Parameter | Type | Description |
|---|---|---|
handle_id * | string | The unique identifier for the organization handle to update. |
organization_binding_id * | string | The unique identifier for your organization binding in the Google Chat integration. |
type * | string | The resource type identifier for this organization handle. |
space_resource_name | string | The Google space resource name to associate with this organization handle. Must be a valid Google Chat space resource identifier. |
remove_organization_handle Remove Organization Handle
Remove an organization handle from the Datadog Google Chat integration. This operation permanently deletes the handle association for the specified organization binding.
| Parameter | Type | Description |
|---|---|---|
handle_id * | string | The unique identifier for the organization handle to be deleted. |
organization_binding_id * | string | The unique identifier for your organization binding in the Google Chat integration. |
list_jira_accounts List Jira Accounts
Retrieve all Jira accounts configured for your organization. Use this to view available Jira integrations and their connection details.
delete_jira_account Delete Jira Account
Permanently delete a Jira account integration by its unique identifier. This action cannot be undone and will remove all associated Jira connections.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier of the Jira account to delete, formatted as a UUID. |
list_jira_issue_templates List Jira Issue Templates
Retrieve all Jira issue templates available for your organization. Use these templates to understand the structure and fields required when creating Jira issues through integrations.
create_issue_template Create Issue Template
Create a new Jira issue template for a specified Jira account and project. This template defines default fields and issue type configuration for streamlined issue creation.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the Jira account where the template will be created. Must be a valid UUID. |
fields | object | Custom fields to include in the Jira issue template, specified as key-value pairs with field configuration details. |
issue_type_id | string | The Jira issue type ID to associate with this template (e.g., Bug, Task, Story). |
project_id | string | The Jira project ID where the issue template will be available. |
get_issue_template Get Jira Issue Template
Retrieve a specific Jira issue template by its unique identifier. Use this to fetch template details for creating or managing Jira issues.
| Parameter | Type | Description |
|---|---|---|
issue_template_id * | string | The unique identifier of the Jira issue template to retrieve. |
delete_issue_template Delete Issue Template
Delete a Jira issue template by its unique identifier. This operation permanently removes the template and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
issue_template_id * | string | The unique identifier of the Jira issue template to delete. |
get_teams_channel Get Teams Channel
Retrieve channel information including tenant, team, and channel IDs from the Datadog Microsoft Teams integration.
| Parameter | Type | Description |
|---|---|---|
channel_name * | string | The Microsoft Teams channel name to retrieve information for. |
team_name * | string | The Microsoft Teams team name that contains the channel. |
tenant_name * | string | The Microsoft Teams tenant name where the channel resides. |
list_ms_teams_tenant_handles List MS Teams Tenant Handles
Retrieve all tenant-based handles configured for the Datadog Microsoft Teams integration. Use this to view existing handle mappings for a specific tenant.
| Parameter | Type | Description |
|---|---|---|
tenant_id | string | The Microsoft Teams tenant identifier. When provided, filters handles to those associated with this specific tenant. |
get_ms_teams_tenant_handle Get MS Teams Tenant Handle
Retrieve tenant, team, and channel information for a specific tenant-based handle in the Datadog Microsoft Teams integration.
| Parameter | Type | Description |
|---|---|---|
handle_id * | string | The unique identifier of the tenant-based handle to retrieve. |
list_ms_teams_webhook_handles List MS Teams Webhook Handles
Retrieve all webhook handles configured for Workflows in the Datadog Microsoft Teams integration. Use this to view existing webhook endpoints that route Teams events to your workflows.
get_workflows_webhook_handle Get Workflows Webhook Handle
Retrieve the configuration details of a Workflows webhook handle from the Datadog Microsoft Teams integration. Use this to fetch metadata about a specific webhook handle by its ID.
| Parameter | Type | Description |
|---|---|---|
handle_id * | string | The unique identifier of the Workflows webhook handle to retrieve. |
list_oci_products List OCI Products
Retrieve the list of Datadog products and their enabled/disabled status for specified OCI tenancies. Use product keys to filter which products to include in the results.
| Parameter | Type | Description |
|---|---|---|
productKeys * | string | Comma-separated list of product keys to filter results. Specify which Datadog products (such as Cloud Security Posture Management) to retrieve status information for. |
list_tenancy_configs List Tenancy Configs
Retrieve all configured OCI tenancy integrations with their authentication credentials, region settings, and collection preferences for metrics, logs, and resources.
get_tenancy_config Get Tenancy Configuration
Retrieve a specific OCI tenancy configuration by its OCID. Returns detailed settings including authentication credentials, enabled services, region configuration, and collection preferences.
| Parameter | Type | Description |
|---|---|---|
tenancy_ocid * | string | The Oracle Cloud Identifier (OCID) uniquely identifying the tenancy configuration to retrieve. |
update_tenancy_config Update Tenancy Configuration
Update an existing OCI tenancy configuration, including authentication credentials, data collection settings, service filters, and region configuration. Use with caution as changes apply immediately to data collection behavior.
| Parameter | Type | Description |
|---|---|---|
id * | string | The OCID (Oracle Cloud Identifier) of the OCI tenancy being updated. |
private_key * | string | The PEM-encoded private key corresponding to the OCI API signing key fingerprint used for authentication. |
tenancy_ocid * | string | The OCID (Oracle Cloud Identifier) of the tenancy configuration to update. |
type * | string | The resource type identifier for OCI tenancy configuration. |
cost_collection_enabled | boolean | Enable or disable cost data collection from OCI for this tenancy. |
enabled_services | array | List of OCI service names for which log collection is enabled. Service names should match OCI service identifiers. |
excluded_services | array | List of OCI service names to exclude from metrics collection. Excluded services will not have metrics collected. |
home_region | string | The home region of the OCI tenancy where the primary resources are located. |
logs_configCompartment_tag_filters | array | List of compartment tag filters to scope log collection to specific compartments. Filters are applied as AND conditions. |
logs_configEnabled | boolean | Enable or disable log collection from OCI services for this tenancy. |
metrics_configCompartment_tag_filters | array | List of compartment tag filters to scope metrics collection to specific compartments. Filters are applied as AND conditions. |
metrics_configEnabled | boolean | Enable or disable metrics collection from OCI services for this tenancy. |
regions_configEnabled | array | List of OCI region identifiers enabled for data collection. Only data from these regions will be collected. |
resource_collection_enabled | boolean | Enable or disable resource collection from OCI for this tenancy. |
delete_tenancy_config Delete Tenancy Config
Delete an existing OCI tenancy configuration, which stops all data collection from that tenancy and removes the stored configuration. This operation is permanent and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
tenancy_ocid * | string | The Oracle Cloud Infrastructure (OCI) OCID that uniquely identifies the tenancy configuration to delete. |
list_opsgenie_services List Opsgenie Services
Retrieve all services configured in the Datadog Opsgenie integration. This returns a complete list of service objects available for monitoring and alerting.
create_opsgenie_service Create Opsgenie Service
Create a new Opsgenie integration service to enable incident management and alerting capabilities. Configure the service with your Opsgenie API credentials and regional settings.
| Parameter | Type | Description |
|---|---|---|
name * | string | A descriptive name for this Opsgenie service integration. Used to identify the service within your system. |
opsgenie_api_key * | string | Your Opsgenie API key for authentication. This key grants access to your Opsgenie account and must have appropriate permissions for service operations. |
region * | string | The geographic region where your Opsgenie service is hosted. Use 'custom' if your instance is in a non-standard region and provide the custom_url. |
type * | string | The resource type identifier for this Opsgenie service integration. |
custom_url | string | The custom URL for your Opsgenie instance when using a custom region. Required only when region is set to 'custom'. |
get_opsgenie_service Get Opsgenie Service
Retrieve a single service from the Datadog Opsgenie integration by its unique identifier.
| Parameter | Type | Description |
|---|---|---|
integration_service_id * | string | The UUID of the Opsgenie service to retrieve. |
update_opsgenie_service Update Opsgenie Service
Update an existing Opsgenie service integration in Datadog. Modify service configuration including API credentials, region settings, and custom URLs.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier for the Opsgenie service being updated. Must be a valid UUID format. |
integration_service_id * | string | The UUID that uniquely identifies the service integration to update. |
type * | string | The resource type identifier for this Opsgenie service integration. |
custom_url | string | The custom URL endpoint for Opsgenie service in a custom region. |
opsgenie_api_key | string | The API key used to authenticate with your Opsgenie service. |
region | string | The geographic region where your Opsgenie service is hosted. |
delete_opsgenie_service Delete Opsgenie Service
Delete a service object from the Datadog Opsgenie integration. This operation removes the service configuration and its associated settings.
| Parameter | Type | Description |
|---|---|---|
integration_service_id * | string | The UUID identifier of the Opsgenie service to delete. |
list_assignment_groups List Assignment Groups
Retrieve all assignment groups configured for a specific ServiceNow instance. Assignment groups are used to organize and route work items to appropriate teams.
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | The unique identifier of the ServiceNow instance from which to retrieve assignment groups. |
list_business_services List Business Services
Retrieve all business services configured for a specified ServiceNow instance. This operation returns the complete list of business services available in the target instance.
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | The unique identifier of the ServiceNow instance from which to retrieve business services. |
list_servicenow_templates List ServiceNow Templates
Retrieve all available ServiceNow templates configured for your organization. Use this to discover template options for ServiceNow integration workflows.
list_servicenow_instances List ServiceNow Instances
Retrieve all ServiceNow instances configured for your organization. Use this to discover available ServiceNow integrations and their details.
list_servicenow_users List ServiceNow Users
Retrieve all users from a specified ServiceNow instance. Use this to fetch the complete user roster for integration, reporting, or synchronization purposes.
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | The unique identifier of the ServiceNow instance to query for users. |
list_integrations List Integrations
Retrieve a list of all available integrations. Use this to discover and manage integrations configured in your workspace.
list_cloudflare_accounts List Cloudflare Accounts
Retrieve a list of all connected Cloudflare accounts integrated with this system. Use this to view available Cloudflare accounts for further operations.
create_cloudflare_account Create Cloudflare Account
Create a new Cloudflare account integration to enable metrics collection. Optionally restrict data collection to specific resources and zones.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | API credential for authenticating with Cloudflare. Use either an API token or API key—if using an API key, the email field is also required. |
name * | string | Display name for this Cloudflare account integration. |
type * | string | JSON:API resource type identifier. Must always be set to the fixed value for Cloudflare account resources. |
email | string | Email address associated with the Cloudflare account. Required when using an API key (as opposed to an API token). |
resources | array | Optional allowlist of resource types to monitor. Restricts metrics collection to specified resources only. Valid types include web, dns, lb (load balancer), and worker. |
zones | array | Optional allowlist of zone IDs to monitor. Restricts metrics collection to specified zones only. |
get_cloudflare_account Get Cloudflare Account
Retrieve details for a specific Cloudflare account integration. Use this to fetch account information and configuration settings.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier of the Cloudflare account to retrieve. |
update_cloudflare_account Update Cloudflare Account
Update an existing Cloudflare account integration with new credentials and resource restrictions. Allows you to modify API authentication, restrict metrics collection to specific resources and zones, and manage account access.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier of the Cloudflare account integration to update. |
api_key * | string | The API key for authenticating with Cloudflare. Required for API key-based authentication. |
email | string | The email address associated with the Cloudflare account. Required when using API key authentication (as opposed to API tokens). |
resources | array | An allowlist of resource types to restrict metrics collection. Specify which Cloudflare services to monitor: web (CDN/WAF), dns (DNS management), lb (load balancer), or worker (Cloudflare Workers). |
zones | array | An allowlist of zone IDs to restrict metrics collection. Only metrics from specified zones will be pulled; omit to collect from all zones. |
delete_cloudflare_account Delete Cloudflare Account
Permanently delete a Cloudflare account integration. This action removes the account connection and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier of the Cloudflare account integration to delete. |
list_confluent_accounts List Confluent Cloud Accounts
Retrieve a list of all Confluent Cloud accounts integrated with this workspace. Use this to view available Confluent account connections.
create_confluent_account Create Confluent Account
Create a new Confluent Cloud account integration. This establishes a connection to your Confluent Cloud environment using API credentials.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | The API key credential for authenticating with your Confluent Cloud account. |
api_secret * | string | The API secret credential paired with your API key for authenticating with your Confluent Cloud account. |
type * | string | The JSON:API resource type identifier for this Confluent Cloud account. |
resources | array | An optional list of Confluent resources to associate with this account integration. |
tags | array | An optional list of tags for organizing and categorizing this account. Tags can be simple labels or key-value pairs separated by a colon. |
get_confluent_account Get Confluent Account
Retrieve details for a specific Confluent Cloud account using its account ID. This operation returns the account configuration and metadata.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier for the Confluent Cloud account to retrieve. |
update_confluent_account Update Confluent Account
Update an existing Confluent Cloud account with new API credentials and metadata. Requires the account ID and valid API credentials for authentication.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier for the Confluent account to update. |
api_key * | string | The API key credential for authenticating with the Confluent account. |
api_secret * | string | The API secret credential for authenticating with the Confluent account. |
type * | string | The JSON:API resource type identifier for Confluent Cloud accounts. |
tags | array | Optional list of tags for organizing and categorizing the account. Supports simple tags or key-value pairs separated by a colon. |
delete_confluent_account Delete Confluent Account
Permanently delete a Confluent Cloud account integration. This action removes the account and all associated configurations from the system.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier of the Confluent Cloud account to delete. |
list_confluent_resources List Confluent Cloud Resources
Retrieve all Confluent resources associated with a specific Confluent Cloud account. This operation lists the resources available within the account identified by the provided account ID.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier for the Confluent Cloud account whose resources you want to list. |
add_confluent_resource Add Confluent Resource
Add a new resource to a Confluent Cloud account. Supports Kafka, connectors, ksqlDB, and schema registry resources with optional custom metrics and tagging.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier of the Confluent Cloud account where the resource will be created. |
id * | string | The unique identifier for the Confluent resource being added to the account. |
resource_type * | string | The type of Confluent resource being created: kafka for Kafka clusters, connector for Confluent connectors, ksql for ksqlDB applications, or schema_registry for schema registry instances. |
type * | string | The JSON:API resource type identifier for this request. |
enable_custom_metrics | boolean | Enable collection of the custom consumer lag offset metric with additional metric tags for enhanced monitoring granularity. |
tags | array | A list of tags for organizing and filtering the resource. Tags can be simple keys or key-value pairs separated by a colon (e.g., 'environment:production'). |
get_confluent_resource Get Confluent Resource
Retrieve a specific Confluent Cloud resource by its resource ID from a given Confluent account. Use this to fetch details about a particular resource within your Confluent Cloud integration.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier for the Confluent Cloud account containing the resource. |
resource_id * | string | The unique identifier for the Confluent Cloud resource to retrieve. |
update_confluent_resource Update Confluent Resource
Update a Confluent resource configuration for a specified account. Modify resource settings such as custom metrics and tags.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier for the Confluent account containing the resource to update. |
id * | string | The unique identifier associated with this Confluent resource. |
resource_id * | string | The unique identifier for the Confluent resource to update. |
resource_type * | string | The type of Confluent resource being updated. Determines which resource configuration is modified. |
type * | string | The JSON:API resource type for this request. Must be set to confluent-cloud-resources. |
enable_custom_metrics | boolean | Enable collection of the custom consumer lag offset metric with additional metric tags for enhanced monitoring. |
tags | array | A list of tags to assign to the resource. Tags can be simple keys or key-value pairs separated by a colon. |
delete_confluent_resource Delete Confluent Resource
Delete a Confluent resource from the specified account. This operation permanently removes the resource and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier for the Confluent Cloud account containing the resource to delete. |
resource_id * | string | The unique identifier for the Confluent resource to delete from the account. |
list_fastly_accounts List Fastly Accounts
Retrieve a list of all Fastly accounts integrated with your workspace. This operation returns account details for managing Fastly CDN configurations.
create_fastly_account Create Fastly Account
Create a new Fastly account integration. This establishes a connection to your Fastly CDN service by storing account credentials and metadata.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | The API key credential for authenticating with the Fastly account. |
name * | string | A descriptive name for this Fastly account integration. |
type * | string | The JSON:API resource type identifier for this object. This value must always be set to the specified type. |
services | array | An optional list of Fastly services associated with this account. Services are processed in the order provided. |
get_fastly_account Get Fastly Account
Retrieve details for a specific Fastly account by its ID. Use this to fetch account configuration and metadata from your Fastly integration.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier for the Fastly account to retrieve. |
update_fastly_account Update Fastly Account
Update configuration and settings for an existing Fastly account integration. This operation allows you to modify account details and preferences.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier of the Fastly account to update. |
delete_fastly_account Delete Fastly Account
Permanently delete a Fastly account integration. This action cannot be undone and will remove all associated configuration and data.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier of the Fastly account to delete. |
list_services_fastly List Fastly Services
Retrieve all Fastly services configured for a specific account. Returns a list of services with their configurations and metadata.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier for the Fastly account whose services should be listed. |
create_fastly_service Create Fastly Service
Create a new Fastly service for an account. This registers a Fastly service with the integration, allowing you to manage and monitor it.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier of the Fastly account where the service will be created. |
id * | string | The unique identifier of the Fastly service to be created. |
type * | string | The JSON:API resource type identifier for this operation. |
tags | array | Optional labels to organize and categorize the Fastly service. Tags can include simple labels or key-value pairs separated by a colon. |
get_fastly_service Get Fastly Service
Retrieve details for a specific Fastly service within an account. Returns the service configuration and metadata.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier for the Fastly account containing the service. |
service_id * | string | The unique identifier for the Fastly service to retrieve. |
update_fastly_service Update Fastly Service
Update configuration and metadata for a Fastly service within an account. Allows modification of service tags and other service properties.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier for the Fastly account containing the service to update. |
id * | string | The unique identifier of the Fastly service being updated. Must match the service_id parameter. |
service_id * | string | The unique identifier for the Fastly service to update. |
type * | string | The JSON:API resource type identifier for this operation. Must always be set to the standard Fastly services type. |
tags | array | A list of tags to assign to the Fastly service for organization and filtering purposes. Tags can be simple labels or key-value pairs separated by a colon. |
delete_fastly_service Delete Fastly Service
Delete a Fastly service from an account. This operation permanently removes the specified service and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier for the Fastly account containing the service to delete. |
service_id * | string | The unique identifier for the Fastly service to delete. |
list_okta_accounts List Okta Accounts
Retrieve a list of all Okta accounts integrated with the system. Use this operation to view available Okta account configurations.
create_okta_account Create Okta Account
Create a new Okta account integration with the specified authentication method and domain. This establishes a connection to your Okta organization for identity management.
| Parameter | Type | Description |
|---|---|---|
auth_method * | string | The authorization method used to authenticate with the Okta account. |
domain * | string | The base domain URL of your Okta organization (e.g., https://example.okta.com/). |
name * | string | A descriptive name for this Okta account integration to identify it in your system. |
type * | string | The type classification for this Okta account integration. |
client_id | string | The Client ID from your Okta app integration. Required for OAuth-based authentication. |
get_okta_account Get Okta Account
Retrieve details for a specific Okta account integration. Use this to fetch configuration and status information for an Okta account by its unique identifier.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier of the Okta account to retrieve. |
update_okta_account Update Okta Account
Update an existing Okta account configuration, including authentication method, client credentials, and domain settings.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier of the Okta account to update. |
auth_method * | string | The authorization method used to authenticate with the Okta account. |
domain * | string | The domain URL associated with the Okta account (e.g., https://dev-test.okta.com/). |
client_id | string | The Client ID credential for the Okta app integration. Required for OAuth-based authentication. |
delete_okta_account Delete Okta Account
Permanently delete an Okta account integration. This action cannot be undone and will remove all associated configuration and credentials.
| Parameter | Type | Description |
|---|---|---|
account_id * | string | The unique identifier of the Okta account to delete. |
list_experiments List Experiments
Retrieve all LLM Observability experiments sorted by creation date in descending order. Filter results by project or dataset to narrow the scope.
| Parameter | Type | Description |
|---|---|---|
filterdataset_id | string | Filter experiments by dataset ID to retrieve experiments associated with a specific dataset. |
filterproject_id | string | Filter experiments by project ID. Either this or filter[dataset_id] is required to scope the results. |
pagelimit | string | Maximum number of experiment records to return in a single page of results. |
create_experiment Create Experiment
Create a new LLM Observability experiment within a project using a specified dataset. The experiment can be configured with custom parameters, metadata, and optional version pinning.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The dataset to use for this experiment. This dataset must exist in the project. |
name * | string | A human-readable name for the experiment. |
project_id * | string | The project that owns this experiment. The project must exist and be accessible. |
type * | string | The resource type identifier for LLM Observability experiments. |
config | object | Configuration parameters that customize experiment behavior and processing settings. |
dataset_version | string | The specific version of the dataset to use. If not specified, the current version is used automatically. |
description | string | A human-readable description explaining the purpose or details of this experiment. |
ensure_unique | boolean | Whether to enforce unique experiment names within the project. When enabled, the operation will fail if an experiment with the same name already exists. |
metadata | object | Custom key-value metadata to attach to the experiment for tracking, categorization, or integration purposes. |
delete_experiments Delete Experiments
Delete one or more LLM Observability experiments. Permanently removes the specified experiments and their associated data.
| Parameter | Type | Description |
|---|---|---|
experiment_ids * | array | List of experiment IDs to delete. Each ID uniquely identifies an experiment to be removed. |
type * | string | Resource type identifier for LLM Observability experiments. Must be set to the standard resource type value. |
update_experiment Update Experiment
Partially update an existing LLM Observability experiment by modifying its description or other properties.
| Parameter | Type | Description |
|---|---|---|
experiment_id * | string | The unique identifier of the LLM Observability experiment to update. |
type * | string | The resource type identifier for an LLM Observability experiment. |
description | string | Updated description for the experiment. |
push_experiment_events Push Experiment Events
Push spans and metrics data to an LLM Observability experiment for tracking and analysis.
| Parameter | Type | Description |
|---|---|---|
experiment_id * | string | The unique identifier of the LLM Observability experiment to receive the events. |
type * | string | The resource type identifier for LLM Observability experiment events. |
metrics | array | An ordered list of metric objects to record for the experiment. Each metric captures quantitative measurements. |
spans | array | An ordered list of span objects representing traced operations or events within the experiment execution. |
list_llm_observability_projects List LLM Observability Projects
Retrieve all LLM Observability projects sorted by creation date in descending order (newest first). Use pagination to control the number of results returned per page.
| Parameter | Type | Description |
|---|---|---|
pagelimit | string | Maximum number of projects to return in a single page of results. |
create_project_llm_obs Create LLM Observability Project
Create a new LLM Observability project for monitoring and analyzing language model interactions. If a project with the same name already exists, the existing project is returned.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the project. Must be unique within your workspace. |
type * | string | The resource type identifier for an LLM Observability project. |
description | string | Optional description providing additional context or details about the project's purpose. |
delete_llm_observability_projects Delete LLM Observability Projects
Delete one or more LLM Observability projects. This operation permanently removes the specified projects and their associated data.
| Parameter | Type | Description |
|---|---|---|
project_ids * | array | List of unique identifiers for the LLM Observability projects to delete. Each ID must be a valid UUID. |
type * | string | The resource type identifier for LLM Observability projects. This parameter specifies the type of resources being deleted. |
update_llm_observability_project Update LLM Observability Project
Partially update an existing LLM Observability project by modifying its description and confirming its resource type.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the LLM Observability project to update. |
type * | string | The resource type identifier for the LLM Observability project. |
description | string | The updated description for the project. |
list_datasets_llm_obs List LLM Observability Datasets
Retrieve all LLM Observability datasets for a project, sorted by creation date with newest first. Use pagination to control result size.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The unique identifier of the LLM Observability project containing the datasets to retrieve. |
pagelimit | string | The maximum number of datasets to return in a single page of results. Use this to control pagination size. |
create_dataset_llm_obs Create LLM Observability Dataset
Create a new LLM Observability dataset within the specified project. The dataset serves as a container for organizing and managing observability data.
| Parameter | Type | Description |
|---|---|---|
name * | string | The human-readable name for the dataset. Used for identification and display purposes. |
project_id * | string | The unique identifier of the LLM Observability project where the dataset will be created. |
type * | string | The resource type identifier for this LLM Observability dataset. |
description | string | Optional description providing context about the dataset's purpose and contents. |
metadata | object | Optional custom metadata as key-value pairs for storing additional dataset attributes. |
delete_datasets Delete Datasets
Delete one or more LLM Observability datasets from the specified project. This operation permanently removes the selected datasets and their associated data.
| Parameter | Type | Description |
|---|---|---|
dataset_ids * | array | An array of dataset identifiers to delete. All specified datasets will be removed from the project. |
project_id * | string | The unique identifier of the LLM Observability project containing the datasets to delete. |
type * | string | The resource type classification for LLM Observability datasets. |
update_dataset_llm_obs Update LLM Observability Dataset
Partially update an existing LLM Observability dataset within a project. Allows modification of dataset description, metadata, and type.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The unique identifier of the dataset to update. |
project_id * | string | The unique identifier of the LLM Observability project containing the dataset. |
type * | string | Resource type identifier for the LLM Observability dataset. |
description | string | Updated description of the dataset. |
metadata | object | Updated metadata object associated with the dataset. |
list_dataset_records List Dataset Records
Retrieve all records from an LLM Observability dataset, sorted by creation date with newest records first. Supports filtering by dataset version and pagination.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The unique identifier of the dataset from which to retrieve records. |
project_id * | string | The unique identifier of the LLM Observability project containing the dataset. |
filterversion | string | Filter records to a specific dataset version. If not specified, returns records from the current version. |
pagelimit | string | Maximum number of records to return in a single page response. Use for pagination control. |
append_dataset_records Append Dataset Records
Append one or more records to an LLM Observability dataset, with optional deduplication to prevent duplicate entries.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The unique identifier of the LLM Observability dataset to append records to. |
project_id * | string | The unique identifier of the LLM Observability project containing the dataset. |
records * | array | An ordered list of records to append to the dataset. Each record should conform to the dataset's schema. |
type * | string | The resource type identifier for LLM Observability dataset records. |
deduplicate | boolean | Whether to deduplicate records before appending. When enabled, duplicate records are removed before insertion. Defaults to true. |
update_observability_records Update Observability Records
Update one or more existing records in an LLM Observability dataset. Allows bulk modifications to dataset records within a specified project.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The unique identifier of the dataset within the project whose records will be updated. |
project_id * | string | The unique identifier of the LLM Observability project containing the dataset. |
records * | array | An array of record objects to update. Each record should contain the necessary fields for the update operation. |
type * | string | The resource type identifier for dataset records. |
delete_dataset_records Delete Dataset Records
Delete one or more records from an LLM Observability dataset. Permanently removes the specified records from the dataset.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | The unique identifier of the LLM Observability dataset from which records will be deleted. |
project_id * | string | The unique identifier of the LLM Observability project containing the dataset. |
record_ids * | array | List of record IDs to delete. Each ID uniquely identifies a record within the dataset. |
type * | string | The resource type designation for LLM Observability dataset records. |
send_logs Send Logs
Submit logs to Datadog over HTTP. Supports single or batch log submissions with automatic truncation for oversized entries. Logs can be timestamped up to 18 hours in the past.
| Parameter | Type | Description |
|---|---|---|
body * | array | Array of log objects to submit. Each log object contains message content and metadata (source, tags, hostname, service). Supports up to 1000 logs per request; individual logs exceeding 1MB are truncat… |
aggregate_logs Aggregate Logs
Aggregate log events into buckets and compute metrics or timeseries data over a specified time range. Supports grouping, filtering by indexes, and querying across different storage tiers.
| Parameter | Type | Description |
|---|---|---|
compute | array | List of metrics or timeseries calculations to compute for each bucket (e.g., count, sum, average, percentiles). |
from | string | Start time for the log query window. Accepts date math expressions (e.g., now-15m) or absolute timestamps in milliseconds. |
group_by | array | Grouping rules to organize aggregated results into buckets by specified fields or dimensions. |
indexes | array | Indexes to search across. Use wildcard '*' to query all available indexes, or specify a list of index names. |
storage_tier | string | Storage tier to query from. Choose between live indexes, archived data, or flexible storage options. |
timeOffset | string | Time offset in seconds to apply to the entire query window, useful for timezone adjustments or relative time shifts. |
to | string | End time for the log query window. Accepts date math expressions (e.g., now) or absolute timestamps in milliseconds. |
list_archive_order List Archive Order
Retrieve the current ordering configuration of your log archives. This determines the sequence in which archives are processed or displayed.
reorder_archives Reorder Archives
Reorder your log archives to change the sequence in which logs are processed. Since archives are processed sequentially, changing the order may alter the structure and content of data processed by downstream archives.
| Parameter | Type | Description |
|---|---|---|
archive_ids * | array | An ordered array of archive IDs that defines the new processing sequence. The position of each ID in the array determines its priority in the archive order. |
type * | string | The type identifier for this archive order configuration. |
list_log_archives List Log Archives
Retrieve all configured log archives with their complete definitions and settings.
create_archive Create Archive
Create a new logs archive in your organization to store logs matching a specific query. Archives enable long-term log retention and rehydration capabilities.
| Parameter | Type | Description |
|---|---|---|
destination * | The destination where archived logs will be stored (e.g., S3 bucket, Azure Blob Storage, or GCS). | |
name * | string | A descriptive name for the archive to identify it in your organization. |
query * | string | A query filter that determines which logs are included in the archive. Only logs matching this query will be archived. |
type * | string | The resource type identifier. This value must always be set to 'archives'. |
include_tags | boolean | Whether to preserve tags when archiving logs. If false, tags are removed during archival. |
rehydration_max_scan_size_in_gb | string | Maximum amount of data (in GB) that can be scanned when rehydrating logs from this archive. |
rehydration_tags | array | Tags to automatically add to logs when they are rehydrated from this archive. Specify as an array of tag strings. |
get_archive Get Archive
Retrieve a specific log archive from your organization by its ID. Use this to access archive configuration and details.
| Parameter | Type | Description |
|---|---|---|
archive_id * | string | The unique identifier of the archive to retrieve. |
update_archive Update Archive
Update an existing log archive configuration by replacing it with the provided settings. This operation fully replaces the current archive configuration in your Datadog organization.
| Parameter | Type | Description |
|---|---|---|
archive_id * | string | The unique identifier of the archive to update. |
destination * | The destination where archived logs will be stored. | |
name * | string | A descriptive name for the archive. |
query * | string | A query filter that determines which logs are included in the archive. Only logs matching this query will be archived. |
type * | string | The resource type identifier. This value must always be set to 'archives'. |
include_tags | boolean | Whether to preserve tags when logs are sent to the archive. If false, tags will be removed from archived logs. |
rehydration_max_scan_size_in_gb | string | The maximum amount of data (in GB) that can be scanned when rehydrating logs from this archive. |
rehydration_tags | array | An array of tags to automatically add to logs when they are rehydrated from this archive. |
delete_archive Delete Archive
Delete a log archive from your organization. This action permanently removes the archive configuration and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
archive_id * | string | The unique identifier of the archive to delete. |
list_archive_readers List Archive Readers
Retrieve all read roles that have access to a specific archive. Returns the list of roles with read permissions for the archive.
| Parameter | Type | Description |
|---|---|---|
archive_id * | string | The unique identifier of the archive for which to retrieve read roles. |
list_custom_destinations List Custom Destinations
Retrieve all configured custom log destinations in your organization, including their complete definitions and settings.
get_custom_destination Get Custom Destination
Retrieve a specific custom destination configuration from your organization. Use this to view the details and settings of a custom log destination.
| Parameter | Type | Description |
|---|---|---|
custom_destination_id * | string | The unique identifier of the custom destination to retrieve. |
update_custom_destination Update Custom Destination
Update specific fields of a custom destination to control log forwarding behavior and tag handling in your organization.
| Parameter | Type | Description |
|---|---|---|
custom_destination_id * | string | The unique identifier of the custom destination to update. |
id * | string | The unique identifier of the custom destination resource. |
type * | string | The resource type identifier. Must always be set to 'custom_destination'. |
enabled | boolean | Enable or disable log forwarding for this custom destination. |
forward_tags | boolean | Enable or disable forwarding of tags attached to the logs. |
forward_tags_restriction_list | array | List of tag keys to restrict from being forwarded. An empty list means no restriction is applied. Maximum 10 tag keys allowed. |
forward_tags_restriction_list_type | string | Determines how the restriction list is applied. Use ALLOW_LIST to forward only tags in the restriction list, or BLOCK_LIST to forward all tags except those in the list. |
forwarder_destination | The destination configuration specifying where logs should be forwarded. |
delete_custom_destination Delete Custom Destination
Delete a custom destination from your organization. This action permanently removes the specified custom destination and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
custom_destination_id * | string | The unique identifier of the custom destination to delete. |
list_log_metrics List Log Metrics
Retrieve all configured log-based metrics with their complete definitions and settings.
create_logs_metric Create Logs Metric
Create a metric based on ingested logs in your organization. The metric can aggregate log data by count or distribution across specified dimensions.
| Parameter | Type | Description |
|---|---|---|
aggregation_type * | string | The aggregation function to apply to the log data. Use 'count' for simple counting or 'distribution' to analyze value distributions. |
id * | string | A unique identifier for the log-based metric. Use a descriptive name following dot-separated naming conventions. |
type * | string | The resource type identifier. Must always be set to 'logs_metrics' for log-based metrics. |
group_by | array | Array of grouping rules to segment the metric by log attributes. Each rule defines how to partition the aggregated data. |
include_percentiles | boolean | Include percentile calculations (p50, p75, p90, p95, p99) in the metric output. Only applicable when aggregation_type is 'distribution'. |
path | string | The log field path to aggregate on when using distribution aggregation. Use dot notation for nested fields and @ prefix for reserved fields. |
get_logs_metric Get Logs Metric
Retrieve a specific log-based metric configuration from your organization. Use this to view the details and settings of a metric used for analyzing log data.
| Parameter | Type | Description |
|---|---|---|
metric_id * | string | The unique identifier or name of the log-based metric to retrieve. |
update_logs_metric Update Logs Metric
Update a log-based metric in your organization. Returns the updated log-based metric object.
| Parameter | Type | Description |
|---|---|---|
metric_id * | string | The unique identifier of the log-based metric to update. |
type * | string | The resource type identifier. Must be set to the logs_metrics resource type. |
group_by | array | Rules for grouping the metric data. Specify as an ordered array of grouping criteria. |
include_percentiles | boolean | Include or exclude percentile aggregations for distribution metrics. Only applicable when the metric uses distribution aggregation. |
delete_logs_metric Delete Logs Metric
Delete a specific log-based metric from your organization. This operation permanently removes the metric and stops collecting data for it.
| Parameter | Type | Description |
|---|---|---|
metric_id * | string | The unique identifier of the log-based metric to delete. |
list_restriction_queries List Restriction Queries
Retrieve all restriction queries configured in the system, including their names and IDs. Results are paginated for efficient data retrieval.
| Parameter | Type | Description |
|---|---|---|
pagenumber | string | Zero-indexed page number to retrieve. Use this to navigate through paginated results. |
pagesize | string | Number of restriction queries to return per page. Use this to control result set size. |
get_restriction_query Get Restriction Query
Retrieve a specific restriction query by its ID from your organization. Restriction queries define data access controls and filtering rules.
| Parameter | Type | Description |
|---|---|---|
restriction_query_id * | string | The unique identifier of the restriction query to retrieve. |
update_restriction_query Update Restriction Query
Modify an existing restriction query to change its filtering criteria. Use this to update query rules that control log access or filtering behavior.
| Parameter | Type | Description |
|---|---|---|
restriction_query * | string | The restriction query string that defines the filtering criteria (e.g., environment or tag-based filters). |
restriction_query_id * | string | The unique identifier of the restriction query to update. |
delete_restriction_query Delete Restriction Query
Permanently deletes a restriction query from the logs configuration. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
restriction_query_id * | string | The unique identifier of the restriction query to delete. |
list_restriction_query_roles List Restriction Query Roles
Retrieve all roles associated with a specific restriction query. Use pagination to control the number of results returned.
| Parameter | Type | Description |
|---|---|---|
restriction_query_id * | string | The unique identifier of the restriction query for which to retrieve associated roles. |
pagenumber | string | Zero-indexed page number to retrieve from the paginated results. |
pagesize | string | Number of roles to return per page. Maximum allowed is 100. |
grant_role_to_restriction_query Grant Role to Restriction Query
Grant a role access to a restriction query, which automatically provisions the logs_read_data permission if not already assigned. Use this to control which roles can access specific log data restrictions.
| Parameter | Type | Description |
|---|---|---|
restriction_query_id * | string | The unique identifier of the restriction query to which the role will be granted access. |
revoke_role_from_restriction_query Revoke Role from Restriction Query
Removes a role from a restriction query, revoking its access permissions. This operation updates the role assignments for the specified restriction query.
| Parameter | Type | Description |
|---|---|---|
restriction_query_id * | string | The unique identifier of the restriction query from which the role will be removed. |
search_logs Search Logs
Search and filter logs matching a query with optional time range and index selection. Results are paginated and support multiple storage tiers including archives.
| Parameter | Type | Description |
|---|---|---|
filterfrom | string | Start of the time range for log search. Logs with timestamps at or after this value are included. |
filterindexes | array | Specific log indexes to search. Defaults to all indexes when not specified. Provide as an ordered list of index names. |
filterquery | string | Search query using Datadog logs syntax to filter logs by attributes, tags, and values. |
filterstorage_tier | string | Storage tier to query. Use 'indexes' for standard logs, 'online-archives' for archived logs, or 'flex' for flexible storage. |
filterto | string | End of the time range for log search. Logs with timestamps at or before this value are included. |
pagelimit | string | Maximum number of logs to return in a single response. Use pagination to retrieve additional results. |
search_logs_advanced Search Logs Advanced
Search and filter logs matching a query with support for date ranges, index selection, and pagination. Results are paginated and can be retrieved from indexes, online archives, or flex storage.
| Parameter | Type | Description |
|---|---|---|
from | string | The start time for the log search. Supports date math expressions (e.g., now-15m) and Unix timestamps in milliseconds. |
indexes | array | List of log indexes to search. Use ['*'] to search all available indexes. Useful for organizations with multiple indexes. |
limit | string | Maximum number of logs to return in the response. Useful for controlling response size and pagination. |
storage_tier | string | Storage tier to query. Select 'indexes' for standard logs, 'online-archives' for archived logs, or 'flex' for flexible storage. |
timeOffset | string | Time offset in seconds to apply to the query timestamps. Useful for adjusting time-based filtering. |
to | string | The end time for the log search. Supports date math expressions and Unix timestamps in milliseconds. |
list_metrics List Metrics
Retrieve a list of actively reporting metrics for your organization with optional filtering by configuration, type, and usage. Supports pagination via cursor-based navigation.
| Parameter | Type | Description |
|---|---|---|
filterconfigured | boolean | Filter to return only custom metrics that have been configured with Metrics Without Limits. |
filterinclude_percentiles | boolean | Filter to return only distribution metrics with percentile aggregations enabled (true) or disabled (false). |
filtermetric_type | string | Filter to return only metrics of the specified type. |
filterqueried | boolean | Filter to return only metrics that have been queried (true) or not queried (false) within the specified lookback window. If no window is specified, a default window is applied. |
filterrelated_assets | boolean | Filter to return only metrics that are actively used in at least one dashboard, monitor, notebook, or SLO. |
filtertags_configured | string | Filter to return only metrics containing the specified tag key(s) in their Metrics Without Limits configuration, whether included or excluded. |
pagesize | string | Maximum number of results to return per page. Use with cursor-based pagination for retrieving large result sets. |
tag_filter_logic | string | How to combine multiple filters: 'AND' or 'OR' |
tag_filters | array | List of tag filter conditions. Each dict has 'key' (tag key), 'operator' (AND/OR/IN), and 'value' (tag value or comma-separated values for IN) |
tag_wildcards_enabled | boolean | Whether to enable wildcard matching (e.g., service:web*) |
windowseconds | string | Specify the time window in seconds for evaluating metric activity. Used with the queried filter to determine which metrics have been actively reporting. |
configure_metric_tags Configure Metric Tags in Bulk
Configure queryable tags for multiple metrics by matching metric name prefixes. Tag configurations can be applied inclusively (only specified tags queryable) or exclusively (all tags except specified ones queryable), and results can be sent to specified email addresses.
| Parameter | Type | Description |
|---|---|---|
id * | string | Text prefix to match against metric names. All metrics starting with this prefix will receive the tag configuration. |
type * | string | Resource type identifier for metric bulk tag configuration. |
emails | array | Email addresses to notify when the tag configuration is successfully applied. |
exclude_tags_mode | boolean | When true, excludes the specified tags and includes all others. When false, includes only the specified tags and excludes all others. |
include_actively_queried_tags_window | number | Time window in seconds to automatically include all tags that have been actively queried for matching metrics. Allows tags to remain queryable based on recent usage patterns. |
override_existing_configurations | boolean | When true, replaces any existing tag configurations for matching metrics with this new configuration. When false, merges this configuration with existing ones. |
tags | array | List of tag names to configure for metrics matching the prefix. Tag order is not significant. |
remove_metric_tags Remove Metric Tags
Remove custom tag configurations from multiple metrics by name prefix. Optionally notify specified email addresses when the deletion is applied.
| Parameter | Type | Description |
|---|---|---|
id * | string | Metric name prefix used to select which metrics to remove tags from. All metrics starting with this prefix will be affected. |
type * | string | The resource type for bulk metric tag configuration operations. |
emails | array | Email addresses to notify when the tag deletion is completed. Notifications are sent to each address in the list. |
list_metric_configurations List Metric Configurations
Retrieve active metric configurations including tags and aggregations currently in use across dashboards, notebooks, monitors, the Metrics Explorer, and API queries for a specified metric.
| Parameter | Type | Description |
|---|---|---|
metric_name * | string | The name of the metric to retrieve active configurations for. |
windowseconds | string | The lookback window in seconds from the current time to analyze active metric usage. Defaults to 1 week. |
list_metric_tags List Metric Tags
Retrieve indexed and ingested tags for a specified metric, with results filtered by a configurable time window (default 4 hours).
| Parameter | Type | Description |
|---|---|---|
metric_name * | string | The name of the metric to query for tags. |
filterallow_partial | boolean | Allow partial results to be returned if the query cannot complete fully. Defaults to false. |
filterinclude_tag_values | boolean | Include tag values in the response. Defaults to true. |
filtermatch | string | Filter returned tags to those matching the specified substring pattern. |
filtertags | string | Filter results to include only tags from data points that contain all specified tags. Provide as comma-separated key:value pairs. |
pagelimit | string | Maximum number of results to return in the response. |
windowseconds | string | Number of seconds to look back from the current time when querying tag data. Minimum value is 4 hours (14400 seconds). |
get_metric_assets Get Metric Assets
Retrieve all dashboards, monitors, notebooks, and SLOs that reference a specific metric. Asset data is updated every 24 hours.
| Parameter | Type | Description |
|---|---|---|
metric_name * | string | The name of the metric to retrieve related assets for. |
estimate_metric_cardinality Estimate Metric Cardinality
Estimates the cardinality (unique value count) for a metric based on tag configuration, aggregation settings, and historical data window. Uses Metrics without Limits™ to optimize metric storage and query performance.
| Parameter | Type | Description |
|---|---|---|
metric_name * | string | The name of the metric to estimate cardinality for. |
filtergroups | string | Comma-separated list of tag keys to filter the cardinality estimation. Only metrics configured with these tags will be included in the calculation. |
filterhours_ago | string | Number of hours to look back from the current time when estimating cardinality. Determines the historical data range used for the estimate. |
filterpct | boolean | For distribution metrics only, set to true to estimate cardinality including additional percentile aggregators in the calculation. |
filtertimespan_h | string | Time window in hours within the lookback period to use for cardinality estimation. Minimum and default is 1 hour. |
get_metric_tag_cardinality_details Get Metric Tag Cardinality Details
Retrieve detailed cardinality information for all tag keys associated with a specific metric. This helps understand the uniqueness and distribution of tag values within the metric.
| Parameter | Type | Description |
|---|---|---|
metric_name * | string | The name of the metric for which to retrieve tag cardinality details. |
get_metric_tags Get Metric Tags
Retrieve the tag configuration for a specified metric. Returns all tags associated with the metric and their configuration details.
| Parameter | Type | Description |
|---|---|---|
metric_name * | string | The name of the metric for which to retrieve tag configuration. |
configure_metric_tags_single Configure Metric Tags
Define queryable tag keys for a metric and optionally configure percentile aggregations for distribution metrics. Use exclude_tags_mode to switch between allow-list and deny-list behavior.
| Parameter | Type | Description |
|---|---|---|
id * | string | The metric name identifier for this tag configuration resource. |
metric_name * | string | The name of the metric to configure tags for. |
metric_type * | string | The type of metric being configured. |
tags * | array | List of tag keys that will be queryable for this metric. Order is not significant. Each tag key should be a string identifier. |
type * | string | The resource type for metric tag configuration. |
exclude_tags_mode | boolean | When true, tags in the list are excluded from queries (deny-list mode). When false, only tags in the list are queryable (allow-list mode). Defaults to false and requires the tags property to be set. |
include_percentiles | boolean | Enable percentile aggregations for distribution metrics. Only applicable when metric_type is distribution. Defaults to false. |
update_metric_tag_configuration Update Metric Tag Configuration
Update tag configuration for a metric, including percentile aggregations for distribution metrics or custom aggregations for count, rate, or gauge metrics. Switch between allow-list and deny-list modes to control tag queryability.
| Parameter | Type | Description |
|---|---|---|
id * | string | The metric name identifier for this tag configuration resource. |
metric_name * | string | The name of the metric to update. |
type * | string | The resource type for metric tag configuration. |
exclude_tags_mode | boolean | When true, configured tags are excluded and all other tags are queryable (deny-list mode). When false, only configured tags are queryable (allow-list mode). Requires the tags property to be set. |
include_percentiles | boolean | Include or exclude percentile aggregations for distribution metrics. Only applicable to metrics with type distribution. |
tags | array | List of tag keys that will be queryable for this metric. Order is not significant. |
remove_metric_tag_configuration Remove Metric Tag Configuration
Permanently removes the tag configuration for a metric. This operation is irreversible and requires the `Manage Tags for Metrics` permission.
| Parameter | Type | Description |
|---|---|---|
metric_name * | string | The name of the metric whose tag configuration should be deleted. |
list_metric_volumes List Metric Volumes
Retrieve distinct volume metrics for a specified metric name. Custom metrics generated in-app from other products will return null for ingested volumes.
| Parameter | Type | Description |
|---|---|---|
metric_name * | string | The name of the metric to retrieve volume data for. |
get_notification_rule_monitor Get Monitor Notification Rule
Retrieves a specific monitor notification rule by its ID. Use this to fetch the configuration and details of an existing notification rule.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the monitor notification rule to retrieve. |
delete_notification_rule_monitor Delete Notification Rule Monitor
Deletes a monitor notification rule by its ID. This operation permanently removes the specified notification rule from the monitoring system.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the monitor notification rule to delete. |
list_monitor_policies List Monitor Policies
Retrieve all monitor configuration policies. Returns a list of policies that define monitoring rules and configurations.
get_monitor_policy Get Monitor Policy
Retrieve a specific monitor configuration policy by its unique identifier. Use this to fetch policy details for viewing or validation purposes.
| Parameter | Type | Description |
|---|---|---|
policy_id * | string | The unique identifier of the monitor configuration policy to retrieve. |
update_monitor_policy Update Monitor Policy
Update an existing monitor configuration policy with new settings. Allows modification of policy configuration and metadata.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier for this monitor configuration policy resource. |
policy * | object | The updated configuration settings for the monitor policy. |
policy_id * | string | The unique identifier of the monitor configuration policy to update. |
policy_type * | string | The type classification for this monitor configuration policy. |
type * | string | The resource type identifier for monitor configuration policies. |
delete_monitor_policy Delete Monitor Policy
Delete a monitor configuration policy by its ID. This operation permanently removes the specified policy and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
policy_id * | string | The unique identifier of the monitor configuration policy to delete. |
list_monitor_templates List Monitor Templates
Retrieve all monitor user templates available in the system. Returns a complete list of templates that can be used for monitor configuration.
create_monitor_template Create Monitor Template
Create a new monitor template that can be reused to generate monitors with consistent configurations. Templates support variable substitution for dynamic monitor creation.
| Parameter | Type | Description |
|---|---|---|
monitor_definition * | object | The monitor configuration definition specifying the alert query, thresholds, and notification message. Must follow the standard monitor definition format. |
tags * | array | A list of tags for organizing and filtering the monitor template. Tags use key:value format for categorization by product, integration, team, or other attributes. |
title * | string | A human-readable name for the monitor template that describes its purpose and scope. |
type * | string | The resource type identifier for this monitor template. |
description | string | A brief description explaining the purpose and use case of this monitor template. |
template_variables | array | An optional list of template variables that can be substituted when instantiating monitors from this template. Variables enable dynamic configuration without creating multiple templates. |
get_monitor_template Get Monitor Template
Retrieve a specific monitor user template by its ID. Optionally include all historical versions of the template in the response.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | The unique identifier of the monitor user template to retrieve. |
with_all_versions | boolean | Include all historical versions of the template in the response. When enabled, versions will be populated in the response payload. |
update_monitor_template Update Monitor Template
Creates a new version of an existing monitor user template with updated configuration, tags, and variables.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier for this monitor template resource. |
monitor_definition * | object | A valid monitor definition specifying the alert query, type, message, and other monitoring parameters. |
tags * | array | An array of tags for organizing and filtering the monitor template. Tags use key:value format (e.g., product:app_name, integration:service_name). |
template_id * | string | The unique identifier of the monitor template to update. |
title * | string | The display title of the monitor template. |
type * | string | The resource type identifier for monitor templates. |
description | string | A brief description of the monitor template's purpose and scope. |
template_variables | array | An optional array of template variables that can be substituted when applying this template to create monitors. |
delete_monitor_template Delete Monitor Template
Delete an existing monitor user template by its ID. This operation permanently removes the template and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | The unique identifier of the monitor user template to delete. |
validate_monitor_template_update Validate Monitor Template Update
Validate the structure and content of a monitor user template before updating it to a new version. Ensures the template definition, tags, and variables conform to the required schema.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier for this monitor user template resource. |
monitor_definition * | object | A valid monitor definition following the V1 Monitor API schema, including query, alert type, message, and name fields. |
tags * | array | An array of tags for categorizing and organizing the monitor template. Tags use key:value format for filtering and identification. |
template_id * | string | The unique identifier of the monitor user template to validate. |
title * | string | The display title of the monitor user template. |
type * | string | The resource type identifier for monitor user templates. |
description | string | A brief description of the monitor user template's purpose and scope. |
template_variables | array | An array of template variables that can be substituted when instantiating the monitor from this template. |
list_monitor_downtimes List Monitor Downtime Matches
Retrieve all active downtimes currently affecting a specified monitor. Use pagination to control the number of results returned.
| Parameter | Type | Description |
|---|---|---|
monitor_id * | string | The unique identifier of the monitor for which to retrieve active downtimes. |
pagelimit | string | The maximum number of downtime records to return in a single response page. |
pageoffset | string | The starting position for pagination, allowing you to retrieve results from a specific offset in the dataset. |
list_devices List Devices
Retrieve a paginated list of devices with optional filtering by tag. Use pagination parameters to control result size and navigate through pages.
| Parameter | Type | Description |
|---|---|---|
filtertag | string | Filter devices by a specific tag using key:value syntax (e.g., status:ok). Only devices matching the tag filter will be returned. |
pagenumber | string | Zero-indexed page number to retrieve. Use this to navigate through paginated results. |
pagesize | string | Number of devices to return per page. Maximum allowed is 500 devices per request. |
get_device Get Device
Retrieve detailed information about a specific device by its identifier. Returns comprehensive device configuration and status data.
| Parameter | Type | Description |
|---|---|---|
device_id * | string | The unique identifier of the device to retrieve. Typically an IP address or device hostname. |
list_device_interfaces List Device Interfaces
Retrieve the list of network interfaces for a specified device. Optionally include IP address information for each interface.
| Parameter | Type | Description |
|---|---|---|
device_id * | string | The unique identifier of the device from which to retrieve interfaces. |
get_ip_addresses | boolean | Whether to include IP address information for each interface in the response. |
list_device_tags List Device Tags
Retrieve all tags associated with a specific device. Tags are used to organize and categorize devices for management and filtering purposes.
| Parameter | Type | Description |
|---|---|---|
device_id * | string | The unique identifier of the device for which to retrieve tags. This is typically an IP address or device hostname. |
update_device_tags Update Device Tags
Update or replace the tags assigned to a device. Tags are used to organize and categorize devices for management and filtering purposes.
| Parameter | Type | Description |
|---|---|---|
device_id * | string | The unique identifier of the device whose tags should be updated. This is typically an IP address or device hostname. |
tags | array | An ordered list of tags to assign to the device. Each tag should follow the format prefix:value to organize devices by category or attribute. |
list_interface_tags List Interface Tags
Retrieves all tags associated with a specified network interface. Tags are used to organize and categorize interfaces for management and filtering purposes.
| Parameter | Type | Description |
|---|---|---|
interface_id * | string | The unique identifier of the interface whose tags should be retrieved. |
update_interface_tags Update Interface Tags
Update the tags associated with a specific interface. Tags are used to organize and categorize interfaces for easier management and filtering.
| Parameter | Type | Description |
|---|---|---|
interface_id * | string | The unique identifier of the interface to update tags for, typically in the format of IP address and port. |
tags | array | An ordered list of tags to assign to the interface. Each tag should follow the tag:name format. Omit this parameter to clear all tags from the interface. |
list_aggregated_connections List Aggregated Connections
Retrieve aggregated network connections with optional filtering by time range, tags, and grouping criteria. Supports pagination and flexible aggregation across multiple fields.
| Parameter | Type | Description |
|---|---|---|
from | string | Start of the query time window as a Unix timestamp in seconds. Defaults to 15 minutes before the `to` timestamp if not provided. If neither `from` nor `to` are specified, the window defaults to the la… |
group_by | string | Comma-separated list of fields to group connections by for aggregation. Maximum of 10 fields allowed. |
limit | string | Maximum number of aggregated connection records to return in the response. |
tags | string | Comma-separated list of tags to filter connections. Only connections matching all specified tags are returned. |
to | string | End of the query time window as a Unix timestamp in seconds. Defaults to the current time if not provided. If neither `from` nor `to` are specified, the window defaults to the last 15 minutes. |
list_aggregated_dns_traffic List Aggregated DNS Traffic
Retrieve aggregated DNS traffic data within a specified time window, optionally grouped by selected fields and filtered by tags. Useful for analyzing DNS query patterns and network behavior.
| Parameter | Type | Description |
|---|---|---|
from | string | Start of the query time window as a Unix timestamp (seconds since epoch). Defaults to 15 minutes before the `to` timestamp if not provided. If neither `from` nor `to` are specified, defaults to 15 min… |
group_by | string | Comma-separated list of fields to group DNS traffic results by. Defaults to `network.dns_query` if not specified. Use `server_ungrouped` to retrieve ungrouped results. Maximum of 10 grouping fields al… |
limit | string | Maximum number of aggregated DNS entries to return in the response. |
tags | string | Comma-separated list of tags to filter DNS traffic results. Only traffic matching all specified tags will be included in the response. |
to | string | End of the query time window as a Unix timestamp (seconds since epoch). Defaults to the current time if not provided. If neither `from` nor `to` are specified, defaults to the current time. |
list_pipelines List Pipelines
Retrieve a paginated list of all available pipelines. Use pagination parameters to control the number of results and navigate through pages.
| Parameter | Type | Description |
|---|---|---|
pagenumber | string | Zero-indexed page number to retrieve. Use this to navigate through paginated results. |
pagesize | string | Number of pipelines to return per page. Maximum allowed is 100 pipelines per request. |
validate_pipeline Validate Pipeline
Validates an observability pipeline configuration without persisting any changes. Returns a list of validation errors if the configuration is invalid.
get_pipeline Get Pipeline
Retrieve a specific pipeline by its ID. Use this to fetch detailed information about a pipeline configuration and its current state.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | string | The unique identifier of the pipeline to retrieve. |
update_pipeline Update Pipeline
Update an existing observability pipeline configuration, including its data sources, processor groups, and destinations. Changes take effect immediately on the pipeline.
delete_pipeline Delete Pipeline
Permanently delete a pipeline and remove it from the system. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | string | The unique identifier of the pipeline to delete. |
create_escalation_policy Create Escalation Policy
Create a new on-call escalation policy that defines how alerts are routed and escalated to team members. The policy consists of sequential escalation steps with timeouts and target assignments.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the escalation policy. Must be at least 1 character long. |
steps * | array | An ordered list of escalation steps (1-10 steps) that define how alerts are assigned and escalated. Each step specifies assignment rules, escalation timeout, and target recipients. |
type * | string | The resource type identifier for this policy. |
resolve_page_on_policy_end | boolean | Whether to automatically resolve the page when the escalation policy completes all steps. |
get_escalation_policy Get Escalation Policy
Retrieve a specific on-call escalation policy by its ID. Use this to view the escalation rules and notification chain for a policy.
| Parameter | Type | Description |
|---|---|---|
policy_id * | string | The unique identifier of the escalation policy to retrieve. |
update_escalation_policy Update Escalation Policy
Update an existing on-call escalation policy with a new name and resolution behavior. The policy ID and type must be specified to identify and validate the resource being modified.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the escalation policy resource being updated. Must match the policy_id parameter. |
name * | string | The name of the escalation policy. Must be a non-empty string. |
policy_id * | string | The unique identifier of the escalation policy to update. |
type * | string | The resource type, which must be set to 'policies' to indicate this is an escalation policy resource. |
resolve_page_on_policy_end | boolean | Whether the page should be automatically resolved when the escalation policy ends. |
steps | array | A list of escalation steps, each defining assignment, escalation timeout, and targets. |
delete_escalation_policy Delete Escalation Policy
Permanently delete an on-call escalation policy. This action cannot be undone and will remove all routing rules associated with the policy.
| Parameter | Type | Description |
|---|---|---|
policy_id * | string | The unique identifier of the escalation policy to delete. |
create_page Create Page
Trigger a new on-call page to alert responders about an incident or issue. Pages are used to notify on-call team members based on escalation policies.
| Parameter | Type | Description |
|---|---|---|
title * | string | A descriptive title for the page that summarizes the incident or alert. |
type * | string | The resource type identifier for this on-call page. |
urgency * | string | The severity level of the page, determining notification priority and escalation urgency. |
description | string | A short summary providing context about the incident or issue being escalated. |
tags | array | Tags to categorize, filter, or organize the page for better tracking and reporting. |
acknowledge_page Acknowledge Page
Acknowledges an on-call page to indicate receipt and awareness of the alert. This marks the page as acknowledged in the on-call system.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | The unique identifier of the on-call page to acknowledge. |
escalate_page Escalate Page
Escalates an on-call page to notify additional responders or escalation policies. Use this when the current on-call assignment needs to be escalated due to urgency or lack of response.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | The unique identifier of the on-call page to escalate. |
resolve_page Resolve Page
Resolves an on-call page, marking it as handled and closing the alert. This acknowledges the page and prevents further escalations.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | The unique identifier of the on-call page to resolve. |
create_schedule Create Schedule
Create a new on-call schedule with defined coverage layers, timezone, and rotation rules. The schedule establishes when team members are on-call and any restrictions that apply to their coverage.
| Parameter | Type | Description |
|---|---|---|
layers * | array | An ordered array of coverage layers that define rotation intervals, team members, and any restrictions for on-call assignments. Each layer represents a distinct rotation pattern within the schedule. |
name * | string | A human-readable name for the schedule that identifies its purpose or team. |
time_zone * | string | The timezone in which all schedule times and rotations are evaluated. Use standard timezone identifiers. |
type * | string | The resource type identifier for this schedule. |
get_schedule_oncall Get On-Call Schedule
Retrieve a specific on-call schedule by its ID. Returns the schedule configuration and details.
| Parameter | Type | Description |
|---|---|---|
schedule_id * | string | The unique identifier of the on-call schedule to retrieve. |
update_schedule_oncall Update On-Call Schedule
Update an existing on-call schedule with new layers, name, and timezone configuration. All fields are required to maintain schedule integrity.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the schedule resource being updated. Must match the schedule_id path parameter. |
layers * | array | The updated list of rotation layers for this schedule. Order matters and determines rotation priority. |
name * | string | A descriptive name for the schedule to identify its purpose or team. |
schedule_id * | string | The unique identifier of the schedule to update. |
time_zone * | string | The timezone used when interpreting and displaying rotation times. Use standard IANA timezone identifiers. |
type * | string | The resource type identifier for this schedule object. |
delete_schedule_oncall Delete On-Call Schedule
Permanently delete an on-call schedule. This action cannot be undone and will remove all associated scheduling data.
| Parameter | Type | Description |
|---|---|---|
schedule_id * | string | The unique identifier of the on-call schedule to delete. |
get_on_call_user Get On-Call User
Retrieves the user currently on-call for a specified schedule. Optionally query the on-call status at a specific point in time.
| Parameter | Type | Description |
|---|---|---|
schedule_id * | string | The unique identifier of the schedule to query for on-call coverage. |
filterat_ts | string | The timestamp at which to retrieve the on-call user, specified in RFC3339 format. Defaults to the current time if not provided. |
list_team_on_call_users List Team On-Call Users
Retrieve the list of users currently on-call for a specific team. This shows who is actively on-call at the time of the request.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | The unique identifier of the team for which to retrieve on-call users. |
list_notification_channels List Notification Channels
Retrieve all notification channels configured for a specific user's on-call notifications. The authenticated user must be the target user or have on-call admin permissions.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user whose notification channels should be retrieved. |
create_notification_channel Create Notification Channel
Create a new notification channel for an on-call user. The authenticated user must be the target user or have the `on_call_admin` permission.
| Parameter | Type | Description |
|---|---|---|
type * | string | The resource type identifier for notification channels. |
user_id * | string | The unique identifier of the user for whom the notification channel is being created. |
config | Configuration settings for the notification channel, such as delivery method, contact information, and preferences. |
get_notification_channel Get Notification Channel
Retrieve a specific notification channel for an on-call user. The authenticated user must be the target user or have on-call admin permissions.
| Parameter | Type | Description |
|---|---|---|
channel_id * | string | The unique identifier of the notification channel to retrieve. |
user_id * | string | The unique identifier of the user whose notification channel is being retrieved. |
remove_notification_channel Remove Notification Channel
Remove a notification channel from an On-Call user. The authenticated user must be the target user or have the `on_call_admin` permission.
| Parameter | Type | Description |
|---|---|---|
channel_id * | string | The unique identifier of the notification channel to remove. |
user_id * | string | The unique identifier of the user whose notification channel will be removed. |
get_notification_rules_user Get User Notification Rules
Retrieve all notification rules configured for a specific user's on-call schedule. The authenticated user must be the target user or have on-call admin permissions.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user whose notification rules should be retrieved. |
get_notification_rule_user Get Notification Rule for User
Retrieve a specific on-call notification rule for a user. The authenticated user must be the target user or have the `on_call_admin` permission.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the notification rule to retrieve. |
user_id * | string | The unique identifier of the user whose notification rule is being retrieved. |
remove_notification_rule Remove Notification Rule
Remove an on-call notification rule for a user. The authenticated user must be the target user or have the `on_call_admin` permission to perform this action.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the notification rule to be deleted. |
user_id * | string | The unique identifier of the user whose notification rule will be deleted. |
list_org_connections List Org Connections
Retrieve a paginated list of organization connections, optionally filtered by source and sink organizations. Use this to discover existing connections between organizations.
| Parameter | Type | Description |
|---|---|---|
limit | string | Maximum number of connections to return per request. Useful for controlling response size in large datasets. |
offset | string | Number of connections to skip before returning results. Use with limit for pagination through large result sets. |
sink_org_id | string | Filter results to connections where this organization is the destination. Specify the organization UUID to filter by sink org. |
source_org_id | string | Filter results to connections where this organization is the source. Specify the organization UUID to filter by source org. |
establish_org_connection Establish Org Connection
Establish a new connection between the current organization and a target organization. Specify the types of connections to enable between the two orgs.
| Parameter | Type | Description |
|---|---|---|
connection_types * | array | Types of connections to establish between organizations. At least one connection type must be specified. |
type * | string | The type of organization connection being created. |
update_org_connection Update Org Connection
Update an existing organization connection with new connection types. This modifies which data types (logs, metrics, etc.) are associated with the org connection.
| Parameter | Type | Description |
|---|---|---|
connection_id * | string | The unique identifier of the org connection to update. |
connection_types * | array | List of connection types to associate with this org connection. Must contain at least one type. |
id * | string | The unique identifier of the org connection being updated. Must match the connection_id parameter. |
type * | string | The type classification for this org connection resource. |
delete_org_connection Delete Org Connection
Delete an existing organization connection by its unique identifier. This action permanently removes the connection and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
connection_id * | string | The unique identifier of the organization connection to delete. |
list_findings List Findings
Retrieve a list of security findings including misconfigurations and identity risks. Supports filtering by multiple attributes, tags, and time ranges to identify specific security issues across your infrastructure.
| Parameter | Type | Description |
|---|---|---|
detailed_findings | boolean | Include additional extension fields in the response such as external resource IDs, descriptions with remediation steps, Datadog links, and IP addresses. |
filterevaluation | string | Filter findings by evaluation result. Returns only findings that passed or failed compliance checks. |
filterevaluation_changed_at | string | Filter findings by evaluation change date using Unix timestamp in milliseconds. Supports comparison operators (>, >=, <, <=) to find findings that changed status within a specific time range. |
filtermuted | boolean | Filter findings by mute status. Set to true for muted findings or false for active findings. |
filterresource_id | string | Filter findings by the unique identifier of the affected resource. |
filterresource_type | string | Filter findings by resource type (e.g., aws_s3_bucket, aws_iam_role). Supports negation operator with hyphen prefix to exclude resource types. |
filterrule_id | string | Filter findings by the unique identifier of the rule that generated them. |
filterrule_name | string | Filter findings by the human-readable name of the rule that generated them. |
filterstatus | string | Filter findings by severity level. Returns findings matching the specified risk level. |
filtertags | string | Filter findings by associated tags using key:value format. Multiple tag filters can be chained to narrow results. Use `dd_rule_type:ciem` to return only identity risks. |
filtervulnerability_type | array | Filter findings by vulnerability type category. Multiple types can be specified to include findings matching any of the selected categories. |
pagelimit | string | Maximum number of findings to return per request. Useful for pagination and controlling response size. |
snapshot_timestamp | string | Retrieve findings from a specific point in time using a Unix timestamp in milliseconds. Useful for historical analysis or comparing findings across different snapshots. |
update_findings_mute_status Update Findings Mute Status
Mute or unmute a batch of security findings with optional expiration and reason documentation. Use this to suppress findings that are false positives, accepted risks, or pending remediation.
| Parameter | Type | Description |
|---|---|---|
id * | string | Unique identifier (UUID) for this request, used for tracking and idempotency. |
muted * | boolean | Whether to mute (true) or unmute (false) the specified findings. |
reason * | string | The justification for muting or unmuting these findings. Select the reason that best matches your situation. |
type * | string | JSON:API resource type identifier for findings. |
description | string | Additional context explaining why findings are being muted or unmuted. Limited to 280 characters. |
expiration_date | string | Unix timestamp in milliseconds when the mute or unmute action expires. If omitted, the action remains indefinitely in effect. |
findings | array | Array of finding identifiers to mute or unmute. Each entry should be a finding UUID. |
get_finding Get Finding
Retrieve a specific finding with its message and resource configuration. Optionally retrieve the finding state at a particular point in time.
| Parameter | Type | Description |
|---|---|---|
finding_id * | string | The unique identifier of the finding to retrieve. |
snapshot_timestamp | string | Retrieve the finding as it existed at a specific point in time, specified as a Unix timestamp in milliseconds. If omitted, returns the current state of the finding. |
list_powerpacks List Powerpacks
Retrieve a paginated list of all available powerpacks. Use limit and offset parameters to control pagination.
| Parameter | Type | Description |
|---|---|---|
pagelimit | string | Maximum number of powerpacks to return in a single response. Useful for controlling response size and pagination. |
pageoffset | string | Number of powerpacks to skip from the beginning of the result set. Use this to navigate through paginated results. |
create_powerpack Create Powerpack
Create a new powerpack with customizable widgets, layout, and template variables for dashboard organization and monitoring.
| Parameter | Type | Description |
|---|---|---|
name * | string | The display name for this powerpack. |
definition | object | The powerpack group widget object defining the widget configuration and structure. |
description | string | A brief description explaining the purpose and contents of this powerpack. |
layout | object | The powerpack group widget layout configuration specifying how widgets are arranged. |
live_span | string | The time span for data display in the powerpack widgets. |
tags | array | A list of tags for categorizing and identifying this powerpack. Maximum of 8 tags allowed. |
template_variables | array | A list of template variables that can be used within the powerpack for dynamic filtering and parameterization. |
get_powerpack Get Powerpack
Retrieve a specific powerpack by its ID. Returns the powerpack's configuration and metadata.
| Parameter | Type | Description |
|---|---|---|
powerpack_id * | string | The unique identifier of the powerpack to retrieve. |
update_powerpack Update Powerpack
Update an existing powerpack with new configuration, metadata, or layout settings. Modify the powerpack's name, description, widgets, timeframe, tags, and template variables.
| Parameter | Type | Description |
|---|---|---|
name * | string | The display name of the powerpack. |
powerpack_id * | string | The unique identifier of the powerpack to update. |
definition | object | The powerpack group widget object defining the widget configuration and structure. |
description | string | A brief description explaining the purpose or contents of this powerpack. |
layout | object | The powerpack group widget layout object specifying how widgets are arranged and positioned. |
live_span | string | The timeframe for data display in the powerpack. The available options depend on the specific widgets included. |
tags | array | An ordered list of tags for categorizing and identifying this powerpack. Maximum of 8 tags allowed. |
template_variables | array | An ordered list of template variables that can be used within the powerpack for dynamic configuration. Each variable includes a name and optional default values. |
delete_powerpack Delete Powerpack
Permanently delete a powerpack by its ID. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
powerpack_id * | string | The unique identifier of the powerpack to delete. |
list_processes List Processes
Retrieve all processes for your organization with optional filtering by search terms, tags, and time range. Results are paginated with a default limit of 1000 items.
| Parameter | Type | Description |
|---|---|---|
from | string | Unix timestamp marking the start of the query window in seconds since epoch. Defaults to 15 minutes before the `to` timestamp if not provided. If neither `from` nor `to` are specified, defaults to 15… |
pagelimit | string | Maximum number of results to return per request for pagination. Adjust to balance response size and data completeness. |
search | string | Filter processes by a search string to find matching process names or identifiers. |
tags | string | Filter processes by one or more tags using a comma-separated list. Multiple tags narrow results to processes matching all specified tags. |
to | string | Unix timestamp marking the end of the query window in seconds since epoch. Defaults to 15 minutes after the `from` timestamp if not provided. If neither `from` nor `to` are specified, defaults to the… |
send_server_event Send Server Event
Send server-side events to Product Analytics for tracking server-initiated actions. Server-side events are retained for 15 months and integrated into Product Analytics for filtering and analysis alongside client-side events.
| Parameter | Type | Description |
|---|---|---|
accountId * | string | The account ID associated with your Datadog organization. |
applicationId * | string | The application ID of your Product Analytics-enabled application, found in your application management page. |
name * | string | The name of the event used for searching and filtering in Product Analytics. Use dot-notation for hierarchical event names (e.g., checkout.completed, payment.processed). |
sessionId * | string | The session ID captured by the SDK to correlate events with a user session. |
type * | string | The event type classification. Must be set to 'server' for server-side events. |
usrId * | string | The user ID associated with the event in your Datadog organization. |
list_account_facet_values List Account Facet Values
Retrieve facet value information for a specified account attribute, including possible values and their counts. Use this to explore available options for filtering or segmenting account data.
| Parameter | Type | Description |
|---|---|---|
facet_id * | string | The identifier of the account attribute facet to retrieve values for. |
limit * | string | Maximum number of facet values to return in the response. |
type * | string | The resource type for the facet info request. |
query_accounts Query Accounts
Query accounts with flexible filtering and column selection based on account properties. Supports wildcard search and customizable result limits.
| Parameter | Type | Description |
|---|---|---|
type * | string | Query account request resource type identifier. |
limit | string | Maximum number of account records to return in the response. |
select_columns | array | List of account attribute column names to include in the response. Specify which fields should be returned for each account. |
wildcard_search_term | string | Free-text term used for wildcard search across all account attribute values. |
compute_product_analytics Compute Product Analytics
Compute aggregated analytics metrics for product events, with optional segmentation by user segments and dimensions. Returns scalar values such as counts, averages, and percentiles.
| Parameter | Type | Description |
|---|---|---|
query * | Query definition for the analytics data source. Use `product_analytics` for standard event queries or `product_analytics_occurrence` for occurrence-filtered queries. | |
type * | string | Resource type identifier for the analytics request. |
audience_filters | object | Filter definitions to target specific user segments within the analytics query. |
compute | object | Aggregation rule specifying the metric to compute (e.g., count, average, percentile). |
group_by | array | Dimensions to segment results by. Results will be grouped by each dimension specified in order. |
indexes | array | Restrict query to a specific analytics index. |
time_range | string | Time range as epoch milliseconds in format 'from,to' (e.g., '1609459200000,1609545600000') |
analyze_product_timeseries Analyze Product Timeseries
Compute time-bucketed analytics for product events, enabling trend analysis and chart visualization. Results are aggregated into configurable time intervals for temporal insights.
| Parameter | Type | Description |
|---|---|---|
query * | Query definition specifying the data source and filters. Use `product_analytics` for standard event queries or `product_analytics_occurrence` for occurrence-filtered queries. | |
type * | string | Resource type identifier for analytics requests. |
audience_filters | object | Filter results to specific user segments using audience-based criteria. |
compute | object | Aggregation rule for computing metrics over the data. Requires an interval field (in milliseconds) to define the time bucket size. |
group_by | array | Segment results by one or more dimensions (e.g., user properties, event attributes). Order matters for result hierarchy. |
indexes | array | Restrict query to a specific analytics index. |
time_range | string | Time range in ISO 8601 interval format (from/to), where from and to are epoch milliseconds |
query_users_by_event_and_properties Query Users by Event and Properties
Query and filter users based on their event activity and user property attributes. Returns matching user records within a specified time window with optional aggregation and column selection.
| Parameter | Type | Description |
|---|---|---|
type * | string | Resource type identifier for this query request. |
attributesQuery | string | Filter expression using user attribute conditions to narrow the result set. |
combine_operator | string | Operator to combine facets: 'AND' or 'OR'. Default is 'AND'. |
event_operator | string | Comparison operator: 'equals', 'contains', 'greater_than', 'less_than', 'in' |
event_property | string | Event property name to filter on |
event_property_value | string | Value to match for the event property |
event_queryQuery | string | Event platform query expression to filter users by their event activity and behavior patterns. |
event_type | string | Type of event to filter by (e.g., 'purchase', 'click', 'view') |
facet_filters | string | List of facet filters. Each dict has 'facet' (string) and 'values' (list of strings). Multiple values within a facet are OR'd together. |
include_row_count | boolean | Whether to include the total count of matching users in the response. |
limit | string | Maximum number of user records to return in the response. |
select_columns | array | List of user attribute column names to include in the response. Order and format follow the API's column naming convention. |
time_constraint | string | Optional time constraint within the event query (e.g., 'last_7_days', 'last_30_days') |
time_frame | object | Time window defining the start and end of the event query period using Unix timestamps. |
list_user_facet_values List User Facet Values
Retrieve facet values and their counts for a specified user attribute. Returns possible values for the facet along with occurrence counts to support filtering and analysis.
| Parameter | Type | Description |
|---|---|---|
facet_id * | string | The identifier of the user attribute facet to retrieve values for. |
limit * | string | Maximum number of facet values to return in the response. |
type * | string | The resource type for this users facet info request. |
query_users Query Users
Query users with flexible filtering by user properties and optional wildcard search across attribute values. Returns a list of user records matching the specified criteria.
| Parameter | Type | Description |
|---|---|---|
type * | string | Resource type identifier for this query request. |
limit | string | Maximum number of user records to return in the response. Limits the result set size. |
select_columns | array | List of user attribute column names to include in the response. Only specified attributes will be returned for each user record. |
wildcard_search_term | string | Free-text term used for wildcard search across all user attribute values. Matches partial strings in user properties. |
get_entity_mapping Get Entity Mapping
Retrieve the mapping configuration for a specified entity, including all available attributes and their properties. Use this to understand the schema and structure of data for a given entity type.
| Parameter | Type | Description |
|---|---|---|
entity * | string | The entity type for which to retrieve mapping configuration and available attributes. |
create_entity_connection Create Entity Connection
Create a new data connection for an entity, specifying how to join external data source records with entity records using a designated attribute.
| Parameter | Type | Description |
|---|---|---|
attributesType * | string | The type of data source connection being created, such as ref_table for reference tables. |
dataType * | string | The resource type identifier for the connection object. |
entity * | string | The entity type for which to create the connection (e.g., users, accounts). |
join_attribute * | string | The attribute name in the data source that will be used as the join key to match records with the entity. |
join_type * | string | The type of join key that links the data source to the entity, such as email or user_id. |
fields | array | List of custom attribute fields to import from the data source. Order and format depend on the data source type. |
metadata | object | Additional key-value metadata to associate with the connection for tracking or configuration purposes. |
update_entity_connection Update Entity Connection
Update an existing data connection for an entity by adding new fields, modifying existing field metadata, or removing fields from the connection.
| Parameter | Type | Description |
|---|---|---|
entity * | string | The entity type for which to update the connection (e.g., users, events, transactions). |
id * | string | The unique identifier of the connection to update. |
type * | string | The resource type identifier for the connection. |
fields_to_add | array | Array of new fields to add to the connection from the data source. Fields are added in the order specified. |
fields_to_delete | array | Array of field identifiers to remove from the connection. Specify field IDs in the order they should be deleted. |
fields_to_update | array | Array of existing fields with updated metadata to apply to the connection. Updates are applied in the order specified. |
delete_data_connection Delete Data Connection
Delete an existing data connection for a specified entity in product analytics. This operation removes the mapping between the entity and its connected data source.
| Parameter | Type | Description |
|---|---|---|
entity * | string | The entity type for which the data connection should be deleted (e.g., users, events, products). |
id * | string | The unique identifier of the data connection to delete. |
list_data_connections List Data Connections
Retrieve all data connections configured for a specified entity in product analytics. This allows you to view which data sources are mapped to an entity.
| Parameter | Type | Description |
|---|---|---|
entity * | string | The entity identifier for which to retrieve data connections (e.g., 'users', 'events', 'products'). |
query_scalar_metrics Query Scalar Metrics
Query scalar metric values across multiple data sources with optional formula-based calculations. Supports aggregation and filtering for use in dashboards and reports.
| Parameter | Type | Description |
|---|---|---|
from * | string | Start date (inclusive) for the query range, specified in milliseconds since Unix epoch. |
queries * | array | List of metric queries to execute. Each query specifies a data source, aggregator, and metric filter. Queries are processed in order and their results are available to formulas. |
to * | string | End date (exclusive) for the query range, specified in milliseconds since Unix epoch. |
type * | string | Resource type identifier for this request. Must be set to scalar_request. |
formulas | array | List of formulas to calculate derived values from the query results. Formulas are applied to the query outputs in order. |
query_timeseries Query Timeseries Data
Query timeseries data across multiple data sources and optionally apply formulas to transform the results. Returns time-indexed data points within the specified date range.
| Parameter | Type | Description |
|---|---|---|
from * | string | Start of the query time range (inclusive) as milliseconds since Unix epoch. |
queries * | array | List of data source queries to execute. Each query specifies a data source and query string to retrieve timeseries data. |
to * | string | End of the query time range (exclusive) as milliseconds since Unix epoch. |
type * | string | Resource type identifier for this request. Must always be set to the timeseries request type. |
formulas | array | Optional list of formulas to calculate derived metrics from the query results. Formulas are applied to the data returned by queries. |
interval | string | Time interval in milliseconds for aggregating data points. If omitted, a reasonable interval is automatically selected based on the query timeframe. The system may use a larger interval if the query w… |
query_reference_table_rows Query Reference Table Rows
Retrieve multiple rows from a reference table by their primary key values. Returns only the rows that were found.
| Parameter | Type | Description |
|---|---|---|
row_ids * | array | Array of primary key values identifying which rows to retrieve from the reference table. Order is not significant. |
table_id * | string | The unique identifier of the reference table to query. |
type * | string | Resource type identifier that specifies this is a batch query operation for reference table rows. |
list_reference_tables List Reference Tables
Retrieve all reference tables in your organization with pagination and optional status filtering.
| Parameter | Type | Description |
|---|---|---|
filterstatus | string | Filter results by table status to show only tables in a specific state. |
pagelimit | string | Maximum number of tables to return per page. Use this to control result set size. |
pageoffset | string | Number of tables to skip from the beginning for pagination. Use with limit to navigate through results. |
create_reference_table Create Reference Table
Creates a reference table from CSV data stored locally or in cloud storage. Data can be uploaded directly via chunked file transfer or accessed from an existing cloud storage location.
| Parameter | Type | Description |
|---|---|---|
fields * | array | The schema fields that define the structure and data types of columns in the reference table. |
primary_keys * | array | List of field names that serve as the primary key for the table. Only one primary key is supported and is used as the ID to retrieve individual rows. |
source * | string | The source type indicating where the reference table data is located or how it will be provided. |
table_name * | string | The name used to identify and reference this table within the system. |
type * | string | The resource type for this reference table. |
description | string | Optional text describing the purpose or contents of this reference table. |
file_metadata | Metadata specifying where and how to access the reference table's data file. Use either an upload_id from a prior file upload operation or access_details pointing to a CSV file in cloud storage. | |
tags | array | Tags for organizing and filtering reference tables. Provide as an array of string values. |
get_reference_table Get Reference Table
Retrieve a specific reference table by its unique identifier. Use this to fetch the complete definition and contents of a reference table for use in your application.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the reference table to retrieve. |
update_reference_table Update Reference Table
Update an existing reference table's data, description, and tags by ID. For LOCAL_FILE tables, upload CSV data first then provide the upload ID; for cloud-sourced tables (S3, GCS, Azure), provide updated access details pointing to the new CSV file.
| Parameter | Type | Description |
|---|---|---|
fields * | array | Array of schema field definitions that define the structure and data types of columns in the reference table. |
id * | string | The unique identifier of the reference table to update. |
primary_keys * | array | List of field names designated as primary keys for the table. Only a single primary key is supported and used to retrieve individual rows. Primary keys cannot be modified after table creation. |
type * | string | The resource type identifier for this reference table. |
description | string | Optional text describing the purpose or contents of this reference table. |
file_metadata | Metadata specifying where and how to access the reference table's data file. For LOCAL_FILE tables, include the upload_id from a prior upload request. For cloud-sourced tables, include updated access_… | |
tags | array | Array of tags for organizing and filtering reference tables across your workspace. |
delete_reference_table Delete Reference Table
Permanently delete a reference table by its unique identifier. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the reference table to delete. |
fetch_reference_table_rows Fetch Reference Table Rows
Retrieve specific rows from a reference table by their primary key values. Use this to fetch one or more rows identified by their row IDs.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the reference table from which to retrieve rows. |
row_id * | array | An array of primary key values identifying which rows to retrieve from the reference table. Order is preserved in the response. |
upsert_reference_table_rows Upsert Reference Table Rows
Create or update rows in a reference table by their primary key values. Existing rows are updated; new primary keys create new rows.
| Parameter | Type | Description |
|---|---|---|
data * | array | An ordered list of row objects to create or update in the reference table. Each row must contain primary key values and any fields to be created or updated. |
id * | string | The unique identifier of the reference table where rows will be created or updated. |
delete_reference_table_rows Delete Reference Table Rows
Delete multiple rows from a reference table by specifying their primary key values. Supports batch deletion of up to 200 rows in a single request.
| Parameter | Type | Description |
|---|---|---|
data * | array | An array of row resources to delete, identified by their primary key values. Order is not significant. Maximum 200 rows per request. |
id * | string | The unique identifier of the reference table from which rows will be deleted. |
initiate_reference_table_upload Initiate Reference Table Upload
Initiate a multipart upload session for bulk data ingestion into a reference table. This operation prepares the upload infrastructure by defining the schema, file partitioning strategy, and target table.
| Parameter | Type | Description |
|---|---|---|
headers * | array | Ordered list of column names that define the schema for the reference table. The order must match the column sequence in the CSV file being uploaded. |
part_count * | string | Number of parts the file will be split into for multipart upload. Limits concurrent upload segments to prevent resource exhaustion. |
part_size * | string | Size of each upload part in bytes. All parts except the final one must be at least 5,000,000 bytes to meet multipart upload requirements. |
table_name * | string | Name of the reference table where the uploaded data will be stored. |
type * | string | Classification of this upload resource. Indicates this is a standard upload operation. |
list_waf_custom_rules List WAF Custom Rules
Retrieve all custom WAF rules configured in your application security settings. This returns the complete list of custom rules used to protect your application.
create_waf_custom_rule Create WAF Custom Rule
Create a new Web Application Firewall (WAF) custom rule to protect against specific attack patterns or enforce business logic. The rule will be evaluated against incoming requests based on defined conditions.
| Parameter | Type | Description |
|---|---|---|
blocking * | boolean | Whether this WAF rule will actively block matching requests. When enabled with blocking=true, matching requests are subject to the configured action. |
category * | string | The security category that classifies this rule's purpose: attack_attempt for threat detection, business_logic for custom business rules, or security_response for incident handling. |
conditions * | array | Array of conditions that must all be satisfied for this rule to trigger. Each condition evaluates a specific aspect of the incoming request (e.g., headers, body, IP address). |
dataType * | string | The resource type identifier. Must always be set to 'custom_rule' to indicate this is a WAF custom rule resource. |
enabled * | boolean | Whether this WAF rule is active and will be evaluated against incoming requests. |
name * | string | A descriptive name for this WAF custom rule that identifies its purpose and scope. |
tagsType * | string | The specific type or tag that further classifies this rule within its category, forming the basis for security activity logging and reporting. |
action | string | The action to perform when this WAF rule is triggered. Determines whether the request is blocked or redirected. |
parameters | object | Additional parameters that configure the behavior of the action specified above, such as redirect URLs or custom response details. |
path_glob | string | A glob pattern that restricts this rule to specific URL paths. Use wildcards to match multiple paths (e.g., /api/search/*). |
scope | array | Array defining the scope or context where this rule applies, such as specific services, environments, or request types. |
get_waf_custom_rule Get WAF Custom Rule
Retrieve a specific WAF custom rule by its ID. Use this to fetch detailed configuration and settings for a custom rule in your Web Application Firewall.
| Parameter | Type | Description |
|---|---|---|
custom_rule_id * | string | The unique identifier of the WAF custom rule to retrieve. |
update_waf_custom_rule Update WAF Custom Rule
Update a specific WAF custom rule configuration. Returns the updated custom rule object on success.
| Parameter | Type | Description |
|---|---|---|
blocking * | boolean | Whether the rule will block matching requests. When false, the rule monitors without blocking. |
category * | string | The security category classifying the rule's purpose: attack prevention, business logic enforcement, or security response. |
conditions * | array | Array of conditions that must all match for the rule to trigger. All conditions are evaluated with AND logic. |
custom_rule_id * | string | The unique identifier of the custom rule to update. |
dataType * | string | The resource type identifier. Must always be set to 'custom_rule'. |
enabled * | boolean | Whether the custom rule is active and will be evaluated against incoming requests. |
name * | string | A descriptive name for the custom rule that identifies its purpose. |
tagsType * | string | The specific rule type that, combined with the category, identifies the security activity being detected. |
action | string | The action to take when this rule triggers. Defaults to blocking the request. |
parameters | object | Additional parameters for the action taken when the rule triggers, such as redirect URL for redirect actions. |
path_glob | string | A glob pattern to restrict the rule to specific URL paths. Use wildcards for flexible matching. |
scope | array | Array defining the scope where this rule applies, such as specific applications or environments. |
delete_waf_custom_rule Delete WAF Custom Rule
Delete a specific WAF custom rule by its ID. This operation permanently removes the custom rule from your Web Application Firewall configuration.
| Parameter | Type | Description |
|---|---|---|
custom_rule_id * | string | The unique identifier of the WAF custom rule to delete. |
list_waf_exclusion_filters List WAF Exclusion Filters
Retrieve all Web Application Firewall (WAF) exclusion filters configured in your application security settings. Exclusion filters define rules and conditions that bypass WAF protection for specified requests.
create_waf_exclusion_filter Create WAF Exclusion Filter
Create a new WAF exclusion filter to prevent the Application Security WAF product from blocking matched requests. Exclusion filters (passlist entries) allow you to ignore specific requests based on IP addresses, paths, parameters, or targeted rules.
| Parameter | Type | Description |
|---|---|---|
description * | string | A descriptive label for this exclusion filter explaining its purpose or the false positives it addresses. |
enabled * | boolean | Whether this exclusion filter is active and should be applied to incoming requests. |
type * | string | Resource type identifier for this exclusion filter. |
ip_list | array | List of client IP addresses to match, supporting CIDR notation for IP ranges. |
on_match | string | Action to take when the filter matches. In monitor mode, security traces are emitted but requests are not blocked; otherwise, requests are silently excluded. |
parameters | array | List of HTTP request parameters to match, including query string and request body fields. Use dot notation to match nested parameters. |
path_glob | string | HTTP path glob pattern to match against request URLs. |
rules_target | array | List of specific WAF rule IDs or rule groups targeted by this exclusion filter. |
scope | array | List of service names where this exclusion filter should be deployed. |
get_waf_exclusion_filter Get WAF Exclusion Filter
Retrieve a specific WAF exclusion filter by its identifier. Use this to view the configuration and rules of an existing exclusion filter.
| Parameter | Type | Description |
|---|---|---|
exclusion_filter_id * | string | The unique identifier of the WAF exclusion filter to retrieve. |
update_waf_exclusion_filter Update WAF Exclusion Filter
Update a WAF exclusion filter configuration by its identifier. Returns the updated exclusion filter object.
| Parameter | Type | Description |
|---|---|---|
description * | string | A descriptive label for the exclusion filter explaining its purpose. |
enabled * | boolean | Whether the exclusion filter is active and should be applied. |
exclusion_filter_id * | string | The unique identifier of the WAF exclusion filter to update. |
type * | string | Resource type identifier. Must always be set to `exclusion_filter`. |
ip_list | array | List of client IP addresses to match, supporting CIDR notation for IP ranges. |
on_match | string | Action to take when the filter matches. Use `monitor` to emit security traces without blocking requests. |
parameters | array | List of HTTP request parameters to match, including query string and body parameters. Use dot notation to match nested fields. |
path_glob | string | HTTP path glob pattern to match against request paths. |
rules_target | array | List of WAF rules targeted by this exclusion filter. |
scope | array | List of services where this exclusion filter should be deployed. |
delete_waf_exclusion_filter Delete WAF Exclusion Filter
Delete a specific WAF exclusion filter by its identifier. This operation permanently removes the exclusion filter from your Web Application Firewall configuration.
| Parameter | Type | Description |
|---|---|---|
exclusion_filter_id * | string | The unique identifier of the WAF exclusion filter to delete. |
list_agent_rules List Agent Rules
Retrieve all Workload Protection agent rules configured in your environment. This endpoint is not available for Government (US1-FED) sites.
create_workload_protection_agent_rule Create Workload Protection Agent Rule
Create a new Workload Protection agent rule that defines security policies for Datadog agents. The rule uses SECL expressions to specify conditions and associated actions when triggered.
| Parameter | Type | Description |
|---|---|---|
expression * | string | SECL (Security Expression Language) expression that defines the conditions triggering this rule. The expression evaluates process, file, and system events. |
name * | string | Unique identifier name for the agent rule. Used for reference and management purposes. |
type * | string | Resource type identifier. Must always be set to 'agent_rule' for Workload Protection agent rules. |
actions | array | Array of actions the rule will execute when its conditions are triggered. Actions define the response behavior (e.g., block, alert, log). |
agent_version | string | Restrict rule application to specific Datadog Agent versions. Use version strings or ranges to target particular agent releases. |
description | string | Human-readable description explaining the purpose and scope of the agent rule. |
enabled | boolean | Toggle to activate or deactivate the rule. Disabled rules are not evaluated by agents. |
filters | array | Array of supported platforms for this rule (e.g., linux, windows, macos). The rule only applies to agents running on specified platforms. |
product_tags | array | Array of product tags for categorizing and organizing the rule within Workload Protection. |
silent | boolean | When enabled, the rule executes its actions without generating alerts or notifications. |
get_agent_rule Get Agent Rule
Retrieve the details of a specific Workload Protection agent rule by its ID. This endpoint is not available for Government (US1-FED) sites.
| Parameter | Type | Description |
|---|---|---|
agent_rule_id * | string | The unique identifier of the agent rule to retrieve. |
update_agent_rule Update Agent Rule
Update a Workload Protection agent rule with new configuration. Returns the updated agent rule object on success.
| Parameter | Type | Description |
|---|---|---|
agent_rule_id * | string | The unique identifier of the agent rule to update. |
type * | string | The resource type identifier. Must always be set to 'agent_rule'. |
actions | array | The array of actions the rule will perform when triggered. |
agent_version | string | Restrict the rule to specific versions of the Datadog Agent. |
description | string | A human-readable description of the agent rule's purpose and behavior. |
enabled | boolean | Enable or disable the agent rule. When disabled, the rule will not be evaluated. |
expression | string | The SECL (Security Expression Language) expression that defines when the rule triggers. |
product_tags | array | A list of product tags to categorize and organize the rule. |
silent | boolean | When enabled, the rule will not generate alerts or notifications when triggered. |
delete_agent_rule Delete Agent Rule
Delete a specific Workload Protection agent rule. This operation permanently removes the agent rule configuration from your Workload Protection settings.
| Parameter | Type | Description |
|---|---|---|
agent_rule_id * | string | The unique identifier of the agent rule to delete. |
list_workload_protection_policies List Workload Protection Policies
Retrieve all Workload Protection policies configured in your organization. This endpoint is not available for Government (US1-FED) sites.
create_workload_protection_policy Create Workload Protection Policy
Create a new Workload Protection policy to define security rules and configurations for your workloads. The policy name and type are required; description and enabled status are optional.
| Parameter | Type | Description |
|---|---|---|
name * | string | The unique name identifier for the policy. |
type * | string | The resource type, which must be set to 'policy' for Workload Protection policies. |
description | string | A human-readable description of the policy's purpose and scope. |
enabled | boolean | Whether the policy is active and enforced on workloads. |
download_workload_protection_policy Download Workload Protection Policy
Download the currently active Workload Protection policy as a `.policy` file that can be deployed to agents in your environment. This endpoint generates the policy file from your active agent rules.
get_workload_protection_policy Get Workload Protection Policy
Retrieve the details of a specific Workload Protection policy by its ID. This endpoint is not available for Government (US1-FED) sites.
| Parameter | Type | Description |
|---|---|---|
policy_id * | string | The unique identifier of the Workload Protection policy to retrieve. |
update_workload_protection_policy Update Workload Protection Policy
Update a Workload Protection policy configuration. Returns the updated policy object on success.
| Parameter | Type | Description |
|---|---|---|
policy_id * | string | The unique identifier of the Workload Protection policy to update. |
type * | string | The resource type identifier for this policy object. |
description | string | A human-readable description of the policy's purpose and configuration. |
enabled | boolean | Whether the policy is currently active and enforced. |
delete_workload_protection_policy Delete Workload Protection Policy
Delete a specific Workload Protection policy by its ID. This operation permanently removes the policy and is not available for Government (US1-FED) sites.
| Parameter | Type | Description |
|---|---|---|
policy_id * | string | The unique identifier of the Workload Protection policy to delete. |
list_heatmap_snapshots List Heatmap Snapshots
Retrieve heatmap snapshots for a specific view, with optional filtering by device type and application. Use this to analyze user interaction patterns across different devices and applications.
| Parameter | Type | Description |
|---|---|---|
filterview_name * | string | Filter snapshots by the view name or page path where the heatmap was captured. |
filterapplication_id | string | Filter snapshots by the application ID to retrieve heatmaps from a specific application. |
filterdevice_type | string | Filter snapshots by device type (e.g., desktop, mobile, tablet). |
pagelimit | integer | Maximum number of snapshots to return in the response. Useful for pagination. |
create_heatmap_snapshot Create Heatmap Snapshot
Create a heatmap snapshot for a RUM session to capture user interaction data at a specific point in time. This snapshot records device type, view information, and timing details for replay analysis.
| Parameter | Type | Description |
|---|---|---|
application_id * | string | The unique identifier of the RUM application where the snapshot is being created. |
device_type * | string | The type of device on which the snapshot was captured (e.g., desktop, mobile, tablet). |
event_id * | string | The unique identifier of the RUM event associated with this snapshot. |
is_device_type_selected_by_user * | boolean | Whether the device type was explicitly selected by the user or automatically detected by the system. |
snapshot_name * | string | A human-readable name for the snapshot to help identify it in the UI. |
start * | string | The time offset in milliseconds from the start of the session when the snapshot was captured. |
type * | string | The resource type identifier for this snapshot. |
view_name * | string | The URL path or name of the view where the snapshot was captured. |
session_id | string | The unique identifier of the RUM session associated with this snapshot. |
view_id | string | The unique identifier of the RUM view where the snapshot was captured. |
update_heatmap_snapshot Update Heatmap Snapshot
Update a replay heatmap snapshot with event and session context. Allows modification of snapshot metadata including device type selection and timing information.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | Unique identifier of the RUM event associated with this snapshot. |
is_device_type_selected_by_user * | boolean | Whether the device type was explicitly selected by the user rather than auto-detected. |
snapshot_id * | string | Unique identifier of the heatmap snapshot to update. |
start * | string | Offset in milliseconds from the start of the session when the snapshot was captured. |
type * | string | Resource type identifier for snapshots. |
session_id | string | Unique identifier of the RUM session associated with this snapshot. |
view_id | string | Unique identifier of the RUM view associated with this snapshot. |
delete_heatmap_snapshot Delete Heatmap Snapshot
Delete a heatmap snapshot from the replay system. This operation permanently removes the specified snapshot and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
snapshot_id * | string | The unique identifier of the heatmap snapshot to delete. |
list_roles List Roles
Retrieve all available roles with their names and unique identifiers. Results are paginated for efficient data retrieval.
| Parameter | Type | Description |
|---|---|---|
pagenumber | string | Zero-indexed page number to retrieve from the paginated results. |
pagesize | string | Number of roles to return per page. Maximum allowed is 100 roles per request. |
list_role_templates List Role Templates
Retrieve all available role templates that can be used as blueprints for creating new roles. Role templates provide predefined permission sets and configurations.
get_role Get Role
Retrieve a specific role by its unique identifier. Returns the role's details and configuration within the organization.
| Parameter | Type | Description |
|---|---|---|
role_id * | string | The unique identifier that specifies which role to retrieve. |
clone_role Clone Role
Create a new role by cloning an existing role, optionally inheriting permissions from a managed role.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name for the newly cloned role. |
role_id * | string | The unique identifier of the role to clone. |
type * | string | The type designation for this role. |
receives_permissions_from | array | Optional managed role from which the new role automatically inherits new permissions. Specify one of the predefined managed roles, or leave empty if no automatic permission inheritance is desired. |
list_role_users List Role Users
Retrieves all users assigned to a specific role. Results are paginated to allow efficient browsing of large user lists.
| Parameter | Type | Description |
|---|---|---|
role_id * | string | The unique identifier of the role whose users you want to retrieve. |
pagenumber | string | The page number to retrieve, starting from 0 for the first page. |
pagesize | string | Number of users to return per page. Larger values reduce the number of requests needed but increase response size. |
remove_user_from_role Remove User from Role
Remove a user from a role, revoking their access and permissions associated with that role.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the user to remove from the role. |
role_id * | string | The unique identifier of the role from which the user will be removed. |
type * | string | The resource type identifier, which must be set to 'users' for this operation. |
aggregate_rum_events Aggregate RUM Events
Aggregate Real User Monitoring (RUM) events into time-series buckets with computed metrics. Use this to analyze RUM data across specified time ranges with optional grouping and filtering.
| Parameter | Type | Description |
|---|---|---|
compute | array | List of metrics or timeseries to compute for each aggregated bucket (e.g., count, duration, error_rate). |
from | string | Start of the time range for events. Accepts ISO 8601 dates with UTC timezone, relative expressions (e.g., 'now-15m'), or millisecond timestamps. |
group_by | array | Grouping rules to organize aggregated results by specified dimensions (e.g., by service, by browser type). Order matters for hierarchical grouping. |
limit | string | Maximum number of buckets to return in the response. |
to | string | End of the time range for events. Accepts ISO 8601 dates with UTC timezone, relative expressions (e.g., 'now'), or millisecond timestamps. |
list_rum_applications List RUM Applications
Retrieve all Real User Monitoring (RUM) applications configured in your organization. This provides a complete inventory of RUM applications available for monitoring and analysis.
create_rum_application Create RUM Application
Create a new Real User Monitoring (RUM) application in your organization. Configure event processing and data retention policies for the application.
| Parameter | Type | Description |
|---|---|---|
dataType * | string | The resource type identifier for RUM application creation requests. |
name * | string | The name of the RUM application to create. |
attributesType | string | The platform type for the RUM application. Specifies which SDK or platform the application targets. |
product_analytics_retention_state | string | Controls how long Product Analytics data derived from RUM events is retained. MAX retains data for the maximum period, NONE disables retention. |
rum_event_processing_state | string | Determines which RUM events are processed and stored. ALL processes all events, ERROR_FOCUSED_MODE prioritizes error events, NONE disables event processing. |
order_retention_filters Order Retention Filters
Reorder RUM retention filters for a RUM application. Returns the reordered retention filter objects.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The unique identifier of the RUM application whose retention filters should be reordered. |
list_retention_filters List Retention Filters
Retrieve all RUM retention filters configured for a specific RUM application. Retention filters control which RUM data is retained based on defined criteria.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The unique identifier of the RUM application for which to retrieve retention filters. |
create_rum_retention_filter Create RUM Retention Filter
Create a retention filter for a RUM application to control data sampling and retention policies. The filter applies to specified RUM event types and can optionally include cross-product APM trace filtering.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The unique identifier of the RUM application where the retention filter will be created. |
event_type * | string | The category of RUM events this filter applies to (sessions, page views, user actions, errors, resource loads, long tasks, or vital metrics). |
name * | string | A descriptive name for the retention filter to identify its purpose and scope. |
sample_rate * | number | The sampling rate for RUM events matched by this filter, specified as a percentage between 0.1 and 100. |
trace_sample_rate * | number | The sampling rate for APM traces when cross-product filtering is enabled, specified as a percentage between 0 and 100. |
type * | string | The resource type identifier, which must always be set to retention_filters. |
enabled | boolean | Activate or deactivate this retention filter without deleting it. |
trace_enabled | boolean | Enable cross-product retention filtering for APM traces associated with this RUM application. |
get_retention_filter Get Retention Filter
Retrieve a specific RUM retention filter configuration for a RUM application. Use this to inspect retention filter settings and rules.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The unique identifier of the RUM application containing the retention filter. |
rf_id * | string | The unique identifier of the retention filter to retrieve. |
update_retention_filter Update Retention Filter
Update a RUM retention filter configuration for a RUM application, including sampling rates and event type filtering. Returns the updated retention filter object.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The unique identifier of the RUM application containing the retention filter. |
id * | string | The unique identifier of the retention filter in UUID format. |
rf_id * | string | The unique identifier of the retention filter to update. |
type * | string | The resource type identifier, which must be set to retention_filters. |
enabled | boolean | Enable or disable the RUM retention filter. |
event_type | string | The type of RUM events to apply the retention filter to. |
sample_rate | number | The sample rate for RUM event retention, expressed as a percentage between 0.1 and 100. |
trace_enabled | boolean | Enable or disable the cross-product retention filter for APM traces. |
trace_sample_rate | number | The sample rate for APM trace retention, expressed as a percentage between 0 and 100. |
delete_retention_filter Delete Retention Filter
Delete a retention filter from a RUM application. This operation permanently removes the specified retention filter and its associated rules.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The unique identifier of the RUM application containing the retention filter to delete. |
rf_id * | string | The unique identifier of the retention filter to delete. |
get_rum_application Get RUM Application
Retrieve a specific RUM (Real User Monitoring) application by its ID from your organization. Use this to fetch detailed configuration and metadata for a RUM application.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the RUM application to retrieve. |
update_rum_application Update RUM Application
Update configuration settings for a RUM application in your organization, including data retention policies and event processing modes.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the RUM application being updated. |
dataType * | string | The resource type identifier for RUM application updates. |
id * | string | The unique identifier of the RUM application to update. |
attributesType | string | The platform type for the RUM application (browser, mobile, desktop, or game engine). |
product_analytics_retention_state | string | Controls how long Product Analytics data derived from RUM events is retained. |
rum_event_processing_state | string | Determines which RUM events are processed and stored for this application. |
delete_rum_application Delete RUM Application
Delete an existing RUM (Real User Monitoring) application from your organization. This action is permanent and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the RUM application to delete. |
list_rum_metrics List RUM Metrics
Retrieve all configured Real User Monitoring (RUM) metrics with their definitions. Use this to discover available metrics for RUM data collection and analysis.
create_rum_metric Create RUM Metric
Create a custom metric based on your organization's RUM (Real User Monitoring) data. The metric aggregates RUM events according to specified criteria and returns the created metric object.
| Parameter | Type | Description |
|---|---|---|
aggregation_type * | string | The aggregation method to apply to the metric. Use 'count' to count matching events or 'distribution' to analyze the distribution of values across a specified path. |
event_type * | string | The category of RUM events to include in the metric. Select the event type that best matches your monitoring needs. |
id * | string | A unique identifier for the metric. Use a descriptive name following your naming convention to make the metric easily identifiable in queries and dashboards. |
query * | string | A search query using RUM search syntax to filter which events are included in the metric. Use '*' to include all events or specify conditions to narrow the scope. |
type * | string | The resource type identifier. This must always be set to 'rum_metrics' to indicate this is a RUM-based metric. |
when * | string | Determines when events are counted: 'match' counts events when first detected, 'end' counts when events complete. Choose based on whether you need real-time or final-state metrics. |
group_by | array | Dimensions to group the metric by. Specify RUM attributes as an array to break down metric results by those dimensions. |
include_percentiles | boolean | Include percentile calculations (p50, p75, p90, p95, p99) in the metric results. Only applicable when aggregation_type is 'distribution'. |
path | string | The RUM event attribute path to aggregate on (e.g., duration, memory, custom attributes). Only applicable when aggregation_type is 'distribution'. |
get_rum_metric Get RUM Metric
Retrieve a specific RUM-based metric from your organization by its identifier. Use this to fetch configuration and details for a particular real user monitoring metric.
| Parameter | Type | Description |
|---|---|---|
metric_id * | string | The unique identifier of the RUM-based metric to retrieve. |
update_rum_metric Update RUM Metric
Update a specific RUM-based metric configuration in your organization. Returns the updated metric object when successful.
| Parameter | Type | Description |
|---|---|---|
metric_id * | string | The unique identifier of the RUM-based metric to update. |
query * | string | The search query to filter RUM events, using RUM search syntax. Defaults to all events if not specified. |
type * | string | The resource type identifier. Must always be set to rum_metrics. |
group_by | array | An array of grouping rules that define how to segment the metric data. Order matters and determines the hierarchy of grouping. |
include_percentiles | boolean | Include or exclude percentile aggregations for distribution metrics. Only applicable when the metric uses distribution aggregation type. |
delete_rum_metric Delete RUM Metric
Delete a specific RUM-based metric from your organization. This action permanently removes the metric and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
metric_id * | string | The unique identifier of the RUM-based metric to delete. |
list_rum_events List RUM Events
Retrieve a paginated list of Real User Monitoring (RUM) events matching your search criteria. Use this endpoint to query your latest RUM events with optional filtering by time range and custom RUM search syntax.
| Parameter | Type | Description |
|---|---|---|
filterfrom | string | Earliest timestamp to include in results. Events before this time are excluded. |
filterquery | string | Search query using RUM syntax to filter events. Supports filtering by event type, application ID, and other RUM attributes. |
filterto | string | Latest timestamp to include in results. Events after this time are excluded. |
pagelimit | string | Maximum number of events to return in a single response. Useful for controlling response size and pagination. |
search_rum_events Search RUM Events
Search and filter RUM (Real User Monitoring) events using complex query criteria with paginated results. Use this endpoint to retrieve events within a specified time range with customizable result limits.
| Parameter | Type | Description |
|---|---|---|
from | string | Start of the time range for events. Accepts ISO 8601 formatted dates with UTC indicator, mathematical expressions (e.g., now-15m), or millisecond timestamps. |
limit | string | Maximum number of events to return in the response. Useful for controlling pagination and response size. |
to | string | End of the time range for events. Accepts ISO 8601 formatted dates with UTC indicator, mathematical expressions (e.g., now), or millisecond timestamps. |
list_replay_playlists List Replay Playlists
Retrieve a paginated list of RUM replay playlists with optional filtering by creator or name. Use pagination parameters to control result set size and offset.
| Parameter | Type | Description |
|---|---|---|
filtercreated_by_uuid | string | Filter playlists to only those created by a specific user, identified by their UUID. |
filterquery | string | Search playlists by name using a text query string. |
pagenumber | integer | Zero-indexed page number for pagination to retrieve a specific page of results. |
pagesize | integer | Maximum number of playlists to return per page. |
create_replay_playlist Create Replay Playlist
Create a new RUM replay playlist for organizing and managing session recordings. The playlist is associated with the user who creates it.
| Parameter | Type | Description |
|---|---|---|
handle * | string | Email address of the user creating the playlist. |
id * | string | Unique identifier (UUID) of the user who created the playlist. |
name * | string | Human-readable name for the playlist. |
type * | string | Resource type identifier for RUM replay playlists. |
uuid * | string | UUID of the user creating the playlist. Must match the creator's unique identifier. |
description | string | Optional description explaining the playlist's purpose or contents. |
get_replay_playlist Get Replay Playlist
Retrieve a specific RUM replay playlist by its unique identifier. Use this to access playlist details and configuration.
| Parameter | Type | Description |
|---|---|---|
playlist_id * | integer | The unique identifier of the replay playlist to retrieve. |
update_replay_playlist Update Replay Playlist
Update an existing RUM replay playlist with new metadata, name, or description. Requires the playlist ID and creator information to identify and modify the target playlist.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The email address of the user who created the playlist. |
id * | string | The unique identifier (UUID) of the user who created the playlist. |
name * | string | A human-readable name for the playlist. |
playlist_id * | integer | The unique identifier of the playlist to update. |
type * | string | The resource type identifier for a RUM replay playlist. |
uuid * | string | The UUID of the user who created the playlist. |
description | string | An optional human-readable description explaining the playlist's purpose or contents. |
delete_replay_playlist Delete Replay Playlist
Delete a replay playlist by its unique identifier. This action permanently removes the playlist and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
playlist_id * | integer | The unique identifier of the replay playlist to delete. |
list_replay_playlist_sessions List Replay Playlist Sessions
Retrieve a paginated list of sessions contained within a specific replay playlist. Use pagination parameters to control result set size and offset.
| Parameter | Type | Description |
|---|---|---|
playlist_id * | integer | The unique identifier of the playlist from which to retrieve sessions. |
pagenumber | integer | Zero-indexed page number for pagination to retrieve a specific page of results. |
pagesize | integer | Maximum number of sessions to return per page. |
remove_replay_playlist_sessions Remove Replay Playlist Sessions
Remove one or more sessions from a replay playlist. Specify the playlist and provide an array of session identifiers to be removed.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of session identifier objects to remove from the playlist. Order is not significant. |
playlist_id * | integer | The unique identifier of the playlist from which sessions will be removed. |
add_session_to_replay_playlist Add Session to Replay Playlist
Add a RUM replay session to an existing playlist. This operation associates a session with a playlist for organizational and playback purposes.
| Parameter | Type | Description |
|---|---|---|
playlist_id * | integer | The unique identifier of the playlist to which the session will be added. |
session_id * | string | The unique identifier of the RUM replay session to add to the playlist. |
ts * | string | Server-side timestamp indicating when the operation is being performed, specified in milliseconds since epoch. |
remove_session_from_replay_playlist Remove Session from Replay Playlist
Remove a session from a RUM replay playlist. This operation deletes the association between a specific session and its parent playlist.
| Parameter | Type | Description |
|---|---|---|
playlist_id * | integer | The unique identifier of the playlist from which the session will be removed. |
session_id * | string | The unique identifier of the session to be removed from the playlist. |
list_session_view_segments List Session View Segments
Retrieve all segments for a specific view within a session. Segments represent distinct portions of a session recording that can be analyzed independently.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | The unique identifier of the session containing the view. |
view_id * | string | The unique identifier of the view within the session. |
source | string | The storage backend from which to retrieve segments. Determines whether data is fetched from the event platform or blob storage. |
list_replay_session_watchers List Replay Session Watchers
Retrieve a list of watchers monitoring a specific RUM replay session. Supports pagination to manage large result sets.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | The unique identifier of the RUM replay session for which to list watchers. |
pagenumber | integer | The zero-indexed page number to retrieve from the paginated results. |
pagesize | integer | The number of watcher records to return per page. |
record_session_watch Record Session Watch
Record that a user watched a specific RUM session event. This creates a watch record linking a session to an event at a particular timestamp.
| Parameter | Type | Description |
|---|---|---|
application_id * | string | The unique identifier of the RUM application that contains the session. |
event_id * | string | The unique identifier of the RUM event within the session that was watched. |
session_id * | string | The unique identifier of the session being watched. |
timestamp * | string | The date and time when the session watch was recorded, in ISO 8601 format. |
type * | string | The resource type identifier for this rum replay watch record. |
delete_replay_session_watch Delete Replay Session Watch
Delete the watch history for a specific RUM replay session. This removes tracking of the session from the user's watched sessions.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | The unique identifier of the RUM replay session whose watch history should be deleted. |
list_replay_viewership_sessions List Replay Viewership Sessions
Retrieve a paginated list of watched replay sessions, with optional filtering by time range, user, application, or specific session IDs.
| Parameter | Type | Description |
|---|---|---|
filterapplication_id | string | Filter sessions by application ID to retrieve viewership history for a specific application. |
filtercreated_by | string | Filter sessions by the user UUID who watched them. If not specified, defaults to the current authenticated user. |
filtersession_ids | string | Filter by specific session IDs using a comma-separated list. Multiple IDs can be provided to retrieve only those sessions. |
filterwatched_atend | string | Filter sessions by end of the watched timestamp range (inclusive). Specify as milliseconds since Unix epoch. |
filterwatched_atstart | string | Filter sessions by start of the watched timestamp range (inclusive). Specify as milliseconds since Unix epoch. |
pagenumber | integer | Zero-indexed page number for pagination results. |
pagesize | integer | Number of sessions to return per page. Controls pagination size. |
list_scorecard_outcomes List Scorecard Outcomes
Retrieve all rule outcomes from the scorecard system with optional filtering by service, state, and rule properties. Supports pagination and field selection for flexible result customization.
| Parameter | Type | Description |
|---|---|---|
fieldsoutcome | string | Comma-separated list of outcome attribute names to include in the response. Omit to return all attributes. |
filteroutcomeservice_name | string | Filter outcomes by the service name associated with the rule. |
filteroutcomestate | string | Filter outcomes by their current state (e.g., pass, fail, warning). |
filterruleenabled | boolean | Filter outcomes based on whether the associated rule is currently enabled or disabled. |
filterruleid | string | Filter outcomes by the unique identifier of the associated rule. |
filterrulename | string | Filter outcomes by the name of the associated rule. |
pageoffset | string | Starting position for the returned page of outcomes, useful for implementing pagination. |
pagesize | string | Number of outcomes to return per page. Maximum allowed is 100 outcomes per request. |
batch_update_scorecard_outcomes Batch Update Scorecard Outcomes
Asynchronously update multiple scorecard rule outcomes in a single batched request. This operation processes outcomes in parallel for improved performance when updating large sets of scorecard results.
| Parameter | Type | Description |
|---|---|---|
results | array | Array of scorecard outcome objects to update. Each item represents a single scorecard rule outcome with its updated values. Order is not significant. |
batch_create_scorecard_outcomes Batch Create Scorecard Outcomes
Create multiple scorecard outcomes in a single batched request. This operation allows you to set service-rule outcomes efficiently by processing multiple results together.
| Parameter | Type | Description |
|---|---|---|
results | array | Array of scorecard outcome objects to create or update. Each item in the array represents a single service-rule outcome with its associated data. Order is preserved as submitted. |
list_scorecard_rules List Scorecard Rules
Retrieve a paginated list of scorecard rules with optional filtering by ID, enabled status, custom flag, name, or description.
| Parameter | Type | Description |
|---|---|---|
filterrulecustom | boolean | Filter to return only custom rules when set to true. |
filterruledescription | string | Filter results by rule description using partial or exact matching. |
filterruleenabled | boolean | Filter to return only enabled rules when set to true. |
filterruleid | string | Filter results to a specific rule by its unique identifier. |
filterrulename | string | Filter results by rule name using partial or exact matching. |
pageoffset | string | Zero-based offset for pagination to specify where the returned page should begin. |
pagesize | string | Number of rules to return per page. Maximum allowed is 100 rules per request. |
create_scorecard_rule Create Scorecard Rule
Creates a new rule for a scorecard that can be used to calculate maturity scores. Rules can be custom or built-in, and can be enabled to be included in score calculations.
| Parameter | Type | Description |
|---|---|---|
custom | boolean | Whether this rule is a custom rule created by the user or a built-in rule provided by the system. |
description | string | A detailed explanation of what this rule measures or validates. |
enabled | boolean | Whether this rule is active and should be included in scorecard calculations. |
level | string | The maturity level this rule applies to, ranging from 1 (lowest) to 3 (highest). |
owner | string | The user or team responsible for maintaining and updating this rule. |
scorecard_name | string | The name of the scorecard this rule belongs to and will contribute to. |
update_scorecard_rule Update Scorecard Rule
Update an existing scorecard rule to modify its configuration, maturity level, ownership, or enabled status. Changes take effect immediately in scorecard calculations.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the rule to update. |
custom | boolean | Whether this rule is a custom rule (true) or a built-in rule (false). |
description | string | A detailed explanation of what this rule evaluates and its purpose. |
enabled | boolean | Whether this rule is active and included in scorecard calculations. |
level | string | The maturity level this rule assesses, ranging from 1 (basic) to 3 (advanced). |
owner | string | The user or team responsible for maintaining and updating this rule. |
scorecard_name | string | The name of the scorecard this rule belongs to and contributes to. |
delete_scorecard_rule Delete Scorecard Rule
Permanently deletes a scorecard rule by its ID. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the scorecard rule to delete. |
list_seat_users List Seat Users
Retrieve the list of users assigned seats for a specified product code. Use pagination to control the number of results returned.
| Parameter | Type | Description |
|---|---|---|
product_code * | string | The product code identifying which product's seat assignments to retrieve. |
pagelimit | integer | Maximum number of user records to return in a single response for pagination control. |
assign_seats_to_users Assign Seats to Users
Assign product seats to specified users. This operation allocates seat licenses for a given product code to one or more users.
| Parameter | Type | Description |
|---|---|---|
product_code * | string | The product code identifying which product's seats to assign. |
type * | string | The type classification for this seat assignment request. |
user_uuids * | array | List of user UUIDs to assign seats to. Order is not significant. |
unassign_seats Unassign Seats
Remove seat assignments from specified users for a given product. This operation revokes access rights associated with the product seats.
| Parameter | Type | Description |
|---|---|---|
product_code * | string | The product identifier for which to unassign seats. |
type * | string | The category type for this unassignment request. |
user_uuids * | array | List of user identifiers to unassign seats from. Order is not significant. |
list_entity_risk_scores List Entity Risk Scores
Retrieve entity risk scores for your organization to assess security risks across cloud resources, identities, and services. Scores are based on detected signals, misconfigurations, and identity risks.
| Parameter | Type | Description |
|---|---|---|
entityType | array | Filter results by one or more entity types. Specify multiple types as a comma-separated list or array. |
filter_custom_attribute | string | Custom attribute filter in key:value format |
filter_risk_score_max | number | Maximum risk score threshold (0-100) |
filter_risk_score_min | number | Minimum risk score threshold (0-100) |
filter_severity | string | Filter by severity level (e.g., 'critical', 'high', 'medium', 'low') |
from | string | Start time for the query in Unix timestamp (milliseconds). Defaults to 2 weeks ago if not specified. |
pagenumber | integer | Page number to retrieve (1-indexed). Use with page[size] to paginate through results. |
pagesize | integer | Number of results to return per page. Maximum allowed is 1000. |
to | string | End time for the query in Unix timestamp (milliseconds). Defaults to the current time if not specified. |
download_workload_policy Download Workload Policy
Download the active Workload Protection policy as a `.policy` file that can be deployed to agents in your environment. This endpoint is exclusively for the Government (US1-FED) site.
search_security_findings Search Security Findings
Search and retrieve security findings using log query syntax. Filter by severity, status, tags, and other attributes to identify and manage security issues.
| Parameter | Type | Description |
|---|---|---|
combine_operator | string | Operator to combine facets: 'AND' or 'OR'. Default is 'AND'. |
facet_filters | string | List of facet filters. Each dict has 'facet' (string) and 'values' (list of strings). Multiple values within a facet are OR'd together. |
filterquery | string | Search query using log syntax to filter findings. Prefix finding attributes with @ (e.g., @severity, @status) and query tags without a prefix. Combine multiple conditions with AND/OR operators. |
pagelimit | string | Maximum number of findings to return in the response. |
create_security_cases Create Security Cases
Create cases for security findings and associate them with up to 50 findings per case. Findings already attached to other cases will be automatically detached and reassigned to the newly created cases.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of case creation request objects. Each object defines a case to create with its associated security findings. Up to 50 cases can be created per request, with each case supporting up to 50 securi… |
detach_findings_from_case Detach Findings From Case
Detach security findings from their associated cases. This operation dissociates findings from cases without deleting the cases themselves, supporting up to 50 findings per request. Findings not currently attached to any case are ignored.
| Parameter | Type | Description |
|---|---|---|
type * | string | The resource type identifier for cases. |
attach_findings_to_case Attach Findings to Case
Attach security findings to a case for centralized tracking and management. Up to 50 findings can be attached per case; findings already attached to another case will be automatically detached and moved to the specified case.
| Parameter | Type | Description |
|---|---|---|
case_id * | string | The unique identifier of the case to attach security findings to. |
id * | string | The unique identifier of the case resource. |
type * | string | The resource type identifier for cases. |
create_security_finding_jira_issues Create Security Finding Jira Issues
Create Jira issues for security findings with bidirectional sync to Datadog cases. Supports bulk creation of up to 50 Jira issues per request, with each issue linked to up to 50 security findings. Findings already attached to other Jira issues will be automatically reassigned.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of Jira issue creation request objects. Each object defines the Jira issue details and associated security findings. Order is not significant. |
attach_security_findings_to_jira_issue Attach Security Findings to Jira Issue
Attach security findings to a Jira issue. If the Jira issue is not linked to an existing case, a new case will be created automatically. Up to 50 security findings can be attached per operation, and findings previously attached to other Jira issues will be moved to the specified issue.
| Parameter | Type | Description |
|---|---|---|
jira_issue_url * | string | The URL of the Jira issue where security findings will be attached. |
type * | string | The resource type identifier for Jira issues. |
findingsData | array | Array of security finding objects to attach to the Jira issue. Each object represents a security finding to be linked. |
projectData | object | Case management project information to associate with the Jira issue attachment. |
search_findings Search Findings
Search security findings using the logs query syntax to filter by attributes (prefixed with @) and tags. Returns a list of findings matching your search criteria.
| Parameter | Type | Description |
|---|---|---|
limit | string | Maximum number of security findings to return in the response. |
list_sboms List SBOMs
Retrieve a list of Software Bill of Materials (SBOMs) for assets in your organization, with support for filtering by asset type, name, package details, and license information.
| Parameter | Type | Description |
|---|---|---|
filterasset_name | string | Filter results by the name of the asset to retrieve SBOMs for. |
filterasset_type | string | Filter results by the type of asset (Repository, Service, Host, HostImage, or Image). |
filterlicense_name | string | Filter results by the software license name of a package or dependency component included in the asset. |
filterlicense_type | string | Filter results by the software license type classification of a package or dependency component included in the asset. |
filterpackage_name | string | Filter results by the name of a package or dependency component included in the asset. |
filterpackage_version | string | Filter results by the version of a package or dependency component included in the asset. |
pagenumber | string | The page number to retrieve, starting from 1. Use this to paginate through large result sets. |
get_sbom Get SBOM
Retrieve a Software Bill of Materials (SBOM) for a specific asset by type and identifier. Supports multiple asset types and SBOM standards for security and compliance purposes.
| Parameter | Type | Description |
|---|---|---|
asset_type * | string | The category of asset for which to retrieve the SBOM. |
filterasset_name * | string | The identifier or name of the asset. For repositories, use the full repository path; for images, use the image name. |
extformat | string | The SBOM format standard for the returned document. |
filterrepo_digest | string | The container image digest identifier. Required when asset_type is 'Image' to uniquely identify the specific image version. |
list_scanned_assets List Scanned Assets
Retrieve security scan metadata for assets in your organization, including hosts, host images, and container images. Results can be filtered by asset type, name, and scan origin/environment.
| Parameter | Type | Description |
|---|---|---|
filterasset.name | string | Filter results by the name or identifier of the scanned asset (e.g., instance ID, image name, or digest). |
filterasset.type | string | Filter results by asset type: Host (EC2 instances, VMs), HostImage (AMIs, VM images), or Image (container images). |
filterlast_success.env | string | Filter results by the environment where the last successful scan occurred (e.g., prod, staging, dev). |
filterlast_success.origin | string | Filter results by the origin of the last successful scan (e.g., agent, scanner, or other source). |
pagenumber | string | The page number to retrieve, starting from 1. Use this to paginate through large result sets. |
update_signal_notification_rule Update Signal Notification Rule
Partially update a signal-based notification rule. All fields are optional; only provided fields will be updated.
| Parameter | Type | Description |
|---|---|---|
dataId * | string | The unique identifier of the notification rule being updated. |
id * | string | The unique identifier of the notification rule to update. |
trigger_source * | string | The source type for the notification rule. Use 'security_signals' for signal-based rules or 'security_findings' for vulnerability-based rules. |
type * | string | The notification rule type identifier. |
enabled | boolean | Enable or disable the notification rule. |
rule_types | array | Security rule types to filter on. Specify one or more types to apply the rule to matching security issues. |
severities | array | Security severity levels to filter on. Only issues matching the specified severities will trigger notifications. |
targets | array | List of notification targets (email addresses, Slack channels, PagerDuty services, etc.). Required integrations must be configured to deliver notifications to specified targets. |
time_aggregation | string | Time window in seconds for aggregating notification rule results using a rolling window. Only applies to vulnerability-based rules. Set to 0 or omit for no aggregation. |
list_vulnerabilities List Vulnerabilities
Retrieve a paginated list of vulnerabilities with support for filtering by type, severity, status, affected assets, and risk factors. Results are paginated with automatic token-based consistency for multi-page requests.
| Parameter | Type | Description |
|---|---|---|
filteradvisory.id | string | Filter vulnerabilities by advisory identifier, typically a CVE (Common Vulnerabilities and Exposures) ID. |
filterasset.arch | string | Filter vulnerabilities by the processor architecture of the affected asset (e.g., x86_64, arm64). |
filterasset.environments | string | Filter vulnerabilities by the deployment environment of the affected asset (e.g., staging, production, development). |
filterasset.name | string | Filter vulnerabilities by the name of the affected asset. Supports wildcard patterns using asterisks (*). |
filterasset.operating_system.name | string | Filter vulnerabilities by the operating system name of the affected asset. |
filterasset.operating_system.version | string | Filter vulnerabilities by the operating system version of the affected asset. |
filterasset.repository_url | string | Filter vulnerabilities by the repository URL associated with the affected asset. |
filterasset.risks.has_access_to_sensitive_data | boolean | Filter vulnerabilities by whether the affected asset has access to sensitive or confidential data. |
filterasset.risks.has_privileged_access | boolean | Filter vulnerabilities by whether the affected asset has privileged access or elevated permissions. |
filterasset.risks.in_production | boolean | Filter vulnerabilities by whether the affected asset is deployed in a production environment. |
filterasset.risks.is_publicly_accessible | boolean | Filter vulnerabilities by whether the affected asset is publicly accessible over the internet. |
filterasset.risks.under_attack | boolean | Filter vulnerabilities by whether the affected asset is currently under active attack. |
filterasset.teams | string | Filter vulnerabilities by the team or group responsible for the affected asset. |
filterasset.type | string | Filter vulnerabilities by the type of asset affected: Repository (source code), Service (running application), Host (server/machine), HostImage (VM image), or Image (container image). |
filterasset.version.first | string | Filter vulnerabilities by the first version of the asset on which this vulnerability was detected. |
filterasset.version.last | string | Filter vulnerabilities by the most recent version of the asset on which this vulnerability was detected. |
filtercode_location.file_path | string | Filter vulnerabilities by the file path where the vulnerable code is located, including line number. |
filtercode_location.location | string | Filter vulnerabilities by their location in code, specified as class name and line number. |
filtercode_location.method | string | Filter vulnerabilities by the method or function name containing the vulnerable code. |
filtercvss.base.severity | string | Filter vulnerabilities by CVSS base severity level, ranging from None to Critical. |
filtercvss.base.vector | string | Filter vulnerabilities by their CVSS base vector string, which encodes attack complexity, privileges required, and impact metrics. |
filtercvss.datadog.severity | string | Filter vulnerabilities by Datadog-adjusted severity level, which may differ from base CVSS severity based on contextual risk factors. |
filtercvss.datadog.vector | string | Filter vulnerabilities by their Datadog CVSS vector, which includes temporal and environmental modifiers for more accurate risk assessment. |
filterecosystem | string | Filter vulnerabilities by the package ecosystem or distribution channel (e.g., PyPI for Python, Maven for Java). |
filterfix_available | boolean | Filter vulnerabilities by whether a fix or patch is available from the vendor or maintainer. |
filterlanguage | string | Filter vulnerabilities by the programming language or platform of the affected component. |
filterlibrary.name | string | Filter vulnerabilities by the name of the affected library or package. |
filterlibrary.version | string | Filter vulnerabilities by the specific version of the affected library. |
filterorigin | string | Filter vulnerabilities by their origin or source of detection (e.g., agentless-scanner, agent-based scanning). |
filterrepo_digests | string | Filter vulnerabilities by container image digest (when the vulnerability affects a container image asset). |
filterrisks.epss.severity | string | Filter vulnerabilities by EPSS (Exploit Prediction Scoring System) severity, which predicts the likelihood of exploitation in the wild. |
filterrisks.exploit_available | boolean | Filter vulnerabilities by whether a public exploit is available. |
filterrisks.exploitation_probability | boolean | Filter vulnerabilities by whether there is a known probability of exploitation based on threat intelligence. |
filterrisks.poc_exploit_available | boolean | Filter vulnerabilities by whether a proof-of-concept exploit is publicly available. |
filterrunning_kernel | boolean | Filter vulnerabilities by whether they affect a currently running kernel (applies to host asset vulnerabilities only). |
filterstatus | string | Filter vulnerabilities by their current remediation status: Open (unaddressed), Muted (suppressed), Remediated (fixed), InProgress (being addressed), or AutoClosed (automatically resolved). |
filtertool | string | Filter vulnerabilities by the detection tool that identified them: IAST (interactive application security testing), SCA (software composition analysis), Infra (infrastructure scanning), or SAST (stati… |
filtertype | string | Filter vulnerabilities by type classification (e.g., injection attacks, weak cryptography, known component vulnerabilities). |
pagenumber | string | The page number to retrieve, starting from 1. Use the token from the first request to retrieve subsequent pages consistently. |
list_vulnerable_assets List Vulnerable Assets
Retrieve a paginated list of vulnerable assets across your infrastructure, with support for filtering by asset type, version, risk factors, environment, and system characteristics. Use filters to identify assets requiring remediation based on production status, attack exposure, accessibility, and data sensitivity.
| Parameter | Type | Description |
|---|---|---|
filterarch | string | Filter by processor architecture to identify assets running on specific CPU types. |
filterenvironments | string | Filter by environment name to focus on specific deployment stages. |
filteroperating_system.name | string | Filter by operating system name to focus on specific OS distributions. |
filteroperating_system.version | string | Filter by operating system version to target specific OS releases. |
filterrepository_url | string | Filter by the repository URL associated with the asset. |
filterrisks.has_access_to_sensitive_data | boolean | Filter to show only hosts with access to sensitive or confidential data. |
filterrisks.has_privileged_access | boolean | Filter to show only hosts with elevated or privileged access permissions. |
filterrisks.in_production | boolean | Filter to show only assets currently running in production environments. |
filterrisks.is_publicly_accessible | boolean | Filter to show only hosts that are publicly accessible from the internet. |
filterrisks.under_attack | boolean | Filter to show only services that are currently under active attack. |
filterteams | string | Filter by team ownership to identify assets managed by specific teams. |
filtertype | string | Filter results by asset type to focus on specific infrastructure components. |
filterversion.first | string | Filter by the earliest version in which the asset became vulnerable. |
filterversion.last | string | Filter by the most recent version of the asset detected. |
pagenumber | string | The page number to retrieve, starting from 1. Use this to paginate through results. |
list_workload_security_agent_rules List Workload Security Agent Rules
Retrieve all Workload Protection agent rules configured in your environment. This endpoint is exclusively available for the Government (US1-FED) site.
create_workload_security_agent_rule Create Workload Security Agent Rule
Create a new Workload Protection agent rule for the Government (US1-FED) site. Define security monitoring behavior using SECL expressions to detect and respond to workload threats.
| Parameter | Type | Description |
|---|---|---|
expression * | string | SECL (Security Expression Language) expression that defines the detection logic. The expression evaluates workload events to determine if the rule triggers. |
name * | string | Unique identifier name for the agent rule. Used for reference and organization in security policies. |
type * | string | Resource type identifier. Must be set to 'agent_rule' for Workload Protection rules. |
actions | array | Array of actions the rule will execute when triggered. Actions define the response behavior (e.g., kill process, alert). |
agent_version | string | Restrict rule application to specific Datadog Agent versions. Use version strings to ensure compatibility with agent capabilities. |
description | string | Human-readable description explaining the rule's purpose and security intent. |
enabled | boolean | Enable or disable the rule. Disabled rules are not evaluated but remain stored. |
filters | array | Array of supported platforms for this rule (e.g., Linux, Windows, Kubernetes). Specifies where the rule can be enforced. |
product_tags | array | Array of product tags for categorizing and organizing the rule within security monitoring systems. |
silent | boolean | When enabled, the rule executes actions without generating alerts or notifications. |
get_workload_security_agent_rule Get Workload Security Agent Rule
Retrieve the details of a specific Workload Protection agent rule. This endpoint is exclusively available for the Government (US1-FED) site.
| Parameter | Type | Description |
|---|---|---|
agent_rule_id * | string | The unique identifier of the agent rule to retrieve. |
update_workload_security_agent_rule Update Workload Security Agent Rule
Update a specific Workload Protection agent rule configuration. This endpoint is exclusively for the Government (US1-FED) site and returns the updated agent rule object.
| Parameter | Type | Description |
|---|---|---|
agent_rule_id * | string | The unique identifier of the agent rule to update. |
type * | string | The resource type identifier, which must always be set to agent_rule. |
actions | array | The array of actions the rule will perform when triggered. |
agent_version | string | Restrict the rule to specific versions of the Datadog Agent. |
description | string | A human-readable description of the agent rule's purpose and behavior. |
enabled | boolean | Enable or disable the agent rule. |
expression | string | The SECL (Security Expression Language) expression that defines the rule's detection logic. |
product_tags | array | A list of product tags for categorizing and organizing the rule. |
silent | boolean | When enabled, the rule will not generate alerts or notifications when triggered. |
delete_workload_security_agent_rule Delete Workload Security Agent Rule
Delete a specific Workload Protection agent rule. This operation is only available for the Government (US1-FED) site.
| Parameter | Type | Description |
|---|---|---|
agent_rule_id * | string | The unique identifier of the agent rule to delete. |
list_critical_assets List Critical Assets
Retrieve the complete list of critical assets configured in the security monitoring system. Use this to view all assets designated as critical for your organization's security posture.
create_critical_asset Create Critical Asset
Create a new critical asset for security monitoring. Critical assets are monitored resources with configurable severity levels and organizational tags.
| Parameter | Type | Description |
|---|---|---|
severity * | string | Severity level for this critical asset. Use explicit severity levels (info, low, medium, high, critical) to set a fixed severity, or use relative adjustments (increase, decrease) to modify existing se… |
type * | string | Resource type identifier. Must be set to critical_assets for this operation. |
combine_operator | string | Operator to combine facets: 'AND' or 'OR'. Default is 'AND'. |
enabled | boolean | Enable or disable monitoring for this critical asset. When disabled, the asset will not trigger security alerts. |
facet_filters | array | List of facet filters. Each dict has 'facet' (string) and 'values' (list of strings). Multiple values within a facet are OR'd together. |
rule_filters | array | List of filter objects for rules. Each filter has 'field' (string: 'name', 'type', 'severity', 'status', 'tag'), 'operator' (string: 'equals', 'contains', 'matches'), and 'value' (string). Filters are… |
rule_logic | string | Logical operator to combine rule filters: 'AND' or 'OR'. Defaults to 'AND'. |
tags | array | Organizational tags for categorizing and filtering the critical asset. Tags use key:value format to enable flexible asset organization and querying. |
list_critical_assets_by_rule List Critical Assets by Rule
Retrieve the list of critical assets that are associated with and affect a specific security rule. Use this to understand which critical assets are monitored or impacted by a particular rule configuration.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the security rule for which to retrieve associated critical assets. |
get_critical_asset Get Critical Asset
Retrieve detailed information about a specific critical asset in the security monitoring system. Use this to view configuration and status of assets designated as critical for your infrastructure.
| Parameter | Type | Description |
|---|---|---|
critical_asset_id * | string | The unique identifier of the critical asset to retrieve. |
update_critical_asset Update Critical Asset
Update configuration for a critical asset, including its enabled status, detection rule applicability, severity level, and associated tags.
| Parameter | Type | Description |
|---|---|---|
critical_asset_id * | string | The unique identifier of the critical asset to update. |
type * | string | Resource type identifier. Must always be set to 'critical_assets'. |
enabled | boolean | Enable or disable monitoring for this critical asset. |
rule_query | string | Detection rule query that determines which rules this critical asset applies to. Uses the same syntax as the detection rules search interface. |
severity | string | Severity level for alerts on this critical asset. Can be set to a specific level, increased, decreased, or left unchanged. |
tags | array | List of tags for categorizing and organizing the critical asset. Tags are unordered and support hierarchical naming conventions. |
delete_critical_asset Delete Critical Asset
Delete a critical asset from security monitoring configuration. This operation permanently removes the specified critical asset and its associated monitoring rules.
| Parameter | Type | Description |
|---|---|---|
critical_asset_id * | string | The unique identifier of the critical asset to delete. |
list_security_filters List Security Filters
Retrieve all configured security filters with their complete definitions and settings. Use this to view the current security filter configuration for your monitoring setup.
create_security_filter Create Security Filter
Create a new security filter to monitor and control log data in your security platform. Security filters help you exclude specific logs from security monitoring based on defined criteria.
| Parameter | Type | Description |
|---|---|---|
exclusion_filters * | array | List of exclusion filters that specify which logs should be excluded from this security filter. Each exclusion filter contains a name and query to identify logs to skip. |
filtered_data_type * | string | The type of data this security filter applies to. Currently only logs are supported. |
is_enabled * | boolean | Whether this security filter is active and should be applied to incoming data. |
name * | string | A descriptive name for this security filter to identify its purpose. |
query * | string | The query expression that defines which logs this security filter applies to. Use Datadog query syntax to specify matching criteria. |
type * | string | The resource type identifier. This must always be set to 'security_filters' for security filter resources. |
get_security_filter Get Security Filter
Retrieve the configuration details of a specific security filter used in security monitoring. This includes the filter's rules, conditions, and settings.
| Parameter | Type | Description |
|---|---|---|
security_filter_id * | string | The unique identifier of the security filter to retrieve. |
update_security_filter Update Security Filter
Update an existing security filter configuration to modify its enabled status, data type filtering, or exclusion rules. Returns the updated security filter object.
| Parameter | Type | Description |
|---|---|---|
security_filter_id * | string | The unique identifier of the security filter to update. |
type * | string | The resource type identifier. Must always be set to 'security_filters'. |
exclusion_filters | array | List of exclusion filters to prevent specific logs from being processed by this security filter. Each exclusion filter is applied in order. |
filtered_data_type | string | The type of data this security filter applies to. |
is_enabled | boolean | Enable or disable this security filter. When disabled, the filter will not process incoming data. |
delete_security_filter Delete Security Filter
Delete a specific security filter from the security monitoring configuration. This operation permanently removes the filter and its associated rules.
| Parameter | Type | Description |
|---|---|---|
security_filter_id * | string | The unique identifier of the security filter to delete. |
list_suppressions List Security Monitoring Suppressions
Retrieve all security monitoring suppression rules configured in your account. Use pagination parameters to control the number of results returned.
| Parameter | Type | Description |
|---|---|---|
pagenumber | string | Zero-indexed page number to retrieve. Use with page[size] to paginate through suppression rules. |
pagesize | string | Number of suppression rules to return per page. Use -1 to retrieve all suppression rules at once. |
create_suppression_rule Create Suppression Rule
Create a new security monitoring suppression rule to exclude events from detection rules or suppress generated signals based on specified criteria. Suppression rules can be time-bound and support complex query syntax for precise targeting.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | Whether this suppression rule is currently active and enforced. |
name * | string | The name of the suppression rule for identification and management purposes. |
rule_query * | string | A detection rule query using the same syntax as the detection rules search bar to specify which rules this suppression applies to. |
type * | string | The resource type identifier. Must always be set to 'suppressions' for suppression rule resources. |
data_exclusion_query | string | An exclusion query that filters input data (logs, Agent events, etc.) before detection rules are applied. Events matching this query are ignored by all referenced detection rules. |
description | string | A human-readable description explaining the purpose and scope of this suppression rule. |
expiration_date | string | Unix millisecond timestamp marking when this suppression rule expires and stops suppressing signals. |
start_date | string | Unix millisecond timestamp marking when this suppression rule becomes active and starts suppressing signals. |
suppression_query | string | A signal query using Signals Explorer syntax to identify which generated signals should be suppressed. Signals matching this query will not be triggered. |
tags | array | List of tags for organizing and categorizing this suppression rule. Tags use key:value format and support filtering and search. |
get_suppressions_affecting_rule Get Suppressions Affecting Rule
Retrieve the list of suppressions that would affect a given security monitoring rule based on its configuration. This helps identify which active suppressions would suppress signals generated by the rule.
list_rule_suppressions List Rule Suppressions
Retrieve all suppressions that are currently affecting a specific security monitoring rule. This helps identify which suppression policies are preventing alerts for the given rule.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the security monitoring rule for which to retrieve affecting suppressions. |
validate_suppression_rule Validate Suppression Rule
Validate a security monitoring suppression rule configuration before creation or update. Ensures the rule syntax, queries, and parameters are correct and compatible with the security monitoring system.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | Whether this suppression rule is currently active and enforced. |
name * | string | The name of the suppression rule for identification and reference. |
rule_query * | string | A detection rule query using the same syntax as the detection rules search bar. Specifies which detection rules this suppression applies to. |
type * | string | The resource type identifier. Must always be set to 'suppressions' for suppression rule resources. |
data_exclusion_query | string | An exclusion query that filters out data (logs, Agent events, etc.) from being evaluated by detection rules referenced in this suppression. Events matching this query will be ignored. |
description | string | A human-readable description explaining the purpose and scope of this suppression rule. |
expiration_date | string | Unix millisecond timestamp marking when this suppression rule expires and stops suppressing signals. |
start_date | string | Unix millisecond timestamp marking when this suppression rule becomes active and starts suppressing signals. |
suppression_query | string | A signal query using Signals Explorer syntax. Signals matching this query will be suppressed and not triggered. Leave empty to suppress all signals matched by the rule query. |
tags | array | List of tags for organizing and categorizing this suppression rule. Tags use key:value format for structured metadata. |
get_suppression Get Suppression
Retrieve the details of a specific security monitoring suppression rule by its ID.
| Parameter | Type | Description |
|---|---|---|
suppression_id * | string | The unique identifier of the suppression rule to retrieve. |
update_suppression Update Security Monitoring Suppression
Update an existing security monitoring suppression rule to modify its query conditions, scope, timing, or enabled status.
| Parameter | Type | Description |
|---|---|---|
suppression_id * | string | The unique identifier of the suppression rule to update. |
type * | string | The resource type identifier for this suppression rule. |
data_exclusion_query | string | An exclusion query that filters input data (logs, Agent events, etc.) to prevent matching events from being processed by detection rules referenced in this suppression. |
description | string | A human-readable description explaining the purpose or scope of the suppression rule. |
enabled | boolean | Whether this suppression rule is currently active and suppressing signals. |
expiration_date | string | Unix millisecond timestamp marking when the suppression rule stops suppressing signals. Set to null to remove an existing expiration date. If omitted, the current expiration date is unchanged. |
rule_query | string | A detection rule query using the same syntax as the detection rules search bar to specify which rules this suppression applies to. |
start_date | string | Unix millisecond timestamp marking when the suppression rule begins suppressing signals. Set to null to remove an existing start date. If omitted, the current start date is unchanged. |
suppression_query | string | A signal query using signal explorer syntax to identify which signals should be suppressed. Signals matching this query will not trigger alerts. |
tags | array | Tags for organizing and categorizing the suppression rule. Tags are provided as a list of strings. |
delete_suppression Delete Suppression
Delete a specific security monitoring suppression rule by its ID. This removes the suppression and re-enables monitoring for the affected resources.
| Parameter | Type | Description |
|---|---|---|
suppression_id * | string | The unique identifier of the suppression rule to delete. |
list_suppression_versions List Suppression Versions
Retrieve the version history of a suppression rule, showing all changes and revisions made over time.
| Parameter | Type | Description |
|---|---|---|
suppression_id * | string | The unique identifier of the suppression rule whose version history you want to retrieve. |
pagenumber | string | The page number to retrieve when results are paginated. Use zero-based indexing. |
pagesize | string | Number of version records to return per page. Use this to control pagination size. |
list_content_pack_states List Content Pack States
Retrieve the activation and configuration states for all security monitoring content packs. Returns status information including activation state, integration status, and log collection status for each content pack.
activate_content_pack Activate Content Pack
Activate a security monitoring content pack to enable log and security filtering based on your pricing model. This configures the necessary filters and updates the content pack's activation state.
| Parameter | Type | Description |
|---|---|---|
content_pack_id * | string | The unique identifier of the content pack to activate. |
deactivate_content_pack Deactivate Content Pack
Deactivate a security monitoring content pack by removing its configuration from active log and security filters. This updates the content pack's activation state to inactive.
| Parameter | Type | Description |
|---|---|---|
content_pack_id * | string | The unique identifier of the content pack to deactivate. |
list_security_monitoring_rules List Security Monitoring Rules
Retrieve a paginated list of security monitoring rules. Use pagination parameters to control the number of results and navigate through pages.
| Parameter | Type | Description |
|---|---|---|
pagenumber | string | Zero-indexed page number to retrieve from the paginated results. |
pagesize | string | Number of rules to return per page. Maximum allowed is 100 rules. |
export_security_monitoring_rules Export Security Monitoring Rules
Export a list of security monitoring rules as a ZIP file containing individual JSON rule definitions. Each rule is saved as a separate JSON file named after the rule ID.
| Parameter | Type | Description |
|---|---|---|
ruleIds * | array | List of rule IDs to include in the export. Each rule will be saved as a separate JSON file in the resulting ZIP archive. |
type * | string | The resource type identifier for this bulk export operation. |
convert_security_monitoring_rule_to_terraform Convert Security Monitoring Rule to Terraform
Convert a security monitoring rule from JSON format to Terraform configuration for the Datadog provider. Supports App and API Protection, Cloud SIEM (log detection and signal correlation), and Workload Protection rule types.
test_security_rule Test Security Rule
Validate a security monitoring rule by testing it against sample data payloads to verify expected behavior and query results.
validate_security_rule Validate Security Rule
Validate a security monitoring detection rule to ensure it is properly configured before deployment. This operation checks the rule's queries, cases, message formatting, and other settings for correctness.
get_security_monitoring_rule Get Security Monitoring Rule
Retrieve detailed information about a specific security monitoring rule by its ID. Use this to inspect rule configuration, conditions, and settings.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the security monitoring rule to retrieve. |
delete_security_rule Delete Security Rule
Delete an existing security monitoring rule. Default rules cannot be deleted and will return an error if deletion is attempted.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the security monitoring rule to delete. |
convert_security_monitoring_rule Convert Security Monitoring Rule
Convert an existing Datadog security monitoring rule from JSON to Terraform configuration for the datadog_security_monitoring_rule resource. Supports App and API Protection, Cloud SIEM (log detection and signal correlation), and Workload Protection rule types.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the security monitoring rule to convert. |
test_security_monitoring_rule Test Security Monitoring Rule
Validate an existing security monitoring rule by testing it against sample data payloads. This operation verifies that the rule functions correctly and produces expected results.
list_rule_versions List Rule Versions
Retrieve the complete version history for a security monitoring rule, including all past changes and revisions with pagination support.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the security monitoring rule whose version history you want to retrieve. |
pagenumber | string | The page number to retrieve when results span multiple pages. Pages are zero-indexed. |
pagesize | string | Number of version records to return per page. Use this to control pagination size. |
list_security_signals List Security Signals
Retrieve a list of security signals matching specified search criteria and time range. Use this endpoint to quickly query security signals with optional filtering by query, timestamp bounds, and result limit.
| Parameter | Type | Description |
|---|---|---|
filterfrom | string | Minimum timestamp (inclusive) for filtering security signals. Specify in ISO 8601 format. |
filterquery | string | Search query to filter security signals by attributes such as security type and status (e.g., 'security:attack status:high'). |
filterto | string | Maximum timestamp (inclusive) for filtering security signals. Specify in ISO 8601 format. |
pagelimit | string | Maximum number of security signals to return in the response. Must be between 1 and 1000. |
list_security_signals_search Search Security Monitoring Signals
Retrieve security signals matching optional time range and result limit criteria. Use this endpoint to search and filter security signals by timestamp.
| Parameter | Type | Description |
|---|---|---|
from | string | Start of the time range for security signals. Only signals at or after this timestamp will be included in results. |
limit | string | Maximum number of security signals to return in the response. |
to | string | End of the time range for security signals. Only signals at or before this timestamp will be included in results. |
get_signal Get Signal
Retrieve detailed information about a specific security monitoring signal by its ID.
| Parameter | Type | Description |
|---|---|---|
signal_id * | string | The unique identifier of the security monitoring signal to retrieve. |
assign_security_signal Assign Security Signal
Reassign a security signal to a different user for triage and investigation. Updates the assignee responsible for handling the signal.
| Parameter | Type | Description |
|---|---|---|
signal_id * | string | The unique identifier of the security signal to reassign. |
uuid * | string | The UUID of the Datadog user account to assign as the new triage owner for this signal. |
update_security_signal_incidents Update Security Signal Incidents
Update the incidents associated with a security monitoring signal. Use this to link or unlink incidents from a specific security signal.
| Parameter | Type | Description |
|---|---|---|
incident_ids * | array | Array of incident IDs to associate with this signal. Incidents are identified by their numeric IDs. |
signal_id * | string | The unique identifier of the security signal to update. |
update_security_signal_state Update Security Signal State
Update the triage state of a security signal, optionally providing an archive reason and comment. Use this to transition signals between open, under review, and archived states.
| Parameter | Type | Description |
|---|---|---|
signal_id * | string | The unique identifier of the security signal to update. |
state * | string | The new triage state to assign to the signal, determining its visibility and workflow status. |
archive_comment | string | Optional comment to attach to the signal when archiving it, providing additional context for future reference. |
archive_reason | string | The reason for archiving the signal. Select from predefined categories to standardize signal disposition tracking. |
list_scanning_groups List Scanning Groups
Retrieve all Sensitive Data Scanner groups configured in your organization. Use this to view and manage your data scanning configurations.
reorder_scanning_groups Reorder Scanning Groups
Reorder the list of sensitive data scanner groups to change their priority or sequence. This operation updates the group ordering in the scanner configuration.
create_scanning_group Create Scanning Group
Create a new scanning group for sensitive data detection. The group can optionally be associated with a configuration, and will be positioned last in the configuration's group ordering.
| Parameter | Type | Description |
|---|---|---|
type * | string | The resource type identifier for this scanning group. |
data | object | The Sensitive Data Scanner configuration to associate with this group. Establishes the relationship between the group and its parent configuration. |
description | string | A descriptive label for the scanning group to identify its purpose or scope. |
is_enabled | boolean | Whether the scanning group is active and will perform scans. Defaults to false if not specified. |
product_list | array | List of products this scanning group monitors. Determines which data sources are scanned by this group. |
samplings | array | List of sampling rates applied per product type. Controls the percentage of data scanned for each product to balance coverage and performance. |
update_scanning_group Update Scanning Group
Update a sensitive data scanning group's configuration, including its description, enabled status, product applicability, sampling rates, and rule ordering. When reordering rules, all current rules must be included in the rules relationship.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | The unique identifier of the scanning group to update. |
configurationData | object | The sensitive data scanner configuration associated with this group. |
description | string | A human-readable description of the scanning group's purpose or scope. |
is_enabled | boolean | Whether the scanning group is active and should be applied during sensitive data scanning operations. |
product_list | array | List of products where this scanning group applies its rules. |
rulesData | array | Rules included in the group, ordered by priority. When provided, must contain linkages for all rules currently in the group and no others. Order determines rule evaluation sequence. |
samplings | array | Sampling rates configured per product type, controlling the percentage of data scanned for each product. |
delete_scanning_group Delete Scanning Group
Delete a scanning group and remove all associated scanning rules. This operation permanently removes the group configuration.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | The unique identifier of the scanning group to delete. |
create_scanning_rule Create Scanning Rule
Create a new scanning rule within a sensitive data scanner group to detect and handle sensitive information. The rule must be associated with a group and use either a standard pattern or custom regex pattern (not both).
| Parameter | Type | Description |
|---|---|---|
character_count * | string | Number of characters following a detected match to examine for keywords. Must exceed the longest keyword length in the rule. |
keywords * | array | Keywords to match during scanning. Maximum 30 keywords per rule. Matches are validated against these terms. |
type * | string | Resource type identifier for the scanning rule. |
description | string | Human-readable description of the scanning rule's purpose and scope. |
ends_with | array | Strings that suppress matches when they appear at the end of a detected value. |
exact_match | array | Strings that suppress matches when they exactly match the detected value. |
excluded_namespaces | array | Attributes to exclude from scanning. Must be sub-paths of the included namespaces if both are specified. |
groupData | object | Reference to the sensitive data scanner group that contains this rule. |
is_enabled | boolean | Activates or deactivates the rule for scanning operations. |
namespaces | array | Attributes to include in scanning. When empty or omitted, all attributes except excluded_namespaces are scanned. If both namespaces and excluded_namespaces are omitted, the entire event is scanned. |
number_of_chars | string | Number of characters to retain when using partial replacement masking. Required for partial_replacement_from_beginning or partial_replacement_from_end masking types. Must be greater than zero. |
pattern | string | Custom regex pattern for matching sensitive data. Omitted when using a standard pattern relationship. |
priority | string | Severity level of detected matches, where 1 is highest priority and 5 is lowest. |
replacement_string | string | Static string to replace matched sensitive data. Required when masking type is replacement_string. |
should_save_match | boolean | When enabled with replacement_string masking, allows authorized users to unmask matched values in logs. Use cautiously for highly sensitive, long-lived data. |
standard_patternData | object | Reference to a standard pattern that defines the detection logic. Cannot be used together with a custom regex pattern. |
starts_with | array | Strings that suppress matches when they appear at the beginning of a detected value. |
tags | array | Metadata tags for organizing and categorizing the scanning rule. |
use_recommended_keywords | boolean | When true, applies the keyword configuration from the associated standard pattern instead of the specified keywords. Requires a standard pattern relationship. |
update_scanning_rule Update Scanning Rule
Update an existing sensitive data scanning rule configuration. Modify rule behavior, keywords, matching patterns, and suppression criteria. Note: rules with standard pattern relationships cannot have their regex or standard_pattern relationship edited.
| Parameter | Type | Description |
|---|---|---|
character_count * | string | Number of characters following a match to examine for keyword validation. Must exceed the longest keyword length in the rule. |
keywords * | array | Keywords to validate matches during scanning. Maximum 30 keywords per rule. |
rule_id * | string | The unique identifier of the scanning rule to update. |
data | object | Associates the rule with a scanning group for organizational management and policy application. |
description | string | A human-readable description of the rule's purpose and behavior. |
ends_with | array | Suppression list for matches ending with specified strings. Useful for filtering false positives by suffix. |
exact_match | array | Suppression list for matches exactly matching specified strings. Prevents flagging known safe values. |
excluded_namespaces | array | Attributes to exclude from scanning. Must be sub-paths of the namespaces array if both are specified. |
is_enabled | boolean | Activates or deactivates the rule for scanning operations. |
namespaces | array | Attributes to include in scanning. If empty or omitted, all attributes except excluded_namespaces are scanned. If both namespaces and excluded_namespaces are omitted, the entire event is scanned. |
number_of_chars | string | Number of characters to retain when using partial replacement masking. Required for partial_replacement_from_beginning or partial_replacement_from_end masking types. Must be greater than zero. |
pattern | string | Regular expression pattern for match detection. Not applicable if the rule is linked to a standard pattern. |
priority | string | Severity level of detected matches, where 1 is highest priority and 5 is lowest. |
replacement_string | string | Static string to replace matched sensitive data. Required when masking type is replacement_string. |
should_save_match | boolean | When enabled with replacement_string masking, allows authorized users to unmask matches in logs. Use cautiously for highly sensitive, long-lived data. |
starts_with | array | Suppression list for matches starting with specified strings. Useful for filtering false positives by prefix. |
tags | array | Organizational tags for categorizing and filtering rules. |
use_recommended_keywords | boolean | When true, applies the standard pattern's built-in keywords and configuration. Requires the rule to be associated with a standard pattern. When false, uses the specified keywords and character_count. |
delete_scanning_rule Delete Scanning Rule
Delete a sensitive data scanning rule by its ID. This operation permanently removes the rule from the scanner configuration.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | The unique identifier of the scanning rule to delete. |
list_standard_patterns List Standard Patterns
Retrieves all standard patterns available in the sensitive data scanner configuration. These patterns are pre-defined rules used to detect and identify sensitive data across your organization.
submit_timeseries Submit Timeseries
Submit time-series metric data to Datadog for visualization on dashboards. Supports payloads up to 500 KB (5 MB decompressed) containing metric names, timestamps, values, and associated resources like hostnames.
| Parameter | Type | Description |
|---|---|---|
series * | array | An ordered list of timeseries objects to submit. Each timeseries must include a metric name, array of timestamp-value points, and resource metadata (such as hostname). Order is preserved in submission… |
create_service_account Create Service Account
Create a service account for your organization. Service accounts are non-human identities used for automated processes and integrations.
| Parameter | Type | Description |
|---|---|---|
email * | string | The email address associated with the service account. Must be a valid email format. |
service_account * | boolean | Designates this user as a service account. Must be set to true for service account creation. |
type * | string | The resource type identifier for this user object. |
title | string | The job title or role description for the service account. |
list_application_keys_service_account List Service Account Application Keys
Retrieve all application keys associated with a service account. Supports pagination and filtering by creation date to help manage service account credentials.
| Parameter | Type | Description |
|---|---|---|
service_account_id * | string | The unique identifier of the service account whose application keys you want to list. |
filtercreated_atend | string | Filter to include only application keys created on or before this date. Use ISO 8601 format. |
filtercreated_atstart | string | Filter to include only application keys created on or after this date. Use ISO 8601 format. |
pagenumber | string | Zero-indexed page number to retrieve for paginated results. |
pagesize | string | Number of application keys to return per page. Maximum allowed is 100. |
get_application_key_service_account Get Service Account Application Key
Retrieve a specific application key owned by a service account. Use this to view details of an application key associated with the service account.
| Parameter | Type | Description |
|---|---|---|
app_key_id * | string | The unique identifier of the application key to retrieve. |
service_account_id * | string | The unique identifier of the service account that owns the application key. |
update_service_account_application_key Update Service Account Application Key
Update the scopes and configuration of an application key associated with a service account. This allows you to modify permissions granted to an existing application key.
| Parameter | Type | Description |
|---|---|---|
app_key_id * | string | The unique identifier of the application key to be updated. |
id * | string | The unique identifier of the application key being updated. |
service_account_id * | string | The unique identifier of the service account that owns the application key. |
type * | string | The resource type identifier for application keys. |
scopes | array | List of permission scopes to grant to the application key. Scopes define what actions the key is authorized to perform. |
delete_application_key_service_account Delete Application Key from Service Account
Delete an application key owned by a service account. This operation permanently removes the specified application key and invalidates any credentials associated with it.
| Parameter | Type | Description |
|---|---|---|
app_key_id * | string | The unique identifier of the application key to delete. |
service_account_id * | string | The unique identifier of the service account that owns the application key. |
list_service_definitions List Service Definitions
Retrieve all service definitions from the Datadog Service Catalog. Results are paginated and support schema version selection for response format compatibility.
| Parameter | Type | Description |
|---|---|---|
pagenumber | string | Zero-indexed page number to retrieve from the paginated results. |
pagesize | string | Number of service definitions to return per page. Maximum allowed is 100. |
schema_version | string | Schema version for the response format. Determines the structure and fields included in returned service definitions. |
register_service_definition Register Service Definition
Register or update a service definition in the Datadog Service Catalog. This operation creates a new service entry or updates an existing one with metadata including ownership, documentation, and technical details.
| Parameter | Type | Description |
|---|---|---|
dd-service * | string | Unique identifier for the service within Datadog. Must be globally unique across all services and is used to correlate with Datadog monitoring data. |
schema-version * | string | Version of the service definition schema being used for this request. |
application | string | Identifier for the product feature or application group that this service belongs to. |
ci-pipeline-fingerprints | array | Set of unique identifiers for CI/CD pipelines associated with this service. Order is not significant. |
contacts | array | List of contact information (email, Slack handles, etc.) for individuals or teams responsible for this service. |
dd-team | string | Team handle that corresponds to a team in the Datadog Teams product. This is an experimental feature. |
description | string | Brief human-readable description of the service's purpose and functionality. |
docs | array | List of documentation resources (runbooks, architecture diagrams, API docs, etc.) related to this service. |
extensions | object | Custom extensions to the service definition schema, allowing organization-specific metadata as key-value pairs. |
integrations | object | Integration configurations for external tools and services connected to this service. |
languages | array | Programming languages used to build this service. Supported values are: dotnet, go, java, js, php, python, ruby, and c++. |
lifecycle | string | Current lifecycle phase of the service, indicating its maturity and stability status. |
repos | array | List of code repository URLs or identifiers where the service source code is hosted. |
tags | array | Custom tags for organizing and filtering services. Use colon-separated key:value format. |
team | string | Name of the team that owns this service. Must match a team defined in Datadog Teams if it exists. |
tier | string | Service tier indicating its importance and criticality level. |
get_service_definition Get Service Definition
Retrieve a single service definition from the Datadog Service Catalog. Optionally specify the schema version to control the response structure.
| Parameter | Type | Description |
|---|---|---|
service_name * | string | The name of the service to retrieve the definition for. |
schema_version | string | The schema version for the response structure. Defaults to the latest available version if not specified. |
delete_service_definition Delete Service Definition
Remove a service definition from the Datadog Service Catalog. This operation permanently deletes the specified service and its associated metadata.
| Parameter | Type | Description |
|---|---|---|
service_name * | string | The name identifier of the service definition to delete. |
list_security_signals_threat_hunting List Security Signals for Threat Hunting
Retrieve historical security signals from your threat hunting data with optional filtering by query, time range, and result limits. Use this to search and analyze security events within specified parameters.
| Parameter | Type | Description |
|---|---|---|
filterfrom | string | Start of the time range for retrieving security signals. Only signals at or after this timestamp will be included. |
filterquery | string | Search query to filter security signals by threat characteristics, status, or other signal attributes. |
filterto | string | End of the time range for retrieving security signals. Only signals at or before this timestamp will be included. |
pagelimit | string | Maximum number of security signals to return in the response. Useful for pagination and controlling response size. |
search_security_signals Search Security Signals
Search historical security signals within a specified time range. Returns matching signals up to the specified limit for threat hunting and investigation purposes.
| Parameter | Type | Description |
|---|---|---|
from | string | Start of the time range for security signals. Only signals with timestamps at or after this value are included in results. |
limit | string | Maximum number of security signals to return in the response. Useful for pagination and controlling result set size. |
to | string | End of the time range for security signals. Only signals with timestamps at or before this value are included in results. |
get_threat_hunting_signal Get Threat Hunting Signal
Retrieve detailed information about a specific threat hunting signal by its ID. Use this to access signal metadata, detection details, and associated threat intelligence.
| Parameter | Type | Description |
|---|---|---|
histsignal_id * | string | The unique identifier of the threat hunting signal to retrieve. |
list_threat_hunting_jobs List Threat Hunting Jobs
Retrieve a paginated list of threat hunting jobs with optional filtering capabilities. Use pagination parameters to control result set size and offset.
| Parameter | Type | Description |
|---|---|---|
filterquery | string | Filter expression to narrow results by job attributes such as security level and status. Supports key:value syntax for filtering. |
pagenumber | string | Zero-indexed page number to retrieve from the result set. |
pagesize | string | Number of threat hunting jobs to return per page. Maximum allowed is 100 jobs per request. |
start_threat_hunting_job Start Threat Hunting Job
Initiate a threat hunting job to analyze security logs based on detection rules and custom queries. The job processes data within a specified time range and generates signals grouped by specified criteria.
| Parameter | Type | Description |
|---|---|---|
cases * | array | List of case identifiers to associate with the threat hunting job results. |
fromRuleFrom * | string | Start time (in milliseconds since epoch) for the data range analyzed by the job. |
fromRuleIndex * | string | Name of the data index to query for log data (e.g., cloud security events, network logs). |
fromRuleTo * | string | End time (in milliseconds since epoch) for the data range analyzed by the job. |
id * | string | Unique identifier of the detection rule used as the basis for this threat hunting job. |
jobDefinitionFrom * | string | Start time (in milliseconds since epoch) for the data range analyzed by the job. |
jobDefinitionIndex * | string | Name of the data index to query for log data (e.g., cloud security events, network logs). |
jobDefinitionTo * | string | End time (in milliseconds since epoch) for the data range analyzed by the job. |
message * | string | Human-readable message describing the threat hunting findings or context for generated results. |
name * | string | Display name for the threat hunting job. |
queries * | array | List of search queries to execute against the index. Queries define which logs to analyze and how to aggregate results. |
calculatedFields | array | Custom fields to calculate and include in job results. Each field definition specifies how to derive values from log data. |
groupSignalsBy | array | Additional dimensions to group signals by, beyond the default grouping in queries. Must be a subset of fields already present in the query definitions. |
options | object | Configuration options for job execution behavior and output formatting. |
referenceTables | array | Reference tables or lookup datasets to enrich or filter query results. |
tags | array | Labels to attach to generated security signals for organization and filtering. |
thirdPartyCases | array | List of third-party case identifiers for integrating results from external detection methods. Only applicable when using third-party detection sources. |
type | string | Classification of the threat hunting job (e.g., rule-based, behavioral analysis). |
create_signal_from_job_result Create Signal From Job Result
Convert job results from threat hunting operations into security signals for alerting and incident tracking. Specify the severity level and notification recipients for the generated signal.
| Parameter | Type | Description |
|---|---|---|
jobResultIds * | array | Array of job result identifiers to convert into a security signal. Each ID references a completed threat hunting job result. |
notifications * | array | Array of notification channels or recipients to alert when the signal is created. Specifies where signal notifications should be sent. |
signalMessage * | string | Human-readable message describing the security threat or finding detected. This message appears in the generated signal and alerts. |
signalSeverity * | string | Severity classification for the security signal, indicating the urgency and impact level of the threat. |
get_threat_hunting_job Get Threat Hunting Job
Retrieve detailed information about a specific threat hunting job, including its status, configuration, and results.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the threat hunting job to retrieve. |
delete_threat_hunting_job Delete Threat Hunting Job
Delete an existing threat hunting job by its ID. This operation permanently removes the job and its associated data from the system.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the threat hunting job to delete. |
cancel_threat_hunting_job Cancel Threat Hunting Job
Cancel an active or pending threat hunting job. This operation stops the job from executing further and prevents additional resource consumption.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the threat hunting job to cancel. |
list_security_signals_by_job List Security Signals by Job
Retrieve historical security signals for a specific threat hunting job. Results can be filtered by query, time range, and paginated for large result sets.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The unique identifier of the threat hunting job. |
filterfrom | string | The earliest timestamp to include in results. Signals before this time are excluded. |
filterquery | string | Filter security signals using a search query syntax to match specific threat indicators and signal attributes. |
filterto | string | The latest timestamp to include in results. Signals after this time are excluded. |
pagelimit | string | Maximum number of security signals to return in a single response. Useful for pagination and controlling response size. |
generate_slo_report Generate SLO Report
Initiate an asynchronous job to generate an SLO report filtered by query parameters and time range. The report is processed in the background and made available as a CSV file for download using the returned report_id.
| Parameter | Type | Description |
|---|---|---|
from_ts * | string | Start of the reporting period as a Unix timestamp in seconds. |
query * | string | Filter expression to select which SLOs to include in the report. Supports filtering by service name (service:<name>) and SLO name. |
to_ts * | string | End of the reporting period as a Unix timestamp in seconds. |
interval | string | Aggregation frequency for report data generation. Determines whether data points are grouped daily, weekly, or monthly. |
download_slo_report Download SLO Report
Download a completed SLO report. Reports are not guaranteed to persist indefinitely, so download immediately after the report job completes.
| Parameter | Type | Description |
|---|---|---|
report_id * | string | The unique identifier of the SLO report job to download. |
get_slo_report_status Get SLO Report Status
Retrieve the current status of an SLO report generation job. Use this to monitor the progress and completion state of asynchronous SLO report requests.
| Parameter | Type | Description |
|---|---|---|
report_id * | string | The unique identifier of the SLO report job whose status you want to retrieve. |
get_slo_status Get SLO Status
Retrieve the current status of a Service Level Objective (SLO) for a specified time period, including the SLI value, error budget remaining, and related metrics.
| Parameter | Type | Description |
|---|---|---|
from_ts * | string | The start of the time period for the SLO status query, specified as a Unix timestamp in seconds. |
slo_id * | string | The unique identifier of the SLO to query. |
to_ts * | string | The end of the time period for the SLO status query, specified as a Unix timestamp in seconds. |
disable_corrections | boolean | Whether to exclude correction windows from the SLO status calculation. |
aggregate_spans Aggregate Spans
Aggregate spans into time-based buckets and compute metrics or timeseries data. This endpoint supports filtering by time range and grouping rules, with a rate limit of 300 requests per hour.
| Parameter | Type | Description |
|---|---|---|
compute | array | List of metrics or timeseries calculations to compute for each bucket (e.g., count, average, percentile). Order may affect result structure. |
from | string | Start of the time range for span aggregation. Supports ISO 8601 datetime format, date math expressions, or millisecond timestamps. |
group_by | array | Grouping rules that define how spans are partitioned into buckets. Rules are applied in order and determine the bucket structure. |
timeOffset | string | Time offset in seconds to apply to the query, useful for timezone adjustments or relative time calculations. |
to | string | End of the time range for span aggregation. Supports ISO 8601 datetime format, date math expressions, or millisecond timestamps. |
list_spans List Spans
Retrieve a paginated list of spans matching your search criteria. Use this endpoint to query your latest spans with filtering by time range and custom span syntax queries.
| Parameter | Type | Description |
|---|---|---|
filterfrom | string | Minimum timestamp for the span search range. Accepts ISO 8601 date-time format, date math expressions, or millisecond timestamps. |
filterquery | string | Search query using spans syntax to filter results by span attributes and tags. |
filterto | string | Maximum timestamp for the span search range. Accepts ISO 8601 date-time format, date math expressions, or millisecond timestamps. |
pagelimit | string | Maximum number of spans to return in a single response page. |
search_spans Search Spans
Search and filter spans using complex query criteria with paginated results. This endpoint supports flexible time range queries and is rate limited to 300 requests per hour.
| Parameter | Type | Description |
|---|---|---|
from | string | The start of the time range for the search. Accepts ISO 8601 date-time format, date math expressions, or millisecond timestamps. |
limit | string | The maximum number of spans to return in the response. |
timeOffset | string | An optional time offset in seconds to shift the query time range. |
to | string | The end of the time range for the search. Accepts ISO 8601 date-time format, date math expressions, or millisecond timestamps. |
submit_sca_dependencies Submit SCA Dependencies
Submit discovered dependencies and vulnerability data from a static code analysis (SCA) scan for processing and analysis. This operation accepts dependency manifests, inter-component relationships, and identified vulnerabilities along with repository and commit context.
resolve_vulnerable_symbols Resolve Vulnerable Symbols
Resolve vulnerable symbols for specified packages to identify which vulnerabilities affect your codebase. This operation maps Package URLs to their vulnerable symbols for detailed vulnerability analysis.
| Parameter | Type | Description |
|---|---|---|
type * | string | The request type identifier that specifies this operation resolves vulnerable symbols. |
purls | array | List of Package URLs (PURLs) identifying the packages for which to resolve vulnerable symbols. Order is not significant. |
get_custom_ruleset Get Custom Ruleset
Retrieve a custom ruleset by its name. Use this to fetch the configuration and rules for a specific custom ruleset used in static analysis.
| Parameter | Type | Description |
|---|---|---|
ruleset_name * | string | The name of the custom ruleset to retrieve. This is the unique identifier for the ruleset configuration. |
update_ruleset Update Ruleset
Update an existing custom ruleset by modifying its description, rules, or metadata. Changes are applied to the specified ruleset.
| Parameter | Type | Description |
|---|---|---|
ruleset_name * | string | The name identifier of the custom ruleset to update. |
description | string | Base64-encoded full description text for the ruleset. Provides detailed documentation of the ruleset's purpose and usage. |
rules | array | Array of rules to include in the ruleset. Rules are processed in the order specified and define the static analysis checks to be applied. |
short_description | string | Base64-encoded short description text for the ruleset. Provides a brief summary displayed in listings and overviews. |
delete_ruleset Delete Ruleset
Delete a custom ruleset by name. This operation permanently removes the specified ruleset from the static analysis configuration.
| Parameter | Type | Description |
|---|---|---|
ruleset_name * | string | The name of the custom ruleset to delete. This identifier uniquely identifies the ruleset within the static analysis system. |
create_custom_rule Create Custom Rule
Create a new custom rule within a specified ruleset for static analysis. This rule will be added to the ruleset's collection of custom analysis rules.
| Parameter | Type | Description |
|---|---|---|
ruleset_name * | string | The name of the ruleset where the custom rule will be created. This identifies which ruleset collection to add the rule to. |
get_custom_rule Get Custom Rule
Retrieve a specific custom rule from a ruleset by its name. Use this to view the configuration and details of an individual custom static analysis rule.
| Parameter | Type | Description |
|---|---|---|
rule_name * | string | The name of the custom rule to retrieve. This uniquely identifies the rule within the specified ruleset. |
ruleset_name * | string | The name of the ruleset containing the custom rule. This identifies which rule collection to query. |
delete_custom_rule Delete Custom Rule
Delete a custom rule from a specified ruleset. This operation permanently removes the rule and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
rule_name * | string | The name of the custom rule to delete from the ruleset. |
ruleset_name * | string | The name of the ruleset containing the custom rule to delete. |
list_rule_revisions List Rule Revisions
Retrieve all revisions for a specific custom rule within a ruleset. Use pagination to control the number of results returned.
| Parameter | Type | Description |
|---|---|---|
rule_name * | string | The name of the custom rule to retrieve revisions for. |
ruleset_name * | string | The name of the ruleset containing the custom rule. |
pagelimit | integer | The maximum number of revisions to return per request, used for pagination. |
pageoffset | integer | The number of results to skip before returning revisions, used for pagination. |
create_rule_revision Create Rule Revision
Create a new revision for a custom static analysis rule within a ruleset. This operation captures the rule's logic, metadata, severity, and associated security references.
| Parameter | Type | Description |
|---|---|---|
arguments * | array | Array of arguments that the rule accepts. Order and format depend on the rule's implementation. |
category * | string | Classification category for the rule, determining its purpose and scope. |
code * | string | The rule implementation code, typically base64-encoded for safe transmission. |
creation_message * | string | A message describing the changes or purpose of this revision. |
description * | string | Comprehensive description of the rule's purpose, behavior, and impact, typically base64-encoded. |
is_published * | boolean | Whether this revision is published and available for use in analyses. |
is_testing * | boolean | Whether this revision is marked as a testing or experimental version. |
language * | string | The primary programming language this rule targets. |
rule_name * | string | The name of the custom rule for which to create a revision. |
ruleset_name * | string | The name of the ruleset containing the rule. |
severity * | string | The severity level assigned to violations of this rule. |
short_description * | string | A brief, one-line summary of the rule, typically base64-encoded. |
should_use_ai_fix * | boolean | Whether to enable AI-powered automatic fix suggestions for violations of this rule. |
tags * | array | Array of tags for categorizing and filtering the rule. Tags are unordered and used for organization and discovery. |
tests * | array | Array of test cases validating the rule's behavior against known code patterns. |
tree_sitter_query * | string | Tree-sitter query used to identify code patterns matching this rule, typically base64-encoded. |
cve | string | CVE identifier associated with the security vulnerability this rule detects. |
cwe | string | CWE identifier associated with the weakness category this rule addresses. |
documentation_url | string | URL pointing to detailed documentation or reference material for this rule. |
revert_custom_rule Revert Custom Rule
Revert a custom rule to a previous revision within a ruleset. Specify the target revision to restore the rule to its prior state.
| Parameter | Type | Description |
|---|---|---|
rule_name * | string | The name of the custom rule to revert. |
ruleset_name * | string | The name of the ruleset containing the custom rule to revert. |
currentRevision | string | The current revision ID of the custom rule before reverting. |
revertToRevision | string | The target revision ID to revert the custom rule to. Must be a previous revision of the rule. |
get_custom_rule_revision Get Custom Rule Revision
Retrieve a specific revision of a custom rule within a ruleset. Use this to view historical versions of a rule and compare changes across revisions.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the rule revision to retrieve. |
rule_name * | string | The name of the custom rule within the ruleset. |
ruleset_name * | string | The name of the ruleset containing the custom rule. |
fetch_rulesets Fetch Rulesets
Retrieve rules and metadata for multiple rulesets in a single batch request. Optionally include testing-mode rules and associated test cases.
| Parameter | Type | Description |
|---|---|---|
type * | string | The resource type identifier for this batch ruleset retrieval request. |
include_testing_rules | boolean | Include rules that are currently available in testing mode in the response. |
include_tests | boolean | Include test cases associated with each rule in the response. |
rulesets | array | List of ruleset names to retrieve. If not provided, all available rulesets are returned. |
list_secrets_rules List Secrets Rules
Retrieves a list of all Secrets detection rules with their identifiers, patterns, descriptions, priority levels, and associated SDS IDs. Use this to understand available secret detection rules in your security scanning configuration.
list_status_pages List Status Pages
Retrieves all status pages configured for your organization. Results are paginated to allow efficient browsing of large status page collections.
| Parameter | Type | Description |
|---|---|---|
pagelimit | integer | The maximum number of status pages to return in a single response. Adjust this value to balance between response size and number of requests needed. |
pageoffset | integer | The number of records to skip from the beginning of the result set. Use this to navigate through paginated results. |
create_status_page Create Status Page
Creates a new public or internal status page with customizable branding, components, and subscription settings. The status page will be accessible via a unique subdomain URL.
| Parameter | Type | Description |
|---|---|---|
attributesType * | string | Access control type determining whether the status page is publicly visible or restricted to internal users. |
dataType * | string | Resource type identifier for status page objects in the API. |
domain_prefix * | string | Unique subdomain identifier for the status page URL (format: https://{domain_prefix}.statuspage.datadoghq.com). Must be globally unique across all Datadog Status Pages. |
enabled * | boolean | Whether the status page is active and publicly accessible. |
name * | string | Display name of the status page. |
visualization_type * | string | Component status display format on the status page. Bars show historical uptime; uptime percentage displays aggregate availability. |
company_logo | string | Base64-encoded logo image displayed prominently on the status page. |
components | array | Hierarchical list of components and component groups displayed on the status page. Groups can contain nested components; order determines display sequence. |
email_header_image | string | Base64-encoded image included in email notifications sent to status page subscribers. |
favicon | string | Base64-encoded image displayed in the browser tab favicon. |
subscriptions_enabled | boolean | Whether visitors can subscribe to status page updates via email or other notification channels. |
list_degradations List Degradations
Retrieve all degradations for your organization with optional filtering by page and status. Use pagination parameters to control result size and offset.
| Parameter | Type | Description |
|---|---|---|
filterpage_id | string | Filter results to a specific status page by its ID. |
filterstatus | string | Filter results by degradation status. Only degradations matching the specified status will be returned. |
pagelimit | integer | Maximum number of degradations to return in this page. |
pageoffset | integer | Number of results to skip before returning the page. Use with limit for pagination. |
list_maintenances List Maintenances
Retrieve all maintenances for your organization with optional filtering by page and status. Use pagination parameters to control result size and offset.
| Parameter | Type | Description |
|---|---|---|
filterpage_id | string | Filter maintenances by a specific status page ID. |
filterstatus | string | Filter maintenances by their current status. |
pagelimit | integer | Maximum number of maintenances to return per page. |
pageoffset | integer | Number of results to skip before returning maintenances. Use with limit for pagination. |
get_status_page Get Status Page
Retrieves a specific status page by its unique identifier. Use this to fetch detailed information about a status page including its current state and configuration.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | The unique identifier of the status page to retrieve, formatted as a UUID. |
update_status_page Update Status Page
Updates an existing status page's configuration, including branding, visibility settings, and subscription options. Changes take effect immediately.
| Parameter | Type | Description |
|---|---|---|
dataType * | string | The resource type identifier for status pages. This field is required for API compatibility. |
id * | string | The unique identifier of the status page to update. Must match the page_id parameter. |
page_id * | string | The unique identifier of the status page to update. |
attributesType | string | The access control type determining who can view the status page. Public pages are accessible to anyone with the URL; internal pages require authentication. |
company_logo | string | Base64-encoded PNG or JPG image displayed as the logo on the status page. Recommended dimensions are 200x50 pixels. |
delete_subscribers | boolean | Whether to remove all existing subscribers when changing the status page type. Useful when converting between public and internal access levels. |
domain_prefix | string | The subdomain prefix for the status page URL. Must be globally unique across all Datadog Status Pages and contain only alphanumeric characters and hyphens. |
email_header_image | string | Base64-encoded image displayed in email notifications sent to subscribers. Recommended dimensions are 600x100 pixels. |
enabled | boolean | Whether the status page is active and accessible to visitors. |
favicon | string | Base64-encoded image displayed in the browser tab favicon. Recommended dimensions are 32x32 pixels. |
subscriptions_enabled | boolean | Whether visitors can subscribe to status page updates via email or other notification channels. |
visualization_type | string | How component status information is displayed on the status page. Bars show historical uptime; uptime percentage adds numeric values; component name only shows text labels. |
delete_status_page Delete Status Page
Permanently deletes a status page and all associated data. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | The unique identifier of the status page to delete. |
list_status_page_components List Status Page Components
Retrieves all components associated with a specific status page. Components represent the services or infrastructure elements monitored on the status page.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | The unique identifier of the status page for which to retrieve components. |
create_component Create Component
Creates a new component or component group on a status page. Components can be individual items or groups containing multiple child components.
| Parameter | Type | Description |
|---|---|---|
attributesType * | string | The component type: 'component' for a standard component or 'group' for a container of multiple components. |
dataType * | string | The resource type identifier for the API request payload. |
name * | string | The display name of the component. |
page_id * | string | The unique identifier of the status page where the component will be created. |
position * | string | The zero-indexed position determining the component's display order on the status page. |
components | array | Child components to include when creating a group-type component. Items are ordered by position and must include name, position, and type for each component. |
get_component Get Component
Retrieves a specific component from a status page using its unique identifier. Use this to fetch detailed information about a single component.
| Parameter | Type | Description |
|---|---|---|
component_id * | string | The unique identifier of the component to retrieve. |
page_id * | string | The unique identifier of the status page containing the component. |
update_component Update Component
Updates an existing component on a status page with new attributes such as position or other component properties.
| Parameter | Type | Description |
|---|---|---|
component_id * | string | The unique identifier of the component to update. |
id * | string | The unique identifier of the component being updated. |
page_id * | string | The unique identifier of the status page containing the component. |
type * | string | The resource type identifier for this component. |
position | string | The display position of the component. If the component belongs to a group, this position is relative to other components within that group. |
delete_component Delete Component
Permanently deletes a component from a status page. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
component_id * | string | The unique identifier of the component to delete. |
page_id * | string | The unique identifier of the status page containing the component to delete. |
create_degradation Create Degradation
Create a new degradation incident on a status page to notify subscribers about service issues affecting specific components.
| Parameter | Type | Description |
|---|---|---|
components_affected * | array | List of components affected by this degradation, each specifying the component ID and its degraded status. |
page_id * | string | The unique identifier of the status page where the degradation will be created. |
status * | string | Current status of the degradation incident, indicating the stage from initial investigation through resolution. |
title * | string | Brief headline summarizing the degradation incident for display on the status page. |
type * | string | Resource type identifier for this degradation incident. |
description | string | Detailed explanation of the degradation, including what users are experiencing and current investigation status. |
notify_subscribers | boolean | Whether to send notifications to page subscribers about this degradation. |
get_degradation Get Degradation
Retrieves a specific degradation incident by its ID from a status page. Use this to fetch detailed information about a service degradation.
| Parameter | Type | Description |
|---|---|---|
degradation_id * | string | The unique identifier of the degradation incident to retrieve. |
page_id * | string | The unique identifier of the status page containing the degradation. |
update_degradation Update Degradation
Update an existing degradation on a status page, including its status, description, affected components, and notification settings.
| Parameter | Type | Description |
|---|---|---|
degradation_id * | string | The unique identifier of the degradation to update. |
id * | string | The unique identifier of the degradation resource. |
page_id * | string | The unique identifier of the status page containing the degradation. |
type * | string | The resource type identifier for this degradation. |
components_affected | array | List of components affected by this degradation, each with its component ID and current status. |
description | string | A detailed description of the degradation, including any updates on investigation progress or resolution. |
notify_subscribers | boolean | Whether to send notifications to page subscribers when this degradation is updated. |
status | string | The current status of the degradation, indicating the stage of investigation or resolution. |
title | string | A brief title summarizing the degradation incident. |
delete_degradation Delete Degradation
Permanently deletes a degradation from a status page by its ID. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
degradation_id * | string | The unique identifier of the degradation to delete. |
page_id * | string | The unique identifier of the status page containing the degradation. |
schedule_maintenance Schedule Maintenance
Schedule a new maintenance window for a status page. Optionally notify subscribers and provide descriptions for different maintenance states (scheduled, in progress, completed).
| Parameter | Type | Description |
|---|---|---|
components_affected * | array | List of component IDs affected by this maintenance. At least one component must be specified. |
page_id * | string | The unique identifier of the status page where the maintenance will be scheduled. |
title * | string | A descriptive title for the maintenance event. |
type * | string | The resource type identifier for this maintenance record. |
completed_date | string | The timestamp indicating when the maintenance was completed. Use ISO 8601 format. |
completed_description | string | The status message displayed after the maintenance is completed. |
in_progress_description | string | The status message displayed while the maintenance is actively in progress. |
notify_subscribers | boolean | Whether to send notifications to page subscribers about this maintenance. Defaults to true. |
scheduled_description | string | The status message displayed when the maintenance is scheduled but has not yet started. |
start_date | string | The timestamp indicating when the maintenance is scheduled to begin. Use ISO 8601 format. |
get_maintenance Get Maintenance
Retrieves detailed information about a specific maintenance event on a status page by its unique identifier.
| Parameter | Type | Description |
|---|---|---|
maintenance_id * | string | The unique identifier of the maintenance event to retrieve. |
page_id * | string | The unique identifier of the status page containing the maintenance event. |
update_maintenance Update Maintenance
Update an existing maintenance event on a status page, including its schedule, status, descriptions, and affected components. Optionally notify subscribers of changes.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the maintenance resource. |
maintenance_id * | string | The unique identifier of the maintenance event to update. |
page_id * | string | The unique identifier of the status page containing the maintenance. |
type * | string | The resource type identifier for maintenances. |
completed_date | string | The date and time when the maintenance was completed. |
completed_description | string | The description displayed to users after the maintenance has finished. |
components_affected | array | List of component IDs affected by this maintenance. Order indicates priority or significance. |
in_progress_description | string | The description displayed to users while the maintenance is actively in progress. |
notify_subscribers | boolean | Whether to send notifications to page subscribers when this maintenance is updated. |
scheduled_description | string | The description displayed to users when the maintenance is scheduled but not yet started. |
start_date | string | The date and time when the maintenance is scheduled to begin. |
status | string | The current state of the maintenance event. |
title | string | A brief title or name for the maintenance event. |
create_synthetics_suite Create Synthetics Suite
Create a new Synthetic test suite to group and manage related synthetic tests. The suite can include alerting thresholds and tags for organization and monitoring.
| Parameter | Type | Description |
|---|---|---|
attributesType * | string | The resource type identifier for suite attributes. This value must be set to 'suite' to indicate the suite configuration type. |
dataType * | string | The resource type identifier for the Synthetics suites API response. This value must be set to 'suites' to indicate the response object type. |
name * | string | The name of the test suite. Used to identify and reference the suite in the Synthetics platform. |
tests * | array | Array of Synthetic test IDs to include in the suite. Tests are executed together as a group when the suite runs. |
alerting_threshold | number | The percentage threshold (0 to 1) of critical test failures required for the suite to be marked as failed. A value of 0.5 means 50% of critical tests must fail to trigger a suite failure. |
message | string | Optional notification message to associate with the suite for alerting purposes. |
tags | array | Array of tags to attach to the suite for categorization and filtering. Tags follow a key:value format for organizing suites by environment, team, or other attributes. |
delete_suites Delete Suites
Bulk delete Synthetic test suites by their public IDs. Optionally force deletion of suites that have dependent resources.
| Parameter | Type | Description |
|---|---|---|
public_ids * | array | List of public IDs identifying the Synthetic test suites to delete. |
force_delete_dependencies | boolean | Force deletion of suites even if they have dependent resources that would normally prevent removal. |
search_suites Search Suites
Search for test suites with optional filtering and pagination. Returns matching test suites or aggregated facet data for refined searching.
| Parameter | Type | Description |
|---|---|---|
count | string | Maximum number of test suites to return per request. Limits result set size for performance. |
facets_only | boolean | Return only aggregated facet counts instead of full test suite details. Useful for building filtered search interfaces. |
start | string | Zero-based offset for pagination. Use this to skip results and retrieve subsequent pages. |
get_synthetics_suite Get Synthetics Suite
Retrieve detailed information about a specific synthetics suite using its public ID. Returns the suite configuration, tests, and metadata.
| Parameter | Type | Description |
|---|---|---|
public_id * | string | The unique public identifier for the synthetics suite to retrieve. |
update_synthetics_suite Update Synthetics Suite
Update an existing Synthetic test suite with new configuration, tests, and alerting settings. Allows modification of suite name, tests, tags, notification message, and failure thresholds.
| Parameter | Type | Description |
|---|---|---|
attributesType * | string | Type classification for suite attributes. Must be set to indicate this is a Synthetic suite. |
dataType * | string | Type classification for the API response object. Must be set to indicate this is a Synthetics suites resource. |
name * | string | Display name for the suite. |
public_id * | string | The unique identifier of the suite to update. |
tests * | array | Ordered array of Synthetic test identifiers to include in this suite. Tests are executed in the order specified. |
alerting_threshold | number | Threshold percentage (0-100%) of critical test failures required for the suite to be marked as failed. |
message | string | Optional notification message to associate with the suite for alerting purposes. |
tags | array | List of tags to categorize and organize the suite. Tags use key:value format for filtering and organization. |
bulk_delete_synthetics_tests Bulk Delete Synthetics Tests
Delete multiple Synthetic tests in a single operation. Optionally force deletion of tests that have dependent resources.
| Parameter | Type | Description |
|---|---|---|
public_ids * | array | List of public IDs identifying the Synthetic tests to delete. |
force_delete_dependencies | boolean | Force deletion of tests even if they have dependent resources that would normally prevent removal. |
create_network_test Create Network Test
Create a synthetic network path test to monitor network connectivity and performance between endpoints. Network path tests can run from managed cloud locations for public endpoints or from Datadog Agents for private environments.
| Parameter | Type | Description |
|---|---|---|
attributesType * | string | Synthetic test type identifier for the request body attributes. Must be 'network' for network path tests. |
dataType * | string | Synthetic test type identifier for the request body. Must be 'network' for network path tests. |
locations * | array | Array of locations where the test will execute. Use managed location identifiers (e.g., 'aws:us-east-1') for public endpoints or agent identifiers (e.g., 'agent:my-agent-name') for private environment… |
message * | string | Notification message sent when the test triggers an alert, providing context about the test failure. |
name * | string | Human-readable name for the network test, used in dashboards, alerts, and reports. |
assertions | array | Array of assertions that define test success criteria, such as latency thresholds or packet loss limits. |
min_failure_duration | string | Minimum duration in seconds that the test must fail before triggering an alert, preventing false positives from transient issues. |
min_location_failed | string | Minimum number of test locations that must fail simultaneously to trigger an alert. |
monitor_name | string | Custom name for the associated monitor, used in alert titles and dashboard widgets. If not specified, defaults to the test name. |
monitor_options | object | Configuration object for monitor-specific settings such as renotification intervals and notification preferences. |
monitor_priority | string | Alert severity level for the test monitor, where 1 is highest priority and 5 is lowest. |
request | object | Configuration object specifying the network request details for the test, including target host and port information. |
retry | object | Configuration object defining retry behavior when the test fails, including retry count and interval settings. |
scheduling | object | Configuration object for advanced scheduling, allowing tests to run on specific days and times within a defined timezone. |
status | string | Initial test state: 'live' to start monitoring immediately or 'paused' to defer execution. |
subtype | string | Network protocol type for the test: 'tcp' for TCP connections, 'udp' for UDP packets, or 'icmp' for ping-style connectivity checks. |
tags | array | Array of tags for organizing and filtering the test in dashboards and reports. Use key:value format for structured tagging. |
tick_every | string | Frequency in seconds at which the test executes. Must be between 30 seconds and 7 days. |
get_network_test Get Network Test
Retrieve detailed information about a specific Network Path test using its public identifier. Returns the test configuration, monitoring settings, and other metadata.
| Parameter | Type | Description |
|---|---|---|
public_id * | string | The unique public identifier of the Network Path test to retrieve. |
update_network_test Update Network Test
Update an existing Network Path test configuration, including assertions, request details, execution locations, and monitoring settings.
| Parameter | Type | Description |
|---|---|---|
attributesType * | string | Synthetic test type classification at the attributes level. |
dataType * | string | Synthetic test type classification at the data level. |
locations * | array | Array of locations where the test will execute. Use managed locations (e.g., aws:us-east-1) for public endpoints or agent locations (e.g., agent:name) for private environments. |
message * | string | Notification message sent when the test triggers an alert. |
name * | string | Human-readable name for the Network Path test. |
public_id * | string | The public identifier of the Network Path test to update. |
assertions | array | Array of assertions that define test success criteria, such as latency or packet loss thresholds. |
min_failure_duration | string | Minimum duration in seconds that the test must fail before triggering an alert. |
min_location_failed | string | Minimum number of locations that must fail simultaneously to trigger an alert. |
monitor_name | string | Custom name for the associated monitor, used in alert titles and dashboard widgets. |
monitor_options | object | Configuration object for monitor-specific settings such as renotification intervals and escalation policies. |
monitor_priority | string | Alert severity level for the test monitor. |
request | object | Configuration object specifying the network request details for the test (host, port, protocol). |
retry | object | Configuration object defining retry behavior when the test fails, including retry count and interval. |
scheduling | object | Configuration object for advanced scheduling, including specific timeframes and timezone settings. |
status | string | Test execution state: use 'live' to run the test or 'paused' to disable it. |
subtype | string | Network protocol type for the test. |
tags | array | Array of tags for organizing and filtering the test in Datadog. |
tick_every | string | Execution frequency of the test in seconds. |
update_global_variable Update Global Variable
Partially update a global variable using JSON Patch operations (RFC 6902). Specify only the fields you want to modify, such as name, value, description, or tags.
| Parameter | Type | Description |
|---|---|---|
variable_id * | string | The unique identifier of the global variable to update. |
json_patch | array | Array of JSON Patch operations to apply to the variable. Each operation specifies an action (replace, add, remove), a JSON pointer path to the target field, and optionally a new value. Operations are… |
list_tag_pipeline_rulesets List Tag Pipeline Rulesets
Retrieve all tag pipeline rulesets configured for your organization. This lists the enrichment rules that automatically apply tags based on defined conditions.
reorder_tag_pipeline_rulesets Reorder Tag Pipeline Rulesets
Reorder the execution sequence of tag pipeline rulesets to control how enrichment rules are applied. The order of rulesets determines their execution priority in the tag enrichment pipeline.
| Parameter | Type | Description |
|---|---|---|
data * | array | An ordered array of ruleset resources specifying the new execution sequence. The position of each ruleset in the array determines its execution order in the pipeline. |
validate_tag_query Validate Tag Query
Validate the syntax and structure of a tag pipeline query to ensure it conforms to the expected format before execution.
| Parameter | Type | Description |
|---|---|---|
Query * | string | The tag pipeline query string to validate for correct syntax and structure. |
type * | string | The resource type for query validation, which identifies this as a tag query validation operation. |
get_tag_pipeline_ruleset Get Tag Pipeline Ruleset
Retrieve a specific tag pipeline ruleset by its unique identifier. Use this to fetch the configuration and rules for a particular tag enrichment pipeline.
| Parameter | Type | Description |
|---|---|---|
ruleset_id * | string | The unique identifier of the tag pipeline ruleset to retrieve. |
list_teams List Teams
Retrieve all teams with optional filtering by keyword or membership. Use search and membership filters to find specific teams or limit results to teams the current user belongs to.
| Parameter | Type | Description |
|---|---|---|
filterkeyword | string | Search query to filter teams by name, handle, or email address of team members. |
filterme | boolean | When true, returns only teams that the current user is a member of. |
pagenumber | string | The page number to retrieve, starting from 0 for the first page. |
pagesize | string | The number of teams to return per page. Maximum allowed value is 100. |
create_team Create Team
Create a new team with specified configuration and add users to it. The users are associated through the data relationship field.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of user IDs to add as members of the team. |
handle * | string | Unique identifier for the team used in URLs and references. |
name * | string | Display name for the team. |
type * | string | Classification type for the team. |
avatar | string | Unicode grapheme representing the team's avatar icon. |
banner | string | Numeric identifier for the team's banner design. |
description | string | Markdown-formatted description or content displayed on the team's homepage. |
hidden_modules | array | List of module identifiers to hide from the team's interface. |
visible_modules | array | List of module identifiers to display in the team's interface. |
list_team_hierarchy_links List Team Hierarchy Links
Retrieve all team hierarchy links with optional filtering by parent or sub team. Supports pagination to manage large result sets.
| Parameter | Type | Description |
|---|---|---|
filterparent_team | string | Filter results to only include hierarchy links where the specified team is the parent. |
filtersub_team | string | Filter results to only include hierarchy links where the specified team is the sub team. |
pagenumber | string | The page number to retrieve, starting from 0 for the first page. |
pagesize | string | The number of results to return per page. Maximum allowed value is 100. |
create_team_hierarchy_link Create Team Hierarchy Link
Create a new hierarchy link between a parent team and a sub team to establish organizational structure relationships.
| Parameter | Type | Description |
|---|---|---|
type * | string | The type of team hierarchy link being created. |
get_team_hierarchy_link Get Team Hierarchy Link
Retrieve a specific team hierarchy link by its identifier. Use this to fetch details about a relationship between teams in the organizational hierarchy.
| Parameter | Type | Description |
|---|---|---|
link_id * | string | The unique identifier of the team hierarchy link to retrieve. |
delete_team_hierarchy_link Delete Team Hierarchy Link
Remove a team hierarchy link by its identifier. This operation deletes the relationship between teams in the hierarchy structure.
| Parameter | Type | Description |
|---|---|---|
link_id * | string | The unique identifier of the team hierarchy link to remove. |
list_team_connections List Team Connections
Retrieve all team connections with optional filtering and pagination. Returns a paginated list of connections between teams and external source systems.
| Parameter | Type | Description |
|---|---|---|
filterconnected_team_ids | array | Filter results by connected team IDs from external systems. Accepts an array of external team identifiers. |
filterconnection_ids | array | Filter results by connection IDs. Accepts an array of connection identifiers. |
filtersources | array | Filter results by external source systems. Accepts an array of source identifiers. |
filterteam_ids | array | Filter results by Datadog team IDs. Accepts an array of team identifiers. |
pagenumber | string | Zero-indexed page number to retrieve. |
pagesize | string | Number of results to return per page. Maximum allowed is 100. |
create_team_connections Create Team Connections
Create multiple team connections in bulk. Accepts an array of connection configurations to establish relationships between team members or teams.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of team connection objects to create. Each item in the array represents a single connection configuration. Order is preserved as submitted. |
delete_team_connections Delete Team Connections
Delete multiple team connections by their IDs. This operation removes the specified connections from the team.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of team connection IDs to delete. Each ID identifies a specific connection to be removed. |
list_team_sync_configurations List Team Sync Configurations
Retrieve all team synchronization configurations for external source integrations. Returns a list of configurations used to link or provision teams with external platforms like GitHub.
| Parameter | Type | Description |
|---|---|---|
filtersource * | string | Filter configurations by the external source platform used for team synchronization. |
get_team Get Team
Retrieve a single team by its unique identifier. Use this to fetch detailed information about a specific team.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | The unique identifier of the team to retrieve. |
update_team Update Team
Update team details including name, handle, avatar, banner, and description. If team links are provided, they replace existing links in the specified order.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The team's unique handle used in URLs and references. Must be alphanumeric with hyphens allowed. |
name * | string | The display name of the team. |
team_id * | string | The unique identifier of the team to update. |
type * | string | The classification type for the team. |
avatar | string | A single Unicode character or emoji to represent the team's avatar. |
banner | string | Numeric identifier for the team's banner selection. |
description | string | Markdown-formatted text for the team's homepage description or content. |
hidden_modules | array | Array of module identifiers to hide from the team's interface. Order is not significant. |
visible_modules | array | Array of module identifiers to display in the team's interface. Order is significant and determines display sequence. |
delete_team Delete Team
Permanently remove a team from the system using its unique identifier. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | The unique identifier of the team to be deleted. |
list_team_links List Team Links
Retrieve all links associated with a specific team. Returns a collection of links that have been created or shared within the team.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | The unique identifier of the team for which to retrieve links. |
add_team_link Add Team Link
Add a new link to a team. Links are displayed on the team's profile and can be sorted by position.
| Parameter | Type | Description |
|---|---|---|
label * | string | A descriptive label for the link, displayed to team members and visitors. |
team_id * | string | The unique identifier of the team to which the link will be added. |
type * | string | The classification type for this link. Currently only team links are supported. |
url * | string | The destination URL for the link. Must be a valid, fully-qualified web address. |
position | string | The display order of the link within the team's link list. Lower values appear first. Omit to append at the end. |
get_team_link Get Team Link
Retrieve a specific link associated with a team. Use this to fetch details about a single team link by its identifier.
| Parameter | Type | Description |
|---|---|---|
link_id * | string | The unique identifier of the link to retrieve. |
team_id * | string | The unique identifier of the team that owns the link. |
update_team_link Update Team Link
Update an existing team link with new label, URL, position, or type. Changes are applied immediately to the team's link collection.
| Parameter | Type | Description |
|---|---|---|
label * | string | A descriptive label for the link displayed to team members. Maximum 256 characters. |
link_id * | string | The unique identifier of the link to update. |
team_id * | string | The unique identifier of the team that owns the link. |
type * | string | The classification type for this team link. Currently only team links are supported. |
url * | string | The destination URL for the link. Must be a valid web address. |
position | string | The display order of the link within the team's link collection. Lower values appear first. Maximum value is 2,147,483,647. |
remove_team_link Remove Team Link
Remove a link from a team. This operation deletes the specified link associated with the given team.
| Parameter | Type | Description |
|---|---|---|
link_id * | string | The unique identifier of the link to be removed from the team. |
team_id * | string | The unique identifier of the team from which the link will be removed. |
list_team_members List Team Members
Retrieve a paginated list of members belonging to a specific team. Supports filtering by user email or name.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | The unique identifier of the team for which to retrieve members. |
filterkeyword | string | Optional search filter to find members by email address or full name. |
pagenumber | string | The page number to retrieve, starting from 0 for the first page. |
pagesize | string | Number of members to return per page. Maximum allowed is 100. |
add_team_member Add Team Member
Add a user to a team with an optional role assignment. Team membership modification permissions are determined by team settings and the `user_access_manage` permission.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | The unique identifier of the team to which the user will be added. |
type * | string | The type of team membership object being created. |
role | string | The role to assign to the user within the team. If not specified, the user will be added with default permissions. |
update_team_member_role Update Team Member Role
Update a user's role and membership attributes within a team. Requires appropriate team membership management permissions to modify team membership.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | The unique identifier of the team to update membership for. |
type * | string | The type of team membership object being updated. |
user_id * | string | The unique identifier of the user whose team membership should be updated. |
role | string | The role to assign to the user within the team. |
remove_team_member Remove Team Member
Remove a user from a team. Access to modify team membership is controlled by team settings and typically requires the `user_access_manage` permission.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | The unique identifier of the team from which the user will be removed. |
user_id * | string | The unique identifier of the user to remove from the team. |
list_flaky_tests List Flaky Tests
Retrieve a paginated list of flaky tests from Flaky Test Management with comprehensive metadata including failure rates, pipeline impact, and optional status change history.
| Parameter | Type | Description |
|---|---|---|
include_history | boolean | Include the complete status change history for each flaky test, ordered from most recent to oldest. Disabled by default for better performance. |
limit | string | Maximum number of flaky tests to return in the response. Must be between 1 and 1000. |
update_flaky_tests Update Flaky Tests
Update the state of multiple flaky tests in Flaky Test Management. Allows bulk state transitions for flaky tests to track their status and resolution progress.
| Parameter | Type | Description |
|---|---|---|
tests * | array | List of flaky tests to update. Each item specifies a test and its new state. |
type * | string | Request type identifier that specifies this is a flaky test state update operation. |
list_billing_dimension_mappings List Billing Dimension Mappings
Retrieve the mapping of billing dimensions to usage metering API endpoint keys for a specified month and contract view. This data is updated monthly and is only available to parent-level organizations.
| Parameter | Type | Description |
|---|---|---|
filtermonth | string | Filter mappings by the month they become effective, specified as an ISO-8601 datetime in UTC. Defaults to the current month if not provided. |
filterview | string | Filter to retrieve either active billing dimension mappings for the current contract or all available mappings across all contracts. |
estimate_cost_by_organization Estimate Cost by Organization
Retrieve estimated costs for the current or previous month across your account, broken down by parent organization or sub-organizations. Cost data is delayed by up to 72 hours; use the historical cost endpoint for older data.
| Parameter | Type | Description |
|---|---|---|
end_date | string | End date for the cost period in ISO-8601 format (YYYY-MM-DD). Used with start_date to define the cost reporting window. |
include_connected_accounts | boolean | Whether to include partner customer accounts connected through the Datadog partner network program in the cost calculation. |
start_date | string | Start date for the cost period in ISO-8601 format (YYYY-MM-DD). Cannot exceed two months in the past. Specify either this or start_month, but not both. Pair with end_date to view cumulative day-over-d… |
view | string | Specifies the cost breakdown granularity. Use `summary` for parent-organization level aggregation or `sub-org` for individual sub-organization breakdown. |
list_historical_costs List Historical Costs
Retrieve historical cost data across your account, broken down by parent organization or sub-organization. Cost data becomes available no later than the 16th of the following month and is only accessible for parent-level organizations.
| Parameter | Type | Description |
|---|---|---|
start_month * | string | The month for which to retrieve cost data, specified in ISO-8601 format (YYYY-MM). Cost data for a given month becomes available no later than the 16th of the following month. |
include_connected_accounts | boolean | Whether to include accounts connected to the current account as partner customers in the Datadog partner network program. |
view | string | Specifies the cost breakdown granularity: `summary` for parent-organization level or `sub-org` for sub-organization level breakdown. |
list_hourly_usage List Hourly Usage
Retrieve hourly usage metrics aggregated by product family for a specified time range. Supports filtering by product families, organizational hierarchy, and partner accounts with optional usage breakdowns.
| Parameter | Type | Description |
|---|---|---|
filterproduct_families * | string | Comma-separated list of product families to include in the response. Use `all` to retrieve all families, or specify individual families. The `audit_logs` family is deprecated. |
filtertimestampstart * | string | Start of the hourly usage period in ISO-8601 format (UTC). Usage data begins at this hour (inclusive). |
filterinclude_breakdown | boolean | Include detailed breakdown of usage by subcategories where applicable. Currently supported for the logs product family only. |
filterinclude_connected_accounts | boolean | Include usage from accounts connected as partner customers in the Datadog partner network program. When enabled, aggregates usage across partner-connected accounts. |
filterinclude_descendants | boolean | Include usage from child organizations in the response. When enabled, aggregates usage across the organizational hierarchy. |
filtertimestampend | string | End of the hourly usage period in ISO-8601 format (UTC). Usage data ends before this hour (exclusive). If omitted, defaults to the current hour. |
pagelimit | string | Maximum number of results to return per page. Useful for paginating large result sets. |
pagenext_record_id | string | Pagination token from a previous response. Use this to retrieve the next page of results when the response contains additional records. |
get_projected_cost Get Projected Cost
Retrieve the projected cost for the current month across your account, broken down by parent-org or sub-org level. Projected cost data becomes available around the 12th of each month and is only accessible for parent-level organizations.
| Parameter | Type | Description |
|---|---|---|
include_connected_accounts | boolean | When enabled, includes costs from accounts connected to your organization through the Datadog partner network program. |
view | string | Specifies the cost breakdown granularity. Use `summary` for parent-org level aggregation or `sub-org` for individual sub-organization breakdown. |
list_usage_attribution_types List Usage Attribution Types
Retrieve all available usage attribution types that can be used to categorize and track usage metrics. This operation returns the complete list of attribution type options supported by the system.
send_invitations Send Invitations
Send invitation emails to one or more users inviting them to join the organization. Each invitation is processed and delivered to the specified recipients.
| Parameter | Type | Description |
|---|---|---|
data * | array | Array of user invitation objects to send. Each invitation specifies a recipient and invitation details. Order is preserved during processing. |
get_invitation Get User Invitation
Retrieve a specific user invitation by its UUID. Returns the invitation details including status and recipient information.
| Parameter | Type | Description |
|---|---|---|
user_invitation_uuid * | string | The unique identifier (UUID) of the user invitation to retrieve. |
list_users List Users
Retrieve all users in the organization with optional pagination and status filtering. Results include active, pending, and deactivated users.
| Parameter | Type | Description |
|---|---|---|
filterstatus | string | Filter results by user status. Accepts comma-separated values to match multiple statuses. Omit to return all users regardless of status. |
pagenumber | string | Zero-indexed page number to retrieve from the paginated results. |
pagesize | string | Number of users to return per page. Maximum allowed is 100 users per page. |
create_user Create User
Create a new user account for your organization. The user will be assigned the specified email address and optional job title.
| Parameter | Type | Description |
|---|---|---|
email * | string | The email address for the new user. Must be a valid email format unique to your organization. |
type * | string | The resource type identifier for this user object. |
title | string | The job title or role designation for the user. |
get_user Get User
Retrieve detailed information for a specific user in the organization by their unique user ID.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user to retrieve. |
update_user Update User
Update user details such as email. Requires administrator privileges via application key authentication.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the user resource being updated. |
type * | string | The resource type identifier for users. |
user_id * | string | The unique identifier of the user to update. |
email | string | The new email address for the user. |
disable_user Disable User
Disable a user account. This operation requires administrator privileges and can only be performed using an application key belonging to an administrator user.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user to disable. |
list_user_organizations List User Organizations
Retrieve all organizations that a user belongs to. Returns the user's information along with a complete list of organizations they have joined.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user whose organizations you want to retrieve. |
list_user_memberships List User Memberships
Retrieve all memberships associated with a specific user. Returns a list of groups, organizations, or teams the user belongs to.
| Parameter | Type | Description |
|---|---|---|
user_uuid * | string | The unique identifier of the user whose memberships should be retrieved. |
get_workflow Get Workflow
Retrieve a workflow by its ID. Requires a registered application key or appropriate Actions API permissions configured in the UI.
| Parameter | Type | Description |
|---|---|---|
workflow_id * | string | The unique identifier of the workflow to retrieve. |
delete_workflow Delete Workflow
Delete a workflow by its ID. Requires a registered application key or appropriate Actions API permissions configured in the UI.
| Parameter | Type | Description |
|---|---|---|
workflow_id * | string | The unique identifier of the workflow to delete. |
list_workflow_instances List Workflow Instances
Retrieve all instances of a specified workflow with pagination support. Requires a registered application key or Actions API access configured in your account.
| Parameter | Type | Description |
|---|---|---|
workflow_id * | string | The unique identifier of the workflow whose instances you want to list. |
pagenumber | string | Zero-indexed page number to retrieve for pagination. |
pagesize | string | Number of instances to return per page. Maximum allowed is 100. |
execute_workflow Execute Workflow
Execute a workflow instance with optional input parameters. Requires a registered application key with Actions API access.
| Parameter | Type | Description |
|---|---|---|
workflow_id * | string | The unique identifier of the workflow to execute. |
payload | object | Input parameters passed to the workflow execution. Structure and required fields depend on the workflow definition. |
get_workflow_instance Get Workflow Instance
Retrieve a specific execution instance of a workflow. This operation requires a registered application key or appropriate Actions API permissions configured in your Datadog account.
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | The unique identifier of the specific workflow instance execution to retrieve. |
workflow_id * | string | The unique identifier of the workflow to which the instance belongs. |
cancel_workflow_instance Cancel Workflow Instance
Cancels a specific execution of a workflow. Requires a registered application key or Actions API access configured in the UI.
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | The unique identifier of the workflow instance execution to cancel. |
workflow_id * | string | The unique identifier of the workflow containing the instance to cancel. |