API User Profile

Get the authenticated API user's profile via GET /v1/me.

1 min read
Share

Use this endpoint to verify which user account a key is mapped to and confirm plan access.

Authentication required

GET /v1/me requires API key authentication (Authorization: Bearer vrd_... or X-Api-Key: vrd_...).

GET /v1/me

GET/v1/me

Return the authenticated user's profile fields for the current API key context.

Example Request

bash
curl https://api.askverdict.ai/v1/me \
  -H "Authorization: Bearer vrd_your_api_key"

Response

Response Fields

NameTypeRequiredDescription
idstringRequiredUser ID for the authenticated account.
namestringRequiredDisplay name for the user.
emailstringRequiredPrimary email address.
plan"free" | "byok" | "byok_pro"RequiredCurrent billing plan tied to this account.
createdAtstring (ISO 8601)RequiredAccount creation timestamp.

Error Responses

StatusCodeDescription
401UNAUTHORIZEDMissing, malformed, or invalid API key
429RATE_LIMITEDPer-key request limit exceeded

Was this page helpful?