Get current user session information

Retrieves detailed information about the current authenticated user session, including project details, organization membership, and API key information if applicable. This endpoint is useful for verifying authentication status and retrieving contextual information about the authenticated user and their access privileges.

Headers

x-api-keystringRequired

Response

Session is valid and active. Returns detailed information about the authenticated user, their project, and organization.

org_memberobject

Information about the authenticated user

projectobjectOptional

Details of the current active project (null if accessing with org-level credentials)

api_keyobjectOptional

Details of the API key used for authentication (null if using session auth)