Retrieve the current user
GET /v1/users/me
This endpoint allows you to retrieve information about the currently authenticated user from the auth database. For organization membership, use the organizations endpoint instead. User and organization management is handled through Better Auth.
List user organizations
GET /v1/users/me/organizations
This endpoint allows you to retrieve all organizations the current user belongs to. Use this endpoint to discover available organizations, then use the X-Org-Id header to switch between them on subsequent requests.