> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rankraft.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Describe the calling key

> GET /v1/me

The key's name, access and expiry, its organization and plan, and the rate limits that apply to it. Useful as a connection test.

## Response

**data** `object`

**properties**

**key** `object`

**properties**

**id** `string`

**name** `string`

**permission** `enum\<string\>`

One of: `read`, `write`.

**expires\_at** `string`

**organization** `object`

**properties**

**id** `string`

**name** `string`

**plan** `string`

**rate\_limits** `object`

**properties**

**requests\_per\_minute** `number`

**writes\_per\_minute** `number`

```bash cURL theme={"system"}
curl https://api.rankraft.ai/v1/me \
  -H "X-API-Key: $RANKRAFT_API_KEY"
```

```javascript JavaScript theme={"system"}
// npm install rankraft-js · https://www.npmjs.com/package/rankraft-js
import { RankRaft } from "rankraft-js";

const rr = new RankRaft(); // reads RANKRAFT_API_KEY

const me = await rr.me();
console.log(me.organization.plan, me.key.permission);
```

```python Python theme={"system"}
# pip install rankraft-py · https://pypi.org/project/rankraft-py/
from rankraft import RankRaft

with RankRaft() as rr:  # reads RANKRAFT_API_KEY
    me = rr.me()
    print(me["organization"]["plan"], me["key"]["permission"])
```

```json 200 theme={"system"}
{
  "data": {
    "key": {
      "id": "5af3…",
      "name": "Data warehouse sync",
      "permission": "read",
      "expires_at": "2027-01-14T10:00:00.000Z"
    },
    "organization": {
      "id": "org_…",
      "name": "Misali Foods",
      "plan": "enterprise"
    },
    "rate_limits": {
      "requests_per_minute": 120,
      "writes_per_minute": 20
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.