Auth
Get authenticated principal
Returns the authenticated principal's project ID and auth method. For API-key-authenticated requests only project_id and auth are present. For session-authenticated requests user_id, email, provider, theme, and console are also included.
get/api/v1/me
Request
- Base URL: https://app.lastping.dev
- URL: https://app.lastping.dev/api/v1/me
- Auth: API key in header X-Api-Key
Response
Authenticated principal details.
Example response
{
"project_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"auth": "apikey",
"user_id": "d4c3b2a1-f6e5-0987-dcba-fe4321098765",
"email": "user@example.com",
"provider": "github",
"theme": "light",
"console": "spa",
"last_seen_at": "2026-09-12T10:00:00Z"
}Changes
No recorded changes to this operation across all 2 revisions of this API.