Identify the authenticated principal
Use when: caller wants a minimal “who am I” snapshot — typically a CLI / agent confirming the API key it loaded resolves to the expected Layer account and tier
Returns the authenticated user’s id, email, tier, and the auth mode that resolved the request (api_key or session). When the auth mode is api_key, also returns apiKeyId so the caller can identify which of their keys was used. No PII beyond the email; intentionally a smaller surface than /v1/user (dashboard-only). Accepts both API key and session auth.
Documentation Index
Fetch the complete documentation index at: https://docs.verlon.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Layer API key (prefixed sk-). Generated from the dashboard under Settings → API Keys, or via layer key create in the CLI.