The RedBrick AI Python SDK is a Python package that allows you to interact with the RedBrick AI application programmatically. We recommend you use the Python SDK if you want to: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.
- Build data pipelines with Python and want to integrate your RedBrick AI annotation;
- Write advanced scripts beyond simple import & export;
- Take advantage of certain features such as HTML Tooltips, Series and/or Task Level Metadata, or Taxonomy Nesting;
CLI Overview
Initializing the RedBrick SDK in Python
Nearly all operations with the SDK are performed on either the Project or Organization objects.Browser-Based Login (Recommended)
Browser-based login is the recommended authentication method. It is more secure than API keys and supports single sign-on (SSO).API Key Authentication
You can also authenticate using an API key. Note that API keys will be sunset in favor of service accounts in a future release. You will see a warning when using API key authentication.Both redbrick.get_project and
redbrick.get_org take an optional
url
argument that defaults to https://api.redbrickai.com. If you are using a private/single-tenant
deployment of RedBrick AI, this will need to be changed for your deployment - reach out to us for
confirmation of what your case-specific URL needs to be.