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:
- Content-Type:
- 400: Bad Request
- Content-Type:
application/json;datetime-format=rfc3339
- Response Properties:
- errors: A list of errors.
- Example:
- Content-Type:
- 403: Forbidden - User is not authorized
- Content-Type:
application/json;datetime-format=rfc3339
- Response Properties:
- errors: A list of errors.
- Example:
- Content-Type:
- 429: Too many requests
- Content-Type:
application/json;datetime-format=rfc3339
- Response Properties:
- errors: A list of errors.
- Example:
- Content-Type:
Input Schema
Name | Required | Description | Default |
---|---|---|---|
end_month | No | Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost ending this month. | |
start_month | Yes | Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for cost beginning this month. |