Raff Apps

Month-to-date replica-hours and estimated charge per service.

get/api/v1/apps/usage

Request

  • Base URL
    https://api.rafftechnologies.com
  • URL
    https://api.rafftechnologies.com/api/v1/apps/usage
  • Auth
    API key in header X-API-Key

Query parameters

service_idstring

Scope to one app, by id or short id (omit for all apps). Apps deleted during the month are included, so their charges can still be read.

period'current' | 'previous'

current is this month so far, previous is last month.

Response

Usage and estimated charge

successboolean
total_estimated_cost_usdnumber
period_startstring date-time
period_endstring date-time

Changes

    • breaking

      the query request parameter period was restricted to a list of enum values

    • info

      added the new enum value current to the query request parameter period

    • info

      added the new enum value previous to the query request parameter period

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      endpoint added