# Usage as records

`GET /usage/records` · Rivier · usage

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.

- Scope: usage:read
- Graphql: Query.usageRecordsList
- Sdk: usage.records.list
- Cli: usage records list

## Parameters

- `meter` (query, required), string
- `from` (query, required), string
- `to` (query, required), string
- `by` (query), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X GET 'https://api.rivier.ai/usage/records' \
  -H 'Authorization: Bearer $KEY'
```
