# Me

`GET https://api.search.brave.com/admin/v1/me`

The admin key making the request: its scopes, expiry and organization.

## Headers

| Name | Location | Type | Required | Constraints | Description |
|------|----------|------|----------|-------------|-------------|
| `authorization` | header | string | No |  | `Bearer <admin key>`. |
| `x-admin-key` | header | string | No |  | The admin key, if you can't send `Authorization`. |
| `api-version` | header | string | No |  | Pins the response format, one of 2026-11-12. |

## Responses

### 200
Successful Response

| Field | Type | Constraints | Description |
|-------|------|-------------|-------------|
| `object` | string? | `admin_key`; default `admin_key` |  |
| `id` | string |  |  |
| `name` | string |  |  |
| `scopes` | string[] |  |  |
| `status` | string | `active`, `inactive`, `deactivated`, `deleted`, `expired` |  |
| `expires_at` | string? |  |  |
| `organization` | AdminKeyOrganization |  |  |
| `organization.name` | string |  |  |

#### Example

```json
{
  "object": "admin_key",
  "id": "<string>",
  "name": "<string>",
  "scopes": [
    "<string>"
  ],
  "status": "active",
  "expires_at": "2023-11-07T05:31:56Z",
  "organization": {
    "name": "<string>"
  }
}
```

## Errors

| Status | Error code | Detail |
|--------|------------|--------|
| 401 | `ADMIN_KEY_INVALID` | Missing, invalid, paused, deactivated, deleted or expired admin key. Admin keys start with bsk_admin_; search API keys don't work here. |
| 403 | `ADMIN_KEY_SCOPE_MISSING` | This admin key doesn't have the scope this endpoint needs. |
| 404 | `API_VERSION_NOT_FOUND` | The requested product api version is not found. |
| 422 | `VALIDATION` | Unable to validate request parameter(s). |
| 429 | `ADMIN_RATE_LIMITED` | Admin API rate limit exceeded for this organization. Usage updates every 5 minutes or so; poll at most that often. |
| 503 | `ADMIN_OVERLOADED` | The Admin API is busy. Retry after the number of seconds in Retry-After. |

Body: `AdminErrorResponse` (see [Schemas](#schemas)).

## Schemas

Types named in the tables above that are not expanded inline. Field paths are relative to the type.

### AdminErrorResponse

| Field | Type | Constraints | Description |
|-------|------|-------------|-------------|
| `type` | string? | default `ErrorResponse` | Always `ErrorResponse`. |
| `error` | AdminErrorModel |  |  |
| `error.id` | string |  | A unique identifier for this particular occurrence of the problem. |
| `error.status` | int |  | The HTTP status code applicable to this problem. |
| `error.detail` | string? |  | Explanation specific to this occurrence of the problem. Like title, this field's value can be localized. |
| `error.meta` | object? |  | A meta object containing non-standard meta-information about the error. |
| `error.code` | string | `VALIDATION`, `INVALID_TIME_RANGE`, `API_VERSION_NOT_FOUND`, `ADMIN_KEY_INVALID`, `ADMIN_KEY_SCOPE_MISSING`, `ADMIN_RATE_LIMITED`, `ADMIN_OVERLOADED` | An Admin API error code, such as `ADMIN_KEY_INVALID` or `ADMIN_RATE_LIMITED`. |
| `time` | int? | default `0` | Unix time in seconds when the error occurred. |