---
title: "Get the authenticated caller"
method: GET
path: "/v2/me"
tags: ["Account"]
---

# Get the authenticated caller

`GET /v2/me`

## Request

- Base URL: `https://api.apiframe.ai`
- URL: `https://api.apiframe.ai/v2/me`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Returns the user, their team (with credit balance + plan) and — when authenticated via API key — the key making the request. Useful for verifying credentials and rendering "logged-in as" headers.

## Response `200`

Caller information.

- Me: Authenticated caller — user, team and (when API-key auth is used) the key making the request.
  - `user` object, required
    - `id` string, uuid, required
    - `email` string, email, required
    - `role` union, required
      - 'ADMIN' | 'MEMBER' | 'OWNER'
      - string
  - `team` object, nullable, required
    - `id` string, uuid, required
    - `name` string, required
    - `credits` integer, required
    - `plan` string, required
    - `customerId` string, nullable, required
  - `apiKey` object, nullable, required
    - `id` string, uuid, required
    - `name` string, required
    - `prefix` string, required

## Other responses

- `401`: Authentication failed (missing / invalid API key).
- `403`: Authenticated but the API key is inactive or lacks permission.
- `429`: Rate limit exceeded. Retry after the `Retry-After` seconds.

---

[API](https://skmtc.dev/apiframe/apis/apiframe-api.md) · [All operations](https://skmtc.dev/apiframe/apis/apiframe-api/llms.txt) · [OpenAPI document](https://skmtc.dev/apiframe/apis/apiframe-api/revisions/ba1a4c26c86a?raw)
