Skip to main content
GET
Get the current user's profile and membership in the current workspace.

Authorizations

klef.session
string
cookie
required

Cookie-based session. Obtain by completing the /auth/login/{provider} OAuth flow; the /auth/callback response sets the klef.session cookie that subsequent requests send automatically.

Response

OK

The envelope for a single-resource response: T? ApiResponse<T>.Result on success, otherwise null with one or more IReadOnlyList<ApiError> ApiResponse<T>.Errors.

result
null | object
required

The current user's profile plus their Role, Permissions, and Billing status in the current Workspace (all null/empty when there is no Workspace or the caller is not a member).

errors
object[]
required