read
billing

Credits this store used, grouped. group_by 'purpose' (default): this credit window, by what spent them. 'month': the las

Changed on

Credits this store used, grouped. group_by 'purpose' (default): this credit window, by what spent them. 'month': the last six billing months, used and added. 'credential': which app or key spent them is not recorded, so the answer is null with reason 'not_attributed' — never a zero.

post/api/v1/tools/billing_usage

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopesbilling:read

Request body

object required
group_by, 'purpose' | 'month' | 'credential'

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision