Skip to main content

Installation

Install the SDK via Poetry or pip:

Initialize Client

Create a client instance with your API key and project ID:
All datetime objects returned by the SDK are in UTC timezone.

Parameters

api_key
string
required
Your RecallrAI API key. Must start with rai_.
project_id
string
required
Your project UUID from the RecallrAI dashboard.
base_url
string
Custom API endpoint. Default: https://api.recallrai.com
timeout
integer
Request timeout in seconds. Default: 60

Async Support

The SDK provides full async/await support for all operations. Use AsyncRecallrAI, AsyncUser, and AsyncSession for async applications:
All async classes have the same API as their sync counterparts - just add await before method calls.
When user and session IDs are already trusted in your system, you can skip SDK lookup calls by setting validate=False on get_user() and get_session().