Rivier/ Reference/ usage

Usage as records

get/usage/records

Usage as records: one meter (a plan meter, or api_calls for the calls made with the project's keys) between two days, cut by one or two of day, connection (a platform's connected business), key and customer. A platform's calls and uses inside the businesses it brought are its own, marked with the connection.

Before you call

Credential
Authorization: Bearer $KEY
Scope
usage:read
Graphql
Query.usageRecordsList
Sdk
usage.records.list
Cli
usage records list

Parameters

  • meterstringrequired
    In the query
  • fromstringrequired
    In the query
  • tostringrequired
    In the query
  • bystring
    In the query

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown