accounts

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

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.

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

Headers

authorizationstring nullable

Bearer hd_... from POST /v1/accounts or POST /v1/keys

Response

Successful Response

account_idstring required
creditsinteger required
key_prefixstring required
key_idstring required

the key making this call: "original" or a key id

labelstring nullable required
created_atstring required
scopesstring[] required

what the key making this call may do

credit_limitinteger nullable required

the most this key's runs may spend over its life; null is no cap

expires_atstring nullable required

when this key stops working; null is never

Example response

{
  "account_id": "8f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
  "created_at": "2026-09-23T10:00:00.000000+00:00",
  "credits": 437,
  "key_id": "original",
  "key_prefix": "hd_AbCdEfGh",
  "scopes": [
    "read",
    "write",
    "research",
    "admin"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.