{ "opencollection": "1.0.0", "info": { "name": "Datadog Account Historical API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "items": [ { "info": { "name": "Historical", "type": "folder" }, "items": [ { "info": { "name": "Datadog List Historical Jobs", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/siem-historical-detections/jobs", "params": [ { "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": "status", "type": "query", "description": "The order of the jobs in results." }, { "name": "filter[query]", "value": "security:attack status:high", "type": "query", "description": "Query used to filter items from the fetched list." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "List historical jobs." }, { "info": { "name": "Datadog Run a Historical Job", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/siem-historical-detections/jobs", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Run a historical job." }, { "info": { "name": "Datadog Cancel a Historical Job", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/siem-historical-detections/jobs/:job_id/cancel", "params": [ { "name": "job_id", "value": "", "type": "path", "description": "The ID of the job." } ], "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Cancel a historical job." }, { "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/)." } ] } ], "bundled": true }