LettaAPI.Api.Auth (letta_api v1.0.0)

API calls for all endpoints tagged Auth.

Summary

Functions

Authenticate User Authenticates the user and sends response with User related data. Currently, this is a placeholder that simply returns a UUID placeholder

Functions

authenticate_user_v1_auth_post(connection, auth_request, opts \\ [])

@spec authenticate_user_v1_auth_post(
  Tesla.Env.client(),
  LettaAPI.Model.AuthRequest.t(),
  keyword()
) ::
  {:ok, LettaAPI.Model.AuthResponse.t()}
  | {:ok, LettaAPI.Model.HttpValidationError.t()}
  | {:error, Tesla.Env.t()}

Authenticate User Authenticates the user and sends response with User related data. Currently, this is a placeholder that simply returns a UUID placeholder

Parameters

  • connection (LettaAPI.Connection): Connection to server
  • auth_request (AuthRequest):
  • opts (keyword): Optional parameters

Returns

  • {:ok, LettaAPI.Model.AuthResponse.t} on success
  • {:error, Tesla.Env.t} on failure