# Whether a send or call of this size fits right now, without using anything

`POST /usage/limits/check` · Rivier · usage

Whether a send or call of this size fits right now, without using anything. When it does not, the plain reason and the next step. Ask before a large send.

- Scope: usage:read
- Mcp: rivier_usage_limit_check
- Graphql: Query.usageLimitCheck
- Sdk: usage.limit.check
- Cli: usage limit check

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "meter": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "qty": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000,
      "default": 1
    }
  },
  "required": [
    "meter"
  ],
  "additionalProperties": false
}
```

## 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 POST 'https://api.rivier.ai/usage/limits/check' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "meter": "string"
}'
```
