v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Usage Metering

Get hourly usage by product family

Get hourly usage by product family.

get/api/v2/usage/hourly_usage

Query parameters

filter[timestamp][start]string date-time required

Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.

filter[timestamp][end]string date-time

Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending before this hour.

filter[product_families]string required

Comma separated list of product families to retrieve. Available families are all, ai, analyzed_logs, application_performance_monitoring, application_security, audit_trail, bits_ai, serverless, ci_app, cloud_cost_management, cloud_siem, csm_container_enterprise, csm_host_enterprise, csm_host_pro, cspm, custom_events, cws, data_observability, dbm, digital_experience_management, error_tracking, fargate, infra_hosts, incident_management, indexed_logs, indexed_spans, infrastructure_monitoring, ingested_spans, iot, lambda_traced_invocations, llm_observability, log_management, logs, network_flows, network_hosts, network_monitoring, observability_pipelines, online_archive, platform_capabilities, product_analytics, profiling, rum, rum_browser_sessions, rum_mobile_sessions, sds, security, snmp, software_delivery, synthetics_api, synthetics_browser, synthetics_mobile, synthetics_parallel_testing, timeseries, vuln_management and workflow_executions. The following product family has been deprecated: audit_logs.

filter[include_descendants]boolean

Include child org usage in the response. Defaults to false.

filter[include_connected_accounts]boolean

Boolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults to false.

filter[include_breakdown]boolean

Include breakdown of usage by subcategories where applicable (for product family logs only). Defaults to false.

filter[versions]string

Comma separated list of product family versions to use in the format product_family:version. For example, infra_hosts:1.0.0. If this parameter is not used, the API will use the latest version of each requested product family. Currently all families have one version 1.0.0.

page[limit]integer

Maximum number of results to return (between 1 and 500) - defaults to 500 if limit not specified.

page[next_record_id]string

List following results with a next_record_id provided in the previous query.

Response

OK