Get cost for a service

Gets the cost for the service specified by the costId, time period and resolution.

For production services the cost should be negative.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length ≥ 1

The unique Id of the account.

string
required
length ≥ 1

The id of the cost.

Query Params
date-time
required
length ≥ 19
^(-?(?:[1-9][0-9]*)?[0-9]{4})(-(1[0-2]|0[1-9]))?(-(3[01]|0[1-9]|[12][0-9]))?(T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])((.[0-9]+)?|([+-](2[0-3]|[01][0-9]):([0-5][0-9]))))?(Z)?$

End of the date range (exclusive).

date-time
required
length ≥ 19
^(-?(?:[1-9][0-9]*)?[0-9]{4})(-(1[0-2]|0[1-9]))?(-(3[01]|0[1-9]|[12][0-9]))?(T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])((.[0-9]+)?|([+-](2[0-3]|[01][0-9]):([0-5][0-9]))))?(Z)?$

Start of the date range (inclusive).

string
enum
required
length ≥ 1

The resolution for the data.

Allowed:
Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json