# Every feature, whether it works here, and the limits.

> Every feature Koidog has, each with its status on this install (`built`, `experimental`, `planned`, or `blocked` with the reason and what fixes it), the operations that serve it and whether this credential may call each, and the install's limits: rate limits, page sizes, the idempotency window and the install's VM and budget caps.
> https://koi.dog/docs/api/meta/get-capabilities/

`GET /api/v1/capabilities` · Key: `any`

Read from the server's real state on each call. A client (the CLI, an MCP server) reads this to find out what exists before it calls anything.

## Response.

200 OK · JSON object

## Request.

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

```js
const res = await fetch("https://api.koi.dog/api/v1/capabilities", {
  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/capabilities",
    headers={
        "Authorization": f"Bearer {os.environ['KOIDOG_API_KEY']}",
    },
)
r.raise_for_status()
print(r.json())
```

## Response example.

```json
{
  "serverVersion": "string",
  "apiVersion": "v1",
  "credential": "session",
  "scopes": [],
  "features": [],
  "limits": {
    "rateLimitPerMinute": 0,
    "defaultKeyRateLimitPerMinute": 0,
    "maxKeyRateLimitPerMinute": 0,
    "maxEventStreamsPerKey": 0,
    "page": { … },
    "idempotency": { … },
    …
  }
}
```
