Skip to main content
GET
/
v1
/
whoami
Identify the authenticated principal
curl --request GET \
  --url https://api.verlon.ai/v1/whoami \
  --header 'Authorization: Bearer <token>'
{
  "userId": "<string>",
  "email": "<string>",
  "apiKeyId": "<string>"
}

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

Authorization
string
header
required

Layer API key (prefixed sk-). Generated from the dashboard under Settings → API Keys, or via layer key create in the CLI.

Response

Identity snapshot for the authenticated principal.

userId
string
required
email
string
required
tier
enum<string>
required
Available options:
free,
starter,
growth,
scale,
custom
authMode
enum<string>
required
Available options:
api_key,
session
apiKeyId
string | null
required