Rivier/ Reference/ usage

The log of calls made with the project's keys, newest first

get/usage/requests

The log of calls made with the project's keys, newest first: operation, status, time taken, key, connection, idempotency key, the request id the answer carried (x-rivier-request-id) and the error's code; no bodies. Kept 30 days unless set otherwise. Filter by connection, key, status band or time; page back with before.

Before you call

Credential
Authorization: Bearer $KEY
Scope
usage:read
Graphql
Query.usageRequestsList
Sdk
usage.requests.list
Cli
usage requests list

Parameters

  • fromstring (date-time)
    In the query
  • beforestring (date-time)
    In the query
  • connectionstring (uuid)
    In the query
  • keystring
    In the query
  • statusstring
    In the query
  • directionstring
    In the query
  • limitinteger
    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