# Koidog's tool budgets, and their defaults.

> The limits in force (`crewUsd`, `monthlyUsd`, `callCeilingUsd`), whether a person set them (`set`; until then they are the defaults), and the defaults themselves: 1, 20 and 0.25 US dollars.
> https://koi.dog/docs/api/tools/get-tool-limits/

`GET /api/v1/tools/monid/limits` · Scope: `read`

Readable on a server that does not offer Monid too.

## Response.

200 OK · JSON object

## Request.

```sh
curl https://api.koi.dog/api/v1/tools/monid/limits \
    -H "Authorization: Bearer $KOIDOG_API_KEY"
```

```js
const res = await fetch("https://api.koi.dog/api/v1/tools/monid/limits", {
  headers: {
    Authorization: `Bearer ${process.env.KOIDOG_API_KEY}`,
  },
});
console.log(await res.json());
```

```python
import os

import requests

r = requests.get(
    "https://api.koi.dog/api/v1/tools/monid/limits",
    headers={
        "Authorization": f"Bearer {os.environ['KOIDOG_API_KEY']}",
    },
)
r.raise_for_status()
print(r.json())
```

## Response example.

```json
{
  "crewUsd": 0,
  "monthlyUsd": 0,
  "callCeilingUsd": 0,
  "set": false,
  "defaults": {
    "crewUsd": 0,
    "monthlyUsd": 0,
    "callCeilingUsd": 0
  }
}
```
