Documentation Index
Fetch the complete documentation index at: https://docs.redbrickai.com/llms.txt
Use this file to discover all available pages before exploring further.
Installation
The RedBrick AI SDK and CLI are available on PyPI and can be installed usingpip. The SDK and CLI are packaged together.
The SDK and CLI work on Mac, Windows, and Linux.
Authentication
Browser-Based Login (Recommended)
Browser-based login is the recommended way to authenticate with the SDK and CLI. It is more secure than API keys and supports single sign-on (SSO). To authenticate via browser with the SDK, callredbrick.login() in your Python script. This opens your browser to complete authentication, after which you can use redbrick.get_org() and redbrick.get_project() without an api_key argument.
To authenticate via browser with the CLI, run:
API keys will be sunset in favor of service accounts in a future release. We recommend migrating to browser-based login.
API Keys
If you prefer to use API keys, you can generate one from the dashboard. To do so:- Click on Integrations (or use the “i” shortcut)
- Click on API Keys (or use the “2” shortcut)
- In the top right corner, click on Create API Key
- In the pop-up field, give your API key a name


Organization and Project IDs
For most SDK / CLI operations, you will need your Organization and/or Project ids. These are unique ids for each entity. You can find both the Organization and Project ID inside the Settings Page of any Project. You can also find the Organization and Project IDs within the browser URL -> navigate to any project - https://app.redbrickai.com/$org_id/projects/$project_id.
