# See which account this key acts as

> Returns the account the key belongs to, the organization it reaches if it is organization-wide, its access level, and the plan in force. Use it to confirm a key is live and to discover whether organization endpoints are available to it.

`GET https://api-notetaker.nabrah.ai/ext/v1/me`

Requires an API key in the `Authorization` header.

Returns the account the key belongs to, the organization it reaches if it is organization-wide, its access level, and the plan in force. Use it to confirm a key is live and to discover whether organization endpoints are available to it.

## Responses

- `200` — The account behind the key.
- `401` — No key, an unknown key, or one that has been revoked or has expired.
- `403` — The key is read only, or lacks the reach for this route.
- `404` — No such record — or one that belongs to another account.
- `422` — The body or query failed validation; `details` names the field.
- `429` — Too many requests. `Retry-After` says how long to wait.

### 200 example

```json
{
  "data": {
    "account": {
      "id": "00000000-0000-0000-0000-000000000000",
      "name": "string",
      "email": "you@example.com"
    },
    "organization": {
      "id": "00000000-0000-0000-0000-000000000000",
      "name": "string"
    },
    "key": {
      "id": "00000000-0000-0000-0000-000000000000",
      "access": "readonly",
      "organizationWide": true
    },
    "plan": {
      "key": "string",
      "paid": true
    }
  }
}
```

### 401 example

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": [
      {
        "path": "string",
        "message": "string"
      }
    ]
  }
}
```

### 403 example

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": [
      {
        "path": "string",
        "message": "string"
      }
    ]
  }
}
```

### 404 example

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": [
      {
        "path": "string",
        "message": "string"
      }
    ]
  }
}
```

### 422 example

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": [
      {
        "path": "string",
        "message": "string"
      }
    ]
  }
}
```

### 429 example

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": [
      {
        "path": "string",
        "message": "string"
      }
    ]
  }
}
```
