---
title: "Who am I, what is my balance, what may this key do"
method: GET
path: "/v1/me"
tags: ["accounts"]
---

# Who am I, what is my balance, what may this key do

`GET /v1/me`

## Request

- Base URL: `https://api.hookdetector.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hookdetector.com/v1/me`
- Auth: none declared

The account behind the key: account_id, credits (the balance right now),
key_prefix and key_id of the key making this call, label and created_at, and that
key's scopes, credit_limit and expires_at (null: no cap, never expires), and `user`:
the person signed in with Google who uses the account (null for a key-only account).
Needs read. Free. MCP: balance.

## Headers

- `authorization` string, nullable: Bearer hd_... from POST /v1/accounts or POST /v1/keys

## Response `200`

Successful Response

- MeOut
  - `account_id` string, required
  - `credits` integer, required
  - `key_prefix` string, required
  - `key_id` string, required: the key making this call: "original" or a key id
  - `label` string, nullable, required
  - `created_at` string, required
  - `scopes` string[], required: what the key making this call may do
  - `credit_limit` integer, nullable, required: the most this key's runs may spend over its life; null is no cap
  - `expires_at` string, nullable, required: when this key stops working; null is never
  - `user` SignedInUser
    - `email` string, required
    - `name` string, nullable, required
    - `avatar_url` string, nullable, required
    - `is_admin` boolean, required

## Other responses

- `401`: missing, invalid, revoked or expired API key (code key_expired)
- `403`: the key lacks the scope this call needs (insufficient_scope), or its credit_limit is spent (key_credit_limit_reached)
- `413`: request body over the size cap
- `422`: invalid input
- `500`: our fault; names the request id

---

[API](https://skmtc.dev/hookdetector/apis/hook-detector.md) · [All operations](https://skmtc.dev/hookdetector/apis/hook-detector/llms.txt) · [OpenAPI document](https://skmtc.dev/hookdetector/apis/hook-detector/revisions/b136a2804d2b?raw)
