{ "opencollection": "1.0.0", "info": { "name": "Datadog Account API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "items": [ { "info": { "name": "Account", "type": "folder" }, "items": [ { "info": { "name": "Datadog Create a New Entry for Your Service Account", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/integration/gcp/accounts", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new entry within Datadog for your STS enabled service account." }, { "info": { "name": "Datadog Update Sts Service Account", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integration/gcp/accounts/:account_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Your GCP STS enabled service account's unique ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an STS enabled service account." }, { "info": { "name": "Datadog Delete an Sts Enabled Gcp Account", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/integration/gcp/accounts/:account_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Your GCP STS enabled service account's unique ID." } ] }, "docs": "Delete an STS enabled GCP account from within Datadog." }, { "info": { "name": "Datadog List Delegate Account", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/integration/gcp/sts_delegate" }, "docs": "List your Datadog-GCP STS delegate account configured in your Datadog account." }, { "info": { "name": "Datadog Add Cloudflare Account", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/integrations/cloudflare/accounts", "body": { "type": "json", "data": "{}" } }, "docs": "Create a Cloudflare account." }, { "info": { "name": "Datadog Get Cloudflare Account", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/integrations/cloudflare/accounts/:account_id", "params": [ { "name": "account_id", "value": "abc-123-def", "type": "path", "description": "None" } ] }, "docs": "Get a Cloudflare account." }, { "info": { "name": "Datadog Update Cloudflare Account", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integrations/cloudflare/accounts/:account_id", "params": [ { "name": "account_id", "value": "abc-123-def", "type": "path", "description": "None" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Cloudflare account." }, { "info": { "name": "Datadog Delete Cloudflare Account", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/integrations/cloudflare/accounts/:account_id", "params": [ { "name": "account_id", "value": "abc-123-def", "type": "path", "description": "None" } ] }, "docs": "Delete a Cloudflare account." }, { "info": { "name": "Datadog Add Confluent Account", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/integrations/confluent-cloud/accounts", "body": { "type": "json", "data": "{}" } }, "docs": "Create a Confluent account." }, { "info": { "name": "Datadog Get Confluent Account", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/integrations/confluent-cloud/accounts/:account_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Confluent Account ID." } ] }, "docs": "Get the Confluent account with the provided account ID." }, { "info": { "name": "Datadog Update Confluent Account", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integrations/confluent-cloud/accounts/:account_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Confluent Account ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the Confluent account with the provided account ID." }, { "info": { "name": "Datadog Delete Confluent Account", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/integrations/confluent-cloud/accounts/:account_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Confluent Account ID." } ] }, "docs": "Delete a Confluent account with the provided account ID." }, { "info": { "name": "Datadog List Confluent Account Resources", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/integrations/confluent-cloud/accounts/:account_id/resources", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Confluent Account ID." } ] }, "docs": "Get a Confluent resource for the account associated with the provided ID." }, { "info": { "name": "Datadog Add Resource to Confluent Account", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/integrations/confluent-cloud/accounts/:account_id/resources", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Confluent Account ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a Confluent resource for the account associated with the provided ID." }, { "info": { "name": "Datadog Get Resource from Confluent Account", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/integrations/confluent-cloud/accounts/:account_id/resources/:resource_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Confluent Account ID." }, { "name": "resource_id", "value": "", "type": "path", "description": "Confluent Account Resource ID." } ] }, "docs": "Get a Confluent resource with the provided resource id for the account associated with the provided account ID." }, { "info": { "name": "Datadog Update Resource in Confluent Account", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integrations/confluent-cloud/accounts/:account_id/resources/:resource_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Confluent Account ID." }, { "name": "resource_id", "value": "", "type": "path", "description": "Confluent Account Resource ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Confluent resource with the provided resource id for the account associated with the provided account ID." }, { "info": { "name": "Datadog Delete Resource from Confluent Account", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/integrations/confluent-cloud/accounts/:account_id/resources/:resource_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Confluent Account ID." }, { "name": "resource_id", "value": "", "type": "path", "description": "Confluent Account Resource ID." } ] }, "docs": "Delete a Confluent resource with the provided resource id for the account associated with the provided account ID." }, { "info": { "name": "Datadog Add Fastly Account", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/integrations/fastly/accounts", "body": { "type": "json", "data": "{}" } }, "docs": "Create a Fastly account." }, { "info": { "name": "Datadog Get Fastly Account", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/integrations/fastly/accounts/:account_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Fastly Account id." } ] }, "docs": "Get a Fastly account." }, { "info": { "name": "Datadog Update Fastly Account", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integrations/fastly/accounts/:account_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Fastly Account id." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Fastly account." }, { "info": { "name": "Datadog Delete Fastly Account", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/integrations/fastly/accounts/:account_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Fastly Account id." } ] }, "docs": "Delete a Fastly account." }, { "info": { "name": "Datadog Add Okta Account", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/integrations/okta/accounts", "body": { "type": "json", "data": "{}" } }, "docs": "Create an Okta account." }, { "info": { "name": "Datadog Get Okta Account", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/integrations/okta/accounts/:account_id", "params": [ { "name": "account_id", "value": "abc-123-def", "type": "path", "description": "None" } ] }, "docs": "Get an Okta account." }, { "info": { "name": "Datadog Update Okta Account", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integrations/okta/accounts/:account_id", "params": [ { "name": "account_id", "value": "abc-123-def", "type": "path", "description": "None" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an Okta account." }, { "info": { "name": "Datadog Delete Okta Account", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/integrations/okta/accounts/:account_id", "params": [ { "name": "account_id", "value": "abc-123-def", "type": "path", "description": "None" } ] }, "docs": "Delete an Okta account." }, { "info": { "name": "Datadog Create a Service Account", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/service_accounts", "body": { "type": "json", "data": "{}" } }, "docs": "Create a service account for your organization." }, { "info": { "name": "Datadog List Application Keys for This Service Account", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys", "params": [ { "name": "service_account_id", "value": "", "type": "path", "description": "The ID of the service account." }, { "name": "page[size]", "value": "", "type": "query", "description": "Size for a given page. The maximum allowed value is 100." }, { "name": "page[number]", "value": "", "type": "query", "description": "Specific page number to return." }, { "name": "sort", "value": "", "type": "query", "description": "Application key attribute used to sort results. Sort order is ascending\nby default. In order to specify a descending sort, prefix the\nattribute with a minus sign." }, { "name": "filter", "value": "", "type": "query", "description": "Filter application keys by the specified string." }, { "name": "filter[created_at][start]", "value": "", "type": "query", "description": "Only include application keys created on or after the specified date." }, { "name": "filter[created_at][end]", "value": "", "type": "query", "description": "Only include application keys created on or before the specified date." } ] }, "docs": "List all application keys available for this service account." }, { "info": { "name": "Datadog Create an Application Key for This Service Account", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys", "params": [ { "name": "service_account_id", "value": "", "type": "path", "description": "The ID of the service account." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create an application key for this service account." }, { "info": { "name": "Datadog Get One Application Key for This Service Account", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys/:app_key_id", "params": [ { "name": "service_account_id", "value": "", "type": "path", "description": "The ID of the service account." }, { "name": "app_key_id", "value": "", "type": "path", "description": "The ID of the application key." } ] }, "docs": "Get an application key owned by this service account." }, { "info": { "name": "Datadog Edit an Application Key for This Service Account", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys/:app_key_id", "params": [ { "name": "service_account_id", "value": "", "type": "path", "description": "The ID of the service account." }, { "name": "app_key_id", "value": "", "type": "path", "description": "The ID of the application key." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Edit an application key owned by this service account." }, { "info": { "name": "Datadog Delete an Application Key for This Service Account", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys/:app_key_id", "params": [ { "name": "service_account_id", "value": "", "type": "path", "description": "The ID of the service account." }, { "name": "app_key_id", "value": "", "type": "path", "description": "The ID of the application key." } ] }, "docs": "Delete an application key owned by this service account." }, { "info": { "name": "Datadog Get Cost Across Multi-org Account", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/usage/cost_by_org", "params": [ { "name": "start_month", "value": "example_value", "type": "query", "description": "Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost beginning this month." }, { "name": "end_month", "value": "example_value", "type": "query", "description": "Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost ending this month." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get cost across multi-org account.\nCost by org data for a given month becomes available no later than the 16th of the following month.\n**Note:** This endpoint has been deprecated. Please use the new endpoint\n[`/historical_cost`](https://docs.datadoghq.com/api/latest/usage-metering/#get-historical-cost-across-your-account)\ninstead.\n\nThis endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/)." }, { "info": { "name": "Datadog Get Estimated Cost Across Your Account", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/usage/estimated_cost", "params": [ { "name": "view", "value": "example_value", "type": "query", "description": "String to specify whether cost is broken down at a parent-org level or at the sub-org level. Available views are `summary` and `sub-org`. Defaults to `summary`." }, { "name": "start_month", "value": "example_value", "type": "query", "description": "Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost beginning this month. **Either start_month or start_date should be specified, but not both.** (start_month cannot go beyond two months in the past). Provide an `end_month` to view month-over-month cost." }, { "name": "end_month", "value": "example_value", "type": "query", "description": "Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost ending this month." }, { "name": "start_date", "value": "2026-04-17T12:00:00Z", "type": "query", "description": "Datetime in ISO-8601 format, UTC, precise to day: `[YYYY-MM-DD]` for cost beginning this day. **Either start_month or start_date should be specified, but not both.** (start_date cannot go beyond two months in the past). Provide an `end_date` to view day-over-day cumulative cost." }, { "name": "end_date", "value": "2026-04-17T12:00:00Z", "type": "query", "description": "Datetime in ISO-8601 format, UTC, precise to day: `[YYYY-MM-DD]` for cost ending this day." }, { "name": "include_connected_accounts", "value": "true", "type": "query", "description": "Boolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults to `false`. " } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get estimated cost across multi-org and single root-org accounts.\nEstimated cost data is only available for the current month and previous month\nand is delayed by up to 72 hours from when it was incurred.\nTo access historical costs prior to this, use the `/historical_cost` endpoint.\n\nThis endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/)." }, { "info": { "name": "Datadog Get Historical Cost Across Your Account", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/usage/historical_cost", "params": [ { "name": "view", "value": "example_value", "type": "query", "description": "String to specify whether cost is broken down at a parent-org level or at the sub-org level. Available views are `summary` and `sub-org`. Defaults to `summary`." }, { "name": "start_month", "value": "example_value", "type": "query", "description": "Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost beginning this month." }, { "name": "end_month", "value": "example_value", "type": "query", "description": "Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost ending this month." }, { "name": "include_connected_accounts", "value": "true", "type": "query", "description": "Boolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults to `false`. " } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get historical cost across multi-org and single root-org accounts.\nCost data for a given month becomes available no later than the 16th of the following month.\n\nThis endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/)." }, { "info": { "name": "Datadog Get Projected Cost Across Your Account", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/usage/projected_cost", "params": [ { "name": "view", "value": "example_value", "type": "query", "description": "String to specify whether cost is broken down at a parent-org level or at the sub-org level. Available views are `summary` and `sub-org`. Defaults to `summary`." }, { "name": "include_connected_accounts", "value": "true", "type": "query", "description": "Boolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults to `false`. " } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Get projected cost across multi-org and single root-org accounts.\nProjected cost data is only available for the current month and becomes available around the 12th of the month.\n\nThis endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/)." } ] } ], "bundled": true }