Skip to main content
Glama

Datadog MCP Server

by brukhabtu
  • Apple
  • Linux

GetCostByOrg

Retrieve cross-organization cost data for a specified month range within multi-org accounts using ISO-8601 formatted dates. Accessible only for parent-level organizations to analyze historical chargeback summaries.

Instructions

Get cost across multi-org account. Cost by org data for a given month becomes available no later than the 16th of the following month. Note: This endpoint has been deprecated. Please use the new endpoint /historical_cost instead.

This endpoint is only accessible for parent-level organizations.

Query Parameters:

  • start_month (Required): Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM] for cost beginning this month.
  • end_month: Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM] for cost ending this month.

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_monthNoDatetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost ending this month.
start_monthYesDatetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost beginning this month.

Input Schema (JSON Schema)

{ "properties": { "end_month": { "description": "Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost ending this month.", "format": "date-time", "type": "string" }, "start_month": { "description": "Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost beginning this month.", "format": "date-time", "type": "string" } }, "required": [ "start_month" ], "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