Skip to main content
Glama

Datadog MCP Server

by brukhabtu
  • Apple
  • Linux

GetEstimatedCostByOrg

Retrieve estimated costs for multi-org and single root-org accounts within Datadog. Access current and previous month costs, broken down by parent-org or sub-org levels, with up to 72-hour delay. Use query parameters for custom date ranges or include connected accounts.

Instructions

Get estimated cost across multi-org and single root-org accounts. Estimated cost data is only available for the current month and previous month and is delayed by up to 72 hours from when it was incurred. To access historical costs prior to this, use the /historical_cost endpoint.

This endpoint is only accessible for parent-level organizations.

Query Parameters:

  • view: 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.
  • start_month: 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.
  • end_month: Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM] for cost ending this month.
  • start_date: 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.
  • end_date: Datetime in ISO-8601 format, UTC, precise to day: [YYYY-MM-DD] for cost ending this day.
  • include_connected_accounts: Boolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults to false.

Responses:

  • 200 (Success): OK
    • Content-Type: application/json;datetime-format=rfc3339
    • Response Properties:
      • data: Response containing Chargeback Summary.
    • Example:
{ "data": [ "unknown_type" ] }
  • 400: Bad Request
    • Content-Type: application/json;datetime-format=rfc3339
    • Response Properties:
      • errors: A list of errors.
    • Example:
{ "errors": [ "Bad Request" ] }
  • 403: Forbidden - User is not authorized
    • Content-Type: application/json;datetime-format=rfc3339
    • Response Properties:
      • errors: A list of errors.
    • Example:
{ "errors": [ "Bad Request" ] }
  • 429: Too many requests
    • Content-Type: application/json;datetime-format=rfc3339
    • Response Properties:
      • errors: A list of errors.
    • Example:
{ "errors": [ "Bad Request" ] }

Input Schema

NameRequiredDescriptionDefault
end_dateNoDatetime in ISO-8601 format, UTC, precise to day: `[YYYY-MM-DD]` for cost ending this day.
end_monthNoDatetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost ending this month.
include_connected_accountsNoBoolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults to `false`.
start_dateNoDatetime 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.
start_monthNoDatetime 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.
viewNoString 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`.

Input Schema (JSON Schema)

{ "properties": { "end_date": { "description": "Datetime in ISO-8601 format, UTC, precise to day: `[YYYY-MM-DD]` for cost ending this day.", "format": "date-time", "type": "string" }, "end_month": { "description": "Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost ending this month.", "format": "date-time", "type": "string" }, "include_connected_accounts": { "default": false, "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`. ", "type": "boolean" }, "start_date": { "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.", "format": "date-time", "type": "string" }, "start_month": { "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.", "format": "date-time", "type": "string" }, "view": { "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`.", "type": "string" } }, "required": [], "type": "object" }

You must be authenticated.

Other Tools from Datadog MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/brukhabtu/datadog-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server