Objective-C / Datadog API Collection / Get usage across your account
Back to Collection Items
#import <CkoHttp.h>
#import <CkoJsonObject.h>
#import <CkoHttpResponse.h>
#import <CkoStringBuilder.h>
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
CkoHttp *http = [[CkoHttp alloc] init];
BOOL success;
CkoJsonObject *queryParams = [[CkoJsonObject alloc] init];
[queryParams UpdateString: @"start_month" value: @"1991-02-02T07:22:34.204Z"];
[queryParams UpdateString: @"end_month" value: @"1991-02-02T07:22:34.204Z"];
[queryParams UpdateString: @"include_org_details" value: @"true"];
[http SetRequestHeader: @"Accept" value: @"application/json;datetime-format=rfc3339"];
CkoHttpResponse *resp = [http QuickRequestParams: @"GET" url: @"https://api.app.ddog-gov.com/api/v1/usage/summary" json: queryParams];
if (http.LastMethodSuccess == NO) {
NSLog(@"%@",http.LastErrorText);
return;
}
CkoStringBuilder *sbResponseBody = [[CkoStringBuilder alloc] init];
[resp GetBodySb: sbResponseBody];
CkoJsonObject *jResp = [[CkoJsonObject alloc] init];
[jResp LoadSb: sbResponseBody];
jResp.EmitCompact = NO;
NSLog(@"%@",@"Response Body:");
NSLog(@"%@",[jResp Emit]);
int respStatusCode = [resp.StatusCode intValue];
NSLog(@"%@%d",@"Response Status Code = ",respStatusCode);
if (respStatusCode >= 400) {
NSLog(@"%@",@"Response Header:");
NSLog(@"%@",resp.Header);
NSLog(@"%@",@"Failed.");
return;
}
Curl Command
curl -G -d "start_month=1991-02-02T07%3A22%3A34.204Z"
-d "end_month=1991-02-02T07%3A22%3A34.204Z"
-d "include_org_details=true"
-H "Accept: application/json;datetime-format=rfc3339"
https://api.app.ddog-gov.com/api/v1/usage/summary
Postman Collection Item JSON
{
"name": "Get usage across your account",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json;datetime-format=rfc3339"
}
],
"url": {
"raw": "{{baseUrl}}/api/v1/usage/summary?start_month=1991-02-02T07:22:34.204Z&end_month=1991-02-02T07:22:34.204Z&include_org_details=true",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v1",
"usage",
"summary"
],
"query": [
{
"key": "start_month",
"value": "1991-02-02T07:22:34.204Z",
"description": "(Required) Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month.\nMaximum of 15 months ago."
},
{
"key": "end_month",
"value": "1991-02-02T07:22:34.204Z",
"description": "Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month."
},
{
"key": "include_org_details",
"value": "true",
"description": "Include usage summaries for each sub-org."
}
]
},
"description": "Get all usage across your account."
},
"response": [
{
"name": "OK",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json;datetime-format=rfc3339"
},
{
"description": "Added as a part of security scheme: apikey",
"key": "DD-API-KEY",
"value": "<API Key>"
}
],
"url": {
"raw": "{{baseUrl}}/api/v1/usage/summary?start_month=1991-02-02T07:22:34.204Z&end_month=1991-02-02T07:22:34.204Z&include_org_details=true",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v1",
"usage",
"summary"
],
"query": [
{
"key": "start_month",
"value": "1991-02-02T07:22:34.204Z",
"description": "(Required) Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month.\nMaximum of 15 months ago."
},
{
"key": "end_month",
"value": "1991-02-02T07:22:34.204Z",
"description": "Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month."
},
{
"key": "include_org_details",
"value": "true",
"description": "Include usage summaries for each sub-org."
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json;datetime-format=rfc3339"
}
],
"cookie": [
],
"body": "{\n \"agent_host_top99p_sum\": 72849632,\n \"apm_azure_app_service_host_top99p_sum\": -59198124,\n \"apm_fargate_count_avg_sum\": -69954531,\n \"apm_host_top99p_sum\": 93717704,\n \"appsec_fargate_count_avg_sum\": -38899023,\n \"audit_logs_lines_indexed_agg_sum\": -17943197,\n \"audit_trail_enabled_hwm_sum\": 83660841,\n \"avg_profiled_fargate_tasks_sum\": 16456535,\n \"aws_host_top99p_sum\": 20802075,\n \"aws_lambda_func_count\": 42673907,\n \"aws_lambda_invocations_sum\": -80362,\n \"azure_app_service_top99p_sum\": -91415273,\n \"azure_host_top99p_sum\": 23261277,\n \"billable_ingested_bytes_agg_sum\": 20555741,\n \"browser_rum_lite_session_count_agg_sum\": -25856857,\n \"browser_rum_replay_session_count_agg_sum\": -30914282,\n \"browser_rum_units_agg_sum\": 48408865,\n \"ci_pipeline_indexed_spans_agg_sum\": -39224609,\n \"ci_test_indexed_spans_agg_sum\": 99479730,\n \"ci_visibility_itr_committers_hwm_sum\": 19391728,\n \"ci_visibility_pipeline_committers_hwm_sum\": -26274457,\n \"ci_visibility_test_committers_hwm_sum\": -5042150,\n \"cloud_cost_management_aws_host_count_avg_sum\": -89898703,\n \"cloud_cost_management_azure_host_count_avg_sum\": -85163725,\n \"cloud_cost_management_host_count_avg_sum\": -56201530,\n \"container_avg_sum\": -80683324,\n \"container_excl_agent_avg_sum\": -5895383,\n \"container_hwm_sum\": 25662856,\n \"cspm_aas_host_top99p_sum\": 3293761,\n \"cspm_aws_host_top99p_sum\": -85302845,\n \"cspm_azure_host_top99p_sum\": 78375919,\n \"cspm_container_avg_sum\": -43058964,\n \"cspm_container_hwm_sum\": -81069701,\n \"cspm_gcp_host_top99p_sum\": -86916888,\n \"cspm_host_top99p_sum\": -3002166,\n \"custom_ts_sum\": -39500326,\n \"cws_containers_avg_sum\": 53504605,\n \"cws_host_top99p_sum\": -34336238,\n \"dbm_host_top99p_sum\": -21119584,\n \"dbm_queries_avg_sum\": -59254365,\n \"end_date\": \"1948-09-02T01:20:25.955Z\",\n \"fargate_tasks_count_avg_sum\": -6282939,\n \"fargate_tasks_count_hwm_sum\": 25693371,\n \"forwarding_events_bytes_agg_sum\": 20935431,\n \"gcp_host_top99p_sum\": -25922808,\n \"heroku_host_top99p_sum\": -3373139,\n \"incident_management_monthly_active_users_hwm_sum\": -46585283,\n \"indexed_events_count_agg_sum\": 57300636,\n \"infra_host_top99p_sum\": 83153473,\n \"ingested_events_bytes_agg_sum\": -20343632,\n \"iot_device_agg_sum\": -76168634,\n \"iot_device_top99p_sum\": 2650864,\n \"last_updated\": \"1968-07-14T08:54:32.362Z\",\n \"live_indexed_events_agg_sum\": 13568477,\n \"live_ingested_bytes_agg_sum\": -18047709,\n \"logs_by_retention\": {\n \"orgs\": {\n \"usage\": [\n {\n \"usage\": [\n {\n \"logs_indexed_logs_usage_sum\": -36513604,\n \"logs_live_indexed_logs_usage_sum\": -3080038,\n \"logs_rehydrated_indexed_logs_usage_sum\": 47709377,\n \"retention\": \"laborum Lorem esse aliquip reprehenderit\"\n },\n {\n \"logs_indexed_logs_usage_sum\": 4975760,\n \"logs_live_indexed_logs_usage_sum\": -63915404,\n \"logs_rehydrated_indexed_logs_usage_sum\": -34176332,\n \"retention\": \"reprehenderit proident Excepteur anim\"\n }\n ]\n },\n {\n \"usage\": [\n {\n \"logs_indexed_logs_usage_sum\": 84461107,\n \"logs_live_indexed_logs_usage_sum\": 15898268,\n \"logs_rehydrated_indexed_logs_usage_sum\": -88981212,\n \"retention\": \"velit laboris\"\n },\n {\n \"logs_indexed_logs_usage_sum\": -13588061,\n \"logs_live_indexed_logs_usage_sum\": 53375799,\n \"logs_rehydrated_indexed_logs_usage_sum\": -87979112,\n \"retention\": \"deserunt elit adipisicing\"\n }\n ]\n }\n ]\n },\n \"usage\": [\n {\n \"logs_indexed_logs_usage_agg_sum\": 74630953,\n \"logs_live_indexed_logs_usage_agg_sum\": -54199229,\n \"logs_rehydrated_indexed_logs_usage_agg_sum\": 14816997,\n \"retention\": \"sunt ea id\"\n },\n {\n \"logs_indexed_logs_usage_agg_sum\": 68226107,\n \"logs_live_indexed_logs_usage_agg_sum\": -11621384,\n \"logs_rehydrated_indexed_logs_usage_agg_sum\": 36211415,\n \"retention\": \"non et mollit voluptate pariatur\"\n }\n ],\n \"usage_by_month\": {\n \"date\": \"1962-05-16T06:26:40.171Z\",\n \"usage\": [\n {\n \"logs_indexed_logs_usage_sum\": 92707214,\n \"logs_live_indexed_logs_usage_sum\": -63438244,\n \"logs_rehydrated_indexed_logs_usage_sum\": -73621507,\n \"retention\": \"sed sint\"\n },\n {\n \"logs_indexed_logs_usage_sum\": 84831811,\n \"logs_live_indexed_logs_usage_sum\": 90027896,\n \"logs_rehydrated_indexed_logs_usage_sum\": -18727792,\n \"retention\": \"officia sit\"\n }\n ]\n }\n },\n \"mobile_rum_lite_session_count_agg_sum\": -6225373,\n \"mobile_rum_session_count_agg_sum\": 4127989,\n \"mobile_rum_session_count_android_agg_sum\": 53586340,\n \"mobile_rum_session_count_flutter_agg_sum\": 55249914,\n \"mobile_rum_session_count_ios_agg_sum\": -37317315,\n \"mobile_rum_session_count_reactnative_agg_sum\": 74698925,\n \"mobile_rum_session_count_roku_agg_sum\": 44854950,\n \"mobile_rum_units_agg_sum\": -56824945,\n \"netflow_indexed_events_count_agg_sum\": -12386948,\n \"npm_host_top99p_sum\": 88257052,\n \"observability_pipelines_bytes_processed_agg_sum\": 19000896,\n \"online_archive_events_count_agg_sum\": 94992733,\n \"opentelemetry_apm_host_top99p_sum\": 80393207,\n \"opentelemetry_host_top99p_sum\": 29526996,\n \"profiling_container_agent_count_avg\": -27929453,\n \"profiling_host_count_top99p_sum\": -5789489,\n \"rehydrated_indexed_events_agg_sum\": -46736328,\n \"rehydrated_ingested_bytes_agg_sum\": 79275922,\n \"rum_browser_and_mobile_session_count\": -11118015,\n \"rum_session_count_agg_sum\": 60383915,\n \"rum_total_session_count_agg_sum\": 59329512,\n \"rum_units_agg_sum\": -39688188,\n \"sds_apm_scanned_bytes_sum\": -61420964,\n \"sds_events_scanned_bytes_sum\": 38947524,\n \"sds_logs_scanned_bytes_sum\": 24079364,\n \"sds_rum_scanned_bytes_sum\": 15138930,\n \"sds_total_scanned_bytes_sum\": 5440001,\n \"start_date\": \"1978-05-24T19:45:16.425Z\",\n \"synthetics_browser_check_calls_count_agg_sum\": -99733451,\n \"synthetics_check_calls_count_agg_sum\": -9729753,\n \"synthetics_parallel_testing_max_slots_hwm_sum\": -14712711,\n \"trace_search_indexed_events_count_agg_sum\": 10385889,\n \"twol_ingested_events_bytes_agg_sum\": 18694310,\n \"universal_service_monitoring_host_top99p_sum\": 85800816,\n \"usage\": [\n {\n \"agent_host_top99p\": 417311,\n \"apm_azure_app_service_host_top99p\": -5248510,\n \"apm_fargate_count_avg\": -64850347,\n \"apm_host_top99p\": -630632,\n \"appsec_fargate_count_avg\": 68597361,\n \"audit_logs_lines_indexed_sum\": -70480899,\n \"audit_trail_enabled_hwm\": 14411963,\n \"avg_profiled_fargate_tasks\": -93281748,\n \"aws_host_top99p\": 16577341,\n \"aws_lambda_func_count\": -44866185,\n \"aws_lambda_invocations_sum\": 57419319,\n \"azure_app_service_top99p\": -40609622,\n \"billable_ingested_bytes_sum\": -8998579,\n \"browser_rum_lite_session_count_sum\": -33712868,\n \"browser_rum_replay_session_count_sum\": -81510158,\n \"browser_rum_units_sum\": 12133437,\n \"ci_pipeline_indexed_spans_sum\": -87672178,\n \"ci_test_indexed_spans_sum\": -91572653,\n \"ci_visibility_itr_committers_hwm\": 68508748,\n \"ci_visibility_pipeline_committers_hwm\": -3410388,\n \"ci_visibility_test_committers_hwm\": -93066094,\n \"cloud_cost_management_aws_host_count_avg\": 60995678,\n \"cloud_cost_management_azure_host_count_avg\": 7346812,\n \"cloud_cost_management_host_count_avg\": 76707636,\n \"container_avg\": 19079723,\n \"container_excl_agent_avg\": 77846353,\n \"container_hwm\": 77749229,\n \"cspm_aas_host_top99p\": -35033296,\n \"cspm_aws_host_top99p\": 85150120,\n \"cspm_azure_host_top99p\": -29362636,\n \"cspm_container_avg\": 59488635,\n \"cspm_container_hwm\": 56230123,\n \"cspm_gcp_host_top99p\": 95291803,\n \"cspm_host_top99p\": -15320348,\n \"custom_ts_avg\": -43099938,\n \"cws_container_count_avg\": 62615347,\n \"cws_host_top99p\": -54656105,\n \"date\": \"1989-10-04T17:53:37.570Z\",\n \"dbm_host_top99p\": 85546294,\n \"dbm_queries_count_avg\": -71517801,\n \"fargate_tasks_count_avg\": -7795674,\n \"fargate_tasks_count_hwm\": -22213297,\n \"forwarding_events_bytes_sum\": 25489537,\n \"gcp_host_top99p\": -29498605,\n \"heroku_host_top99p\": 765221,\n \"incident_management_monthly_active_users_hwm\": -72765660,\n \"indexed_events_count_sum\": 66506487,\n \"infra_host_top99p\": 55437882,\n \"ingested_events_bytes_sum\": -50449033,\n \"iot_device_sum\": -2544973,\n \"iot_device_top99p\": -52875330,\n \"mobile_rum_lite_session_count_sum\": -64443058,\n \"mobile_rum_session_count_android_sum\": 83279363,\n \"mobile_rum_session_count_flutter_sum\": 80798836,\n \"mobile_rum_session_count_ios_sum\": -91157304,\n \"mobile_rum_session_count_reactnative_sum\": 11955317,\n \"mobile_rum_session_count_roku_sum\": 36669798,\n \"mobile_rum_session_count_sum\": -38840085,\n \"mobile_rum_units_sum\": 26181563,\n \"netflow_indexed_events_count_sum\": -27739471,\n \"npm_host_top99p\": 72312560,\n \"observability_pipelines_bytes_processed_sum\": 93040778,\n \"online_archive_events_count_sum\": 11276320,\n \"opentelemetry_apm_host_top99p\": -58370469,\n \"opentelemetry_host_top99p\": 14528848,\n \"orgs\": [\n {\n \"agent_host_top99p\": 21354016,\n \"apm_azure_app_service_host_top99p\": -70098626,\n \"apm_fargate_count_avg\": 40064003,\n \"apm_host_top99p\": -30648930,\n \"appsec_fargate_count_avg\": 89901155,\n \"audit_logs_lines_indexed_sum\": 17406326,\n \"audit_trail_enabled_hwm\": 61841783,\n \"avg_profiled_fargate_tasks\": -32661599,\n \"aws_host_top99p\": 30747932,\n \"aws_lambda_func_count\": 36209624,\n \"aws_lambda_invocations_sum\": 61866846,\n \"azure_app_service_top99p\": 71734911,\n \"billable_ingested_bytes_sum\": -41968449,\n \"browser_rum_lite_session_count_sum\": -65981867,\n \"browser_rum_replay_session_count_sum\": 97737359,\n \"browser_rum_units_sum\": 58716995,\n \"ci_pipeline_indexed_spans_sum\": -10479855,\n \"ci_test_indexed_spans_sum\": 41987513,\n \"ci_visibility_itr_committers_hwm\": 65343586,\n \"ci_visibility_pipeline_committers_hwm\": 17426278,\n \"ci_visibility_test_committers_hwm\": -81121383,\n \"cloud_cost_management_aws_host_count_avg\": 70697785,\n \"cloud_cost_management_azure_host_count_avg\": -1375298,\n \"cloud_cost_management_host_count_avg\": 90572012,\n \"container_avg\": 97298126,\n \"container_excl_agent_avg\": -62323405,\n \"container_hwm\": 47758331,\n \"cspm_aas_host_top99p\": -65449559,\n \"cspm_aws_host_top99p\": -7615761,\n \"cspm_azure_host_top99p\": -23613716,\n \"cspm_container_avg\": -96032283,\n \"cspm_container_hwm\": -36097156,\n \"cspm_gcp_host_top99p\": 19662400,\n \"cspm_host_top99p\": -78557584,\n \"custom_ts_avg\": -68378598,\n \"cws_container_count_avg\": 72178530,\n \"cws_host_top99p\": -64867947,\n \"dbm_host_top99p_sum\": -59378004,\n \"dbm_queries_avg_sum\": 55864769,\n \"fargate_tasks_count_avg\": 57730368,\n \"fargate_tasks_count_hwm\": -80923576,\n \"forwarding_events_bytes_sum\": -56035599,\n \"gcp_host_top99p\": 8521489,\n \"heroku_host_top99p\": 39120755,\n \"id\": \"nulla et\",\n \"incident_management_monthly_active_users_hwm\": -68431371,\n \"indexed_events_count_sum\": 14482424,\n \"infra_host_top99p\": -26823218,\n \"ingested_events_bytes_sum\": 33538916,\n \"iot_device_agg_sum\": -85115582,\n \"iot_device_top99p_sum\": -22632925,\n \"mobile_rum_lite_session_count_sum\": 27452801,\n \"mobile_rum_session_count_android_sum\": -74356643,\n \"mobile_rum_session_count_flutter_sum\": 96374619,\n \"mobile_rum_session_count_ios_sum\": 30893816,\n \"mobile_rum_session_count_reactnative_sum\": -22477849,\n \"mobile_rum_session_count_roku_sum\": -53792811,\n \"mobile_rum_session_count_sum\": 17887569,\n \"mobile_rum_units_sum\": 21415783,\n \"name\": \"Excepteur sed elit\",\n \"netflow_indexed_events_count_sum\": -40061892,\n \"npm_host_top99p\": -8534781,\n \"observability_pipelines_bytes_processed_sum\": 51250514,\n \"online_archive_events_count_sum\": -70993458,\n \"opentelemetry_apm_host_top99p\": -51473486,\n \"opentelemetry_host_top99p\": -10180180,\n \"profiling_host_top99p\": -68022169,\n \"public_id\": \"commodo tempor\",\n \"region\": \"adipisicing aliquip\",\n \"rum_browser_and_mobile_session_count\": -71654129,\n \"rum_session_count_sum\": -4368976,\n \"rum_total_session_count_sum\": -74671233,\n \"rum_units_sum\": -25218547,\n \"sds_apm_scanned_bytes_sum\": -84599972,\n \"sds_events_scanned_bytes_sum\": -60796074,\n \"sds_logs_scanned_bytes_sum\": 28365921,\n \"sds_rum_scanned_bytes_sum\": -10876677,\n \"sds_total_scanned_bytes_sum\": 96719997,\n \"synthetics_browser_check_calls_count_sum\": 31528621,\n \"synthetics_check_calls_count_sum\": 38443562,\n \"synthetics_parallel_testing_max_slots_hwm\": 13975578,\n \"trace_search_indexed_events_count_sum\": 96689457,\n \"twol_ingested_events_bytes_sum\": -59379102,\n \"universal_service_monitoring_host_top99p\": 24333108,\n \"vsphere_host_top99p\": -84929191,\n \"vuln_management_host_count_top99p\": -23482223,\n \"workflow_executions_usage_sum\": -33173614\n },\n {\n \"agent_host_top99p\": 48334523,\n \"apm_azure_app_service_host_top99p\": 87700511,\n \"apm_fargate_count_avg\": 59017631,\n \"apm_host_top99p\": 34365894,\n \"appsec_fargate_count_avg\": 79043841,\n \"audit_logs_lines_indexed_sum\": 89226058,\n \"audit_trail_enabled_hwm\": -81481342,\n \"avg_profiled_fargate_tasks\": -33667903,\n \"aws_host_top99p\": 91899049,\n \"aws_lambda_func_count\": -10273581,\n \"aws_lambda_invocations_sum\": 43635053,\n \"azure_app_service_top99p\": -78935994,\n \"billable_ingested_bytes_sum\": 45433606,\n \"browser_rum_lite_session_count_sum\": -63518629,\n \"browser_rum_replay_session_count_sum\": -60576059,\n \"browser_rum_units_sum\": -87390266,\n \"ci_pipeline_indexed_spans_sum\": 46426062,\n \"ci_test_indexed_spans_sum\": 84566413,\n \"ci_visibility_itr_committers_hwm\": 97073910,\n \"ci_visibility_pipeline_committers_hwm\": 94281896,\n \"ci_visibility_test_committers_hwm\": -93588814,\n \"cloud_cost_management_aws_host_count_avg\": -76690270,\n \"cloud_cost_management_azure_host_count_avg\": 15277049,\n \"cloud_cost_management_host_count_avg\": -90619373,\n \"container_avg\": -50212405,\n \"container_excl_agent_avg\": 49891413,\n \"container_hwm\": 17443179,\n \"cspm_aas_host_top99p\": 39842644,\n \"cspm_aws_host_top99p\": -5059436,\n \"cspm_azure_host_top99p\": 49299587,\n \"cspm_container_avg\": -70564755,\n \"cspm_container_hwm\": -10714684,\n \"cspm_gcp_host_top99p\": 18862795,\n \"cspm_host_top99p\": 24012155,\n \"custom_ts_avg\": 37208491,\n \"cws_container_count_avg\": -22295213,\n \"cws_host_top99p\": -83548298,\n \"dbm_host_top99p_sum\": -32653938,\n \"dbm_queries_avg_sum\": 83663555,\n \"fargate_tasks_count_avg\": -43799482,\n \"fargate_tasks_count_hwm\": 85507786,\n \"forwarding_events_bytes_sum\": 85410254,\n \"gcp_host_top99p\": -95591855,\n \"heroku_host_top99p\": -83530829,\n \"id\": \"consectetur sit eiusmod qui\",\n \"incident_management_monthly_active_users_hwm\": -38343868,\n \"indexed_events_count_sum\": -63405130,\n \"infra_host_top99p\": -54047228,\n \"ingested_events_bytes_sum\": 56790019,\n \"iot_device_agg_sum\": -94401365,\n \"iot_device_top99p_sum\": 50891804,\n \"mobile_rum_lite_session_count_sum\": -8690627,\n \"mobile_rum_session_count_android_sum\": -79146521,\n \"mobile_rum_session_count_flutter_sum\": -87135717,\n \"mobile_rum_session_count_ios_sum\": 87695362,\n \"mobile_rum_session_count_reactnative_sum\": -45720303,\n \"mobile_rum_session_count_roku_sum\": -35609274,\n \"mobile_rum_session_count_sum\": 54663668,\n \"mobile_rum_units_sum\": -37336917,\n \"name\": \"ullamco incididunt tempor deserunt\",\n \"netflow_indexed_events_count_sum\": -71789594,\n \"npm_host_top99p\": 37249496,\n \"observability_pipelines_bytes_processed_sum\": 62652776,\n \"online_archive_events_count_sum\": -91998569,\n \"opentelemetry_apm_host_top99p\": 30251802,\n \"opentelemetry_host_top99p\": -58736007,\n \"profiling_host_top99p\": 62456940,\n \"public_id\": \"sunt Lorem incididunt\",\n \"region\": \"adipisicing ad in qui\",\n \"rum_browser_and_mobile_session_count\": 35111610,\n \"rum_session_count_sum\": 77271733,\n \"rum_total_session_count_sum\": -9947224,\n \"rum_units_sum\": -68227749,\n \"sds_apm_scanned_bytes_sum\": -35858418,\n \"sds_events_scanned_bytes_sum\": -54162698,\n \"sds_logs_scanned_bytes_sum\": 15033028,\n \"sds_rum_scanned_bytes_sum\": -14232914,\n \"sds_total_scanned_bytes_sum\": 12039583,\n \"synthetics_browser_check_calls_count_sum\": 84473106,\n \"synthetics_check_calls_count_sum\": -4563818,\n \"synthetics_parallel_testing_max_slots_hwm\": 16077222,\n \"trace_search_indexed_events_count_sum\": 46403741,\n \"twol_ingested_events_bytes_sum\": 77265037,\n \"universal_service_monitoring_host_top99p\": -34480886,\n \"vsphere_host_top99p\": 30087564,\n \"vuln_management_host_count_top99p\": 57216210,\n \"workflow_executions_usage_sum\": 7300689\n }\n ],\n \"profiling_host_top99p\": -82437346,\n \"rum_browser_and_mobile_session_count\": -67044873,\n \"rum_session_count_sum\": 24543882,\n \"rum_total_session_count_sum\": 72068095,\n \"rum_units_sum\": 67813690,\n \"sds_apm_scanned_bytes_sum\": 16707666,\n \"sds_events_scanned_bytes_sum\": -5363852,\n \"sds_logs_scanned_bytes_sum\": 9070359,\n \"sds_rum_scanned_bytes_sum\": 70517869,\n \"sds_total_scanned_bytes_sum\": 2416399,\n \"synthetics_browser_check_calls_count_sum\": -15015564,\n \"synthetics_check_calls_count_sum\": 31596789,\n \"synthetics_parallel_testing_max_slots_hwm\": -70425371,\n \"trace_search_indexed_events_count_sum\": -48290361,\n \"twol_ingested_events_bytes_sum\": -54996457,\n \"universal_service_monitoring_host_top99p\": 53388386,\n \"vsphere_host_top99p\": -56627281,\n \"vuln_management_host_count_top99p\": -48769199,\n \"workflow_executions_usage_sum\": 98401293\n },\n {\n \"agent_host_top99p\": -42944154,\n \"apm_azure_app_service_host_top99p\": -66879038,\n \"apm_fargate_count_avg\": 31544846,\n \"apm_host_top99p\": -53433169,\n \"appsec_fargate_count_avg\": 51090396,\n \"audit_logs_lines_indexed_sum\": -67931410,\n \"audit_trail_enabled_hwm\": -38647136,\n \"avg_profiled_fargate_tasks\": -80269738,\n \"aws_host_top99p\": 39776614,\n \"aws_lambda_func_count\": -81763154,\n \"aws_lambda_invocations_sum\": -13760533,\n \"azure_app_service_top99p\": 37883678,\n \"billable_ingested_bytes_sum\": 847508,\n \"browser_rum_lite_session_count_sum\": 718409,\n \"browser_rum_replay_session_count_sum\": -59637803,\n \"browser_rum_units_sum\": -81715061,\n \"ci_pipeline_indexed_spans_sum\": -21733,\n \"ci_test_indexed_spans_sum\": 97757155,\n \"ci_visibility_itr_committers_hwm\": -15235706,\n \"ci_visibility_pipeline_committers_hwm\": 43561836,\n \"ci_visibility_test_committers_hwm\": -81276773,\n \"cloud_cost_management_aws_host_count_avg\": 17104732,\n \"cloud_cost_management_azure_host_count_avg\": -15293032,\n \"cloud_cost_management_host_count_avg\": 70357605,\n \"container_avg\": -38064920,\n \"container_excl_agent_avg\": -47969049,\n \"container_hwm\": -82580764,\n \"cspm_aas_host_top99p\": 95496297,\n \"cspm_aws_host_top99p\": -77139011,\n \"cspm_azure_host_top99p\": 78468529,\n \"cspm_container_avg\": -20336253,\n \"cspm_container_hwm\": -31151682,\n \"cspm_gcp_host_top99p\": -92335829,\n \"cspm_host_top99p\": 73621777,\n \"custom_ts_avg\": -61327780,\n \"cws_container_count_avg\": -37154931,\n \"cws_host_top99p\": -38990247,\n \"date\": \"1989-05-08T10:05:56.942Z\",\n \"dbm_host_top99p\": -14417800,\n \"dbm_queries_count_avg\": -77139742,\n \"fargate_tasks_count_avg\": -11130329,\n \"fargate_tasks_count_hwm\": -94402184,\n \"forwarding_events_bytes_sum\": -64722749,\n \"gcp_host_top99p\": 9899261,\n \"heroku_host_top99p\": 85273160,\n \"incident_management_monthly_active_users_hwm\": -11228517,\n \"indexed_events_count_sum\": 81134399,\n \"infra_host_top99p\": -61182311,\n \"ingested_events_bytes_sum\": -93076239,\n \"iot_device_sum\": 27519628,\n \"iot_device_top99p\": -26958732,\n \"mobile_rum_lite_session_count_sum\": -14349865,\n \"mobile_rum_session_count_android_sum\": -97782872,\n \"mobile_rum_session_count_flutter_sum\": 28042505,\n \"mobile_rum_session_count_ios_sum\": 3766336,\n \"mobile_rum_session_count_reactnative_sum\": -64293006,\n \"mobile_rum_session_count_roku_sum\": -85643126,\n \"mobile_rum_session_count_sum\": -92288809,\n \"mobile_rum_units_sum\": 45504946,\n \"netflow_indexed_events_count_sum\": 84347532,\n \"npm_host_top99p\": -99187395,\n \"observability_pipelines_bytes_processed_sum\": -44128865,\n \"online_archive_events_count_sum\": -8108969,\n \"opentelemetry_apm_host_top99p\": 78893199,\n \"opentelemetry_host_top99p\": -28353641,\n \"orgs\": [\n {\n \"agent_host_top99p\": -33383500,\n \"apm_azure_app_service_host_top99p\": 55924006,\n \"apm_fargate_count_avg\": 87372714,\n \"apm_host_top99p\": -1590458,\n \"appsec_fargate_count_avg\": -35120949,\n \"audit_logs_lines_indexed_sum\": 56614064,\n \"audit_trail_enabled_hwm\": -55843815,\n \"avg_profiled_fargate_tasks\": -59105892,\n \"aws_host_top99p\": 57634338,\n \"aws_lambda_func_count\": 51904254,\n \"aws_lambda_invocations_sum\": 52687712,\n \"azure_app_service_top99p\": -85888778,\n \"billable_ingested_bytes_sum\": -78315951,\n \"browser_rum_lite_session_count_sum\": 98011985,\n \"browser_rum_replay_session_count_sum\": 73165172,\n \"browser_rum_units_sum\": 55754243,\n \"ci_pipeline_indexed_spans_sum\": -71389665,\n \"ci_test_indexed_spans_sum\": 64340447,\n \"ci_visibility_itr_committers_hwm\": -90533655,\n \"ci_visibility_pipeline_committers_hwm\": -88774709,\n \"ci_visibility_test_committers_hwm\": -47316862,\n \"cloud_cost_management_aws_host_count_avg\": 35204777,\n \"cloud_cost_management_azure_host_count_avg\": 43447786,\n \"cloud_cost_management_host_count_avg\": 25667092,\n \"container_avg\": 19269741,\n \"container_excl_agent_avg\": -8011684,\n \"container_hwm\": 56598786,\n \"cspm_aas_host_top99p\": 51204142,\n \"cspm_aws_host_top99p\": 46300315,\n \"cspm_azure_host_top99p\": -27263046,\n \"cspm_container_avg\": -33833088,\n \"cspm_container_hwm\": -28374107,\n \"cspm_gcp_host_top99p\": 54251033,\n \"cspm_host_top99p\": 29970109,\n \"custom_ts_avg\": -91439292,\n \"cws_container_count_avg\": 67618767,\n \"cws_host_top99p\": -67391310,\n \"dbm_host_top99p_sum\": 23033950,\n \"dbm_queries_avg_sum\": -57962184,\n \"fargate_tasks_count_avg\": -13272894,\n \"fargate_tasks_count_hwm\": -49229,\n \"forwarding_events_bytes_sum\": -88705421,\n \"gcp_host_top99p\": 40327707,\n \"heroku_host_top99p\": -32141327,\n \"id\": \"irure dolore dolore do\",\n \"incident_management_monthly_active_users_hwm\": -10461988,\n \"indexed_events_count_sum\": 86760244,\n \"infra_host_top99p\": -82065704,\n \"ingested_events_bytes_sum\": 91179344,\n \"iot_device_agg_sum\": 7784897,\n \"iot_device_top99p_sum\": -25261108,\n \"mobile_rum_lite_session_count_sum\": 6879935,\n \"mobile_rum_session_count_android_sum\": 56722073,\n \"mobile_rum_session_count_flutter_sum\": 90350315,\n \"mobile_rum_session_count_ios_sum\": 64867554,\n \"mobile_rum_session_count_reactnative_sum\": 12956903,\n \"mobile_rum_session_count_roku_sum\": -95207555,\n \"mobile_rum_session_count_sum\": 17795558,\n \"mobile_rum_units_sum\": 48266809,\n \"name\": \"elit adipisicing\",\n \"netflow_indexed_events_count_sum\": 83432745,\n \"npm_host_top99p\": 6206367,\n \"observability_pipelines_bytes_processed_sum\": -29764775,\n \"online_archive_events_count_sum\": -53714000,\n \"opentelemetry_apm_host_top99p\": 92235666,\n \"opentelemetry_host_top99p\": -30592819,\n \"profiling_host_top99p\": -2658350,\n \"public_id\": \"irure consequat et velit\",\n \"region\": \"ut laboris\",\n \"rum_browser_and_mobile_session_count\": -4203295,\n \"rum_session_count_sum\": -78898305,\n \"rum_total_session_count_sum\": -43203401,\n \"rum_units_sum\": -4802633,\n \"sds_apm_scanned_bytes_sum\": 1544861,\n \"sds_events_scanned_bytes_sum\": -76839578,\n \"sds_logs_scanned_bytes_sum\": -33841752,\n \"sds_rum_scanned_bytes_sum\": -21249524,\n \"sds_total_scanned_bytes_sum\": -31395263,\n \"synthetics_browser_check_calls_count_sum\": -55724368,\n \"synthetics_check_calls_count_sum\": -53745242,\n \"synthetics_parallel_testing_max_slots_hwm\": 38225192,\n \"trace_search_indexed_events_count_sum\": 74102686,\n \"twol_ingested_events_bytes_sum\": 14273358,\n \"universal_service_monitoring_host_top99p\": -64347052,\n \"vsphere_host_top99p\": -19560637,\n \"vuln_management_host_count_top99p\": 48664558,\n \"workflow_executions_usage_sum\": 76539097\n },\n {\n \"agent_host_top99p\": 57511768,\n \"apm_azure_app_service_host_top99p\": -34208929,\n \"apm_fargate_count_avg\": -83958473,\n \"apm_host_top99p\": 94880321,\n \"appsec_fargate_count_avg\": -60211615,\n \"audit_logs_lines_indexed_sum\": 60741692,\n \"audit_trail_enabled_hwm\": -69431088,\n \"avg_profiled_fargate_tasks\": -5173907,\n \"aws_host_top99p\": 23693387,\n \"aws_lambda_func_count\": 8323462,\n \"aws_lambda_invocations_sum\": 40217912,\n \"azure_app_service_top99p\": -70064024,\n \"billable_ingested_bytes_sum\": 80836754,\n \"browser_rum_lite_session_count_sum\": 28474281,\n \"browser_rum_replay_session_count_sum\": 56231859,\n \"browser_rum_units_sum\": 62565887,\n \"ci_pipeline_indexed_spans_sum\": -4026833,\n \"ci_test_indexed_spans_sum\": 73273372,\n \"ci_visibility_itr_committers_hwm\": -70878920,\n \"ci_visibility_pipeline_committers_hwm\": -55168775,\n \"ci_visibility_test_committers_hwm\": -14485654,\n \"cloud_cost_management_aws_host_count_avg\": 39840415,\n \"cloud_cost_management_azure_host_count_avg\": -75054808,\n \"cloud_cost_management_host_count_avg\": 90167429,\n \"container_avg\": -25202338,\n \"container_excl_agent_avg\": -39243308,\n \"container_hwm\": -168170,\n \"cspm_aas_host_top99p\": -83577239,\n \"cspm_aws_host_top99p\": 55327301,\n \"cspm_azure_host_top99p\": -48791083,\n \"cspm_container_avg\": -64419106,\n \"cspm_container_hwm\": -25396456,\n \"cspm_gcp_host_top99p\": 20677402,\n \"cspm_host_top99p\": -24891550,\n \"custom_ts_avg\": -22280284,\n \"cws_container_count_avg\": -91549240,\n \"cws_host_top99p\": -9173227,\n \"dbm_host_top99p_sum\": 84676269,\n \"dbm_queries_avg_sum\": 75423193,\n \"fargate_tasks_count_avg\": -81038675,\n \"fargate_tasks_count_hwm\": -63033298,\n \"forwarding_events_bytes_sum\": -67597344,\n \"gcp_host_top99p\": -67052397,\n \"heroku_host_top99p\": 93171664,\n \"id\": \"adipisicing aliquip par\",\n \"incident_management_monthly_active_users_hwm\": 25404933,\n \"indexed_events_count_sum\": 23288695,\n \"infra_host_top99p\": 7561353,\n \"ingested_events_bytes_sum\": 26428741,\n \"iot_device_agg_sum\": 56819537,\n \"iot_device_top99p_sum\": 98964268,\n \"mobile_rum_lite_session_count_sum\": -32212413,\n \"mobile_rum_session_count_android_sum\": 8277825,\n \"mobile_rum_session_count_flutter_sum\": -9804752,\n \"mobile_rum_session_count_ios_sum\": 86889365,\n \"mobile_rum_session_count_reactnative_sum\": 36479438,\n \"mobile_rum_session_count_roku_sum\": -14383479,\n \"mobile_rum_session_count_sum\": -21161565,\n \"mobile_rum_units_sum\": -40389366,\n \"name\": \"commodo enim labore\",\n \"netflow_indexed_events_count_sum\": -18183565,\n \"npm_host_top99p\": 99817429,\n \"observability_pipelines_bytes_processed_sum\": -66131263,\n \"online_archive_events_count_sum\": 53217272,\n \"opentelemetry_apm_host_top99p\": -22443180,\n \"opentelemetry_host_top99p\": -56655101,\n \"profiling_host_top99p\": 16075592,\n \"public_id\": \"aliquip pariatur enim veniam labore\",\n \"region\": \"Lorem quis non\",\n \"rum_browser_and_mobile_session_count\": 76144327,\n \"rum_session_count_sum\": -90050083,\n \"rum_total_session_count_sum\": -92405993,\n \"rum_units_sum\": 92897273,\n \"sds_apm_scanned_bytes_sum\": 75608634,\n \"sds_events_scanned_bytes_sum\": -72839021,\n \"sds_logs_scanned_bytes_sum\": -7365421,\n \"sds_rum_scanned_bytes_sum\": -23086736,\n \"sds_total_scanned_bytes_sum\": -2112113,\n \"synthetics_browser_check_calls_count_sum\": 78523427,\n \"synthetics_check_calls_count_sum\": 76469543,\n \"synthetics_parallel_testing_max_slots_hwm\": -57022975,\n \"trace_search_indexed_events_count_sum\": 16858444,\n \"twol_ingested_events_bytes_sum\": -18247214,\n \"universal_service_monitoring_host_top99p\": -37601178,\n \"vsphere_host_top99p\": 31528086,\n \"vuln_management_host_count_top99p\": 46416275,\n \"workflow_executions_usage_sum\": 76712456\n }\n ],\n \"profiling_host_top99p\": -56124855,\n \"rum_browser_and_mobile_session_count\": -72329163,\n \"rum_session_count_sum\": -36084224,\n \"rum_total_session_count_sum\": -67755647,\n \"rum_units_sum\": 70392587,\n \"sds_apm_scanned_bytes_sum\": 60832553,\n \"sds_events_scanned_bytes_sum\": -89761984,\n \"sds_logs_scanned_bytes_sum\": 14432702,\n \"sds_rum_scanned_bytes_sum\": -81404943,\n \"sds_total_scanned_bytes_sum\": -11346145,\n \"synthetics_browser_check_calls_count_sum\": -89482117,\n \"synthetics_check_calls_count_sum\": 57614139,\n \"synthetics_parallel_testing_max_slots_hwm\": 71555088,\n \"trace_search_indexed_events_count_sum\": -20228450,\n \"twol_ingested_events_bytes_sum\": -84684624,\n \"universal_service_monitoring_host_top99p\": 67067248,\n \"vsphere_host_top99p\": 50433193,\n \"vuln_management_host_count_top99p\": -9166434,\n \"workflow_executions_usage_sum\": 36969176\n }\n ],\n \"vsphere_host_top99p_sum\": -761679,\n \"vuln_management_host_count_top99p_sum\": -33329395,\n \"workflow_executions_usage_agg_sum\": 41878975\n}"
},
{
"name": "Bad Request",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json;datetime-format=rfc3339"
},
{
"description": "Added as a part of security scheme: apikey",
"key": "DD-API-KEY",
"value": "<API Key>"
}
],
"url": {
"raw": "{{baseUrl}}/api/v1/usage/summary?start_month=1991-02-02T07:22:34.204Z&end_month=1991-02-02T07:22:34.204Z&include_org_details=true",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v1",
"usage",
"summary"
],
"query": [
{
"key": "start_month",
"value": "1991-02-02T07:22:34.204Z",
"description": "(Required) Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month.\nMaximum of 15 months ago."
},
{
"key": "end_month",
"value": "1991-02-02T07:22:34.204Z",
"description": "Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month."
},
{
"key": "include_org_details",
"value": "true",
"description": "Include usage summaries for each sub-org."
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json;datetime-format=rfc3339"
}
],
"cookie": [
],
"body": "{\n \"errors\": [\n \"Bad Request\",\n \"Bad Request\"\n ]\n}"
},
{
"name": "Forbidden - User is not authorized",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json;datetime-format=rfc3339"
},
{
"description": "Added as a part of security scheme: apikey",
"key": "DD-API-KEY",
"value": "<API Key>"
}
],
"url": {
"raw": "{{baseUrl}}/api/v1/usage/summary?start_month=1991-02-02T07:22:34.204Z&end_month=1991-02-02T07:22:34.204Z&include_org_details=true",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v1",
"usage",
"summary"
],
"query": [
{
"key": "start_month",
"value": "1991-02-02T07:22:34.204Z",
"description": "(Required) Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month.\nMaximum of 15 months ago."
},
{
"key": "end_month",
"value": "1991-02-02T07:22:34.204Z",
"description": "Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month."
},
{
"key": "include_org_details",
"value": "true",
"description": "Include usage summaries for each sub-org."
}
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json;datetime-format=rfc3339"
}
],
"cookie": [
],
"body": "{\n \"errors\": [\n \"Bad Request\",\n \"Bad Request\"\n ]\n}"
},
{
"name": "Too many requests",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json;datetime-format=rfc3339"
},
{
"description": "Added as a part of security scheme: apikey",
"key": "DD-API-KEY",
"value": "<API Key>"
}
],
"url": {
"raw": "{{baseUrl}}/api/v1/usage/summary?start_month=1991-02-02T07:22:34.204Z&end_month=1991-02-02T07:22:34.204Z&include_org_details=true",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v1",
"usage",
"summary"
],
"query": [
{
"key": "start_month",
"value": "1991-02-02T07:22:34.204Z",
"description": "(Required) Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month.\nMaximum of 15 months ago."
},
{
"key": "end_month",
"value": "1991-02-02T07:22:34.204Z",
"description": "Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month."
},
{
"key": "include_org_details",
"value": "true",
"description": "Include usage summaries for each sub-org."
}
]
}
},
"status": "Too Many Requests",
"code": 429,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json;datetime-format=rfc3339"
}
],
"cookie": [
],
"body": "{\n \"errors\": [\n \"Bad Request\",\n \"Bad Request\"\n ]\n}"
}
]
}