# Inbox message usage

`GET /messages/usage` · Rivier · inbox

Messages and billable units this period by channel and direction, for plan metering. Defaults to the current calendar month.

- Scope: inbox:read
- Graphql: Query.inboxMessageUsage
- Sdk: inbox.message.usage
- Cli: inbox message usage

## Parameters

- `since` (query), string
- `until` (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/messages/usage' \
  -H 'Authorization: Bearer $KEY'
```
