Current user

Get Current User

get

Returns the model of the authenticated user.

Args: auth_context: The authentication context.

Returns: The model of the authenticated user.

Authorizations
OAuth2passwordRequired
Token URL:
Responses
chevron-right
200

Successful Response

application/json

Response model for user and service accounts.

This returns the activation_token that is required for the user-invitation-flow of the frontend. The email is returned optionally as well for use by the analytics on the client-side.

bodyany ofOptional
or
nullOptional
metadataany ofOptional
or
nullOptional
resourcesany ofOptional
or
nullOptional
idstring · uuidRequired
permission_deniedbooleanOptionalDefault: false
namestring · max: 255Required
get
/api/v1/current-user
ZenML Scarf

Last updated

Was this helpful?