View Resource Usage Cost for An Account

get

/metering/api/v1/usagecost/{accountId}

Retrieve details of resource usage cost for all subscriptions in a given account.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : AccountUsageCostRecord
Type: object
Title: AccountUsageCostRecord
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : UsageCostRecord
Type: object
Title: UsageCostRecord
Show Source
Nested Schema : costs
Type: array
Show Source
Nested Schema : dataCenterId
Type: object
Datacenter Id
Nested Schema : endTimeUtc
Type: object
End time of the interval for which cost is returned.
Nested Schema : lastComputationDate
Type: object
Time at which cost was synced from billing system.
Nested Schema : startTimeUtc
Type: object
Start time of the interval for which cost is returned.
Nested Schema : items
Type: array
Show Source
Nested Schema : UsageCost
Type: object
Title: UsageCost
Show Source

Default Response

Unexpected error.
Back to Top

Examples

These APIs are deprecated. See Cost Analysis Overview, Using the API for more information on how to track and optimize your Oracle Cloud Infrastructure spending. See the Deprecated Notices (Endpoints) to see if there is a replacement endpoint.

Back to Top