> ## 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.

# Overview

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:

* 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](https://docs.redbrickai.com/projects/taxonomies#html-tooltips), [Series and/or Task Level Metadata](https://docs.redbrickai.com/python-sdk/formats/full-format-reference#items-list-and-tasks.json), or [Taxonomy Nesting](https://docs.redbrickai.com/projects/taxonomies#nested-taxonomies);

For simple data import and annotation export, we [recommend you use the CLI](/python-sdk/cli-overview/home), which has a simple interface with optimizations for basic use cases.

<Card href="/python-sdk/cli-overview/home">CLI Overview</Card>

This SDK documentation is intended to cover high-level guides and use cases. If you are interested in more detailed documentation of the SDK interface, [please visit the full SDK reference documentation](https://sdk.redbrickai.com/).

## **Initializing the RedBrick SDK in Python**

Nearly all operations with the SDK are performed on either the [Project](https://sdk.redbrickai.com/sdk.html#redbrick.project.RBProject) or [Organization](https://sdk.redbrickai.com/sdk.html#redbrick.organization.RBOrganization) objects. You can instantiate these objects using your [API Key, Org ID, and Project ID](/python-sdk/installation-and-api-keys).

```python theme={null}
import redbrick

project = redbrick.get_project(
    org_id="...",
    project_id="...",
    api_key="...",
)
organization = redbrick.get_org(
    org_id="...",
    api_key="...",
)
```

<Note>
  Both [redbrick.get\_project](https://sdk.redbrickai.com/sdk.html#redbrick.get_project) and
  [redbrick.get\_org](https://sdk.redbrickai.com/sdk.html#redbrick.get_org) take an optional `url`
  argument that defaults to [https://api.redbrickai.com](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.
</Note>
