Skip to content
looot docs
Esc
↑↓navigate↵open⌘Jpreview

Who am I

The current principal’s membership, organization, tool grants and machine sessions.

GET/v1/whoami
Authorization
AuthorizationBearer token · headerrequired
Responses
200

Organization, membership, active tool grants and active machine sessions; never includes a tokenHash

403

organizations:read scope required

404

No membership in the token's organization

503

Control plane unavailable

Try it
Server
Authorization
Request
curl -X GET "https://api.looot.ai/v1/whoami" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
Organization, membership, active tool grants and active machine sessions; never includes a tokenHash