Overview
TheRecallrAI client is the entry point for all SDK operations. It manages authentication and provides methods for user management.
Initialization
Methods
createUser()
string
required
Unique identifier for the user. Must be unique within your project.
object
Optional metadata to associate with the user.
User
Raises: UserAlreadyExistsError
getUser()
string
required
The ID of the user to retrieve.
boolean
default:"true"
Whether to validate user existence via API before creating the instance. Set
false only when userId is already trusted.User
Raises: UserNotFoundError
When
{ validate: false } is used, fields that require an API lookup (for example createdAt, lastActiveAt, and metadata) are set to UNAVAILABLE until you call refresh().
Import UNAVAILABLE from recallrai when checking these values.listUsers()
number
Number of users to skip. Default:
0number
Maximum number of users to return. Default:
10object
Filter users by metadata fields.
UserList with users, total, and hasMore.
