GET
/
cost
/
breakdown
/
{subscription_id}
curl --request GET \
  --url https://api.cloud.flexprice.com/v1/cost/breakdown/{subscription_id} \
  --header 'x-api-key: <api-key>'
{
  "items": [
    {
      "cost": 123,
      "meter_id": "<string>",
      "meter_name": "<string>",
      "usage": 123
    }
  ],
  "total_cost": 123
}

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Path Parameters

subscription_id
string
required

Subscription ID

Query Parameters

start_time
string

Start time (RFC3339)

end_time
string

End time (RFC3339)

Response

200
application/json

OK

The response is of type object.