Skip to main content

Get monthly usage

GET 

/v2/users/me/usage/monthly

Returns a complete summary of your usage for the current monthly usage cycle, an overall sum, as well as a daily breakdown of usage. It is the same information you will see on your account's Billing > Historical usage page. The information includes your use of Actors, compute, data transfer, and storage.

Using the date parameter will show your usage in the monthly usage cycle that includes that date.

Request

Query Parameters

    date string

    Date in the YYYY-MM-DD format.


    Example: 2020-06-14

Status 200

Response Headers
    {
    "data": {
    "usageCycle": {
    "startAt": "2022-10-02T00:00:00.000Z",
    "endAt": "2022-11-01T23:59:59.999Z"
    },
    "monthlyServiceUsage": {},
    "dailyServiceUsages": [
    {
    "date": "2022-10-02T00:00:00.000Z",
    "serviceUsage": {
    "ACTOR_COMPUTE_UNITS": {
    "quantity": 60,
    "baseAmountUsd": 0.00030000000000000003,
    "baseUnitPriceUsd": 0.000005,
    "amountAfterVolumeDiscountUsd": 0.00030000000000000003,
    "priceTiers": []
    }
    },
    "totalUsageCreditsUsd": 0.0474385791970591
    }
    ],
    "totalUsageCreditsUsdBeforeVolumeDiscount": 0.786143673840067,
    "totalUsageCreditsUsdAfterVolumeDiscount": 0.786143673840067
    }
    }