Overview
TheRecallrAI client is the entry point for all SDK operations. It manages authentication and provides methods for user management.
Initialization
Methods
create_user()
Create a new user in your project.Unique identifier for the user. Must be unique within your project.
Optional metadata to associate with the user. Can contain any JSON-serializable data.
User object
Raises: UserAlreadyExistsError if user_id already exists
get_user()
Retrieve an existing user by ID.The ID of the user to retrieve.
Whether to validate user existence via API before creating the instance. Set
False only when user_id is already trusted.User object
Raises: UserNotFoundError if user doesn’t exist
When
validate=False, fields that require an API lookup (for example created_at, last_active_at, and metadata) are set to UNAVAILABLE until you call refresh().
Import UNAVAILABLE from recallrai.models when checking these values.list_users()
List all users in your project with optional filtering and pagination.Number of users to skip. Default:
0Maximum number of users to return. Default:
10Filter users by metadata fields. Only users matching all specified fields are returned.
UserList object with:
users: List ofUserobjectstotal: Total number of users matching the filterhas_more: Boolean indicating if more results are available
Async Client
For async applications, useAsyncRecallrAI:

