Billing

List Usage For Month

Changed on

Get paginated list of usage entries for a specific month.

Authenticate with either a Cognito JWT or an sk-… API key.

Parameters:

  • year: Year
  • month: Month (1-12)
  • limit: Maximum number of items to return (1-∞)
  • offset: Number of items to skip

Returns newest entries first.

get/api/v1/billing/usage/month

Request

  • The document declares no server URL.
  • Auth
    • OAuth 2
      Authorization codehttps://auth.mor.org/oauth2/authorize
      Token URLhttps://auth.mor.org/oauth2/token
      Scopesaws.cognito.signin.user.admin, openid, email, profile
    • or HTTP bearer

Query parameters

yearinteger required

Year

monthinteger required

Month (1-12)

limitinteger
offsetinteger

Response

Successful Response

totalinteger required
limitinteger required
offsetinteger required
has_moreboolean required

Changes