Skip to main content

Get Cost & Usage

Retrieves cost and usage from your cloud accounts invoice.

Basic Parameters

ParameterDescription
Cost TypeType of cost to get the report for.
End DateEnd date of the cost and usage data examination.
Group ByThe group by value that will be used for the results.
Period Granularity LevelGranularity level of the period in the output data.
Start DateStart date of the cost and usage data examination.

Advanced Parameters

ParameterDescription
Account KeyWhich account key to use for authentication.

Must be used with a valid Division ID.

If not provided, will default to use the first Account Key and Division ID found.
Division IDWhich division ID to use for authentication.

Must be used with a valid Account Key.

If not provided, will default to use the first Account Key and Division ID found.

Example Output

[
{
"group_by": "undefined",
"usage_date": "2022-05",
"account_id": "932213950603",
"total_cost": 36564.952178,
"total_usage_quantity": 1096079113.54,
"resource_name": "",
"resource_id": ""
},
{
"group_by": "undefined",
"usage_date": "2022-06",
"account_id": "932213950603",
"total_cost": 41454.924133,
"total_usage_quantity": 1247146351.53,
"resource_name": "",
"resource_id": ""
}
]

Workflow Library Example

Get Cost and Usage with Anodot and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop