Unique Python SDK
The official Python SDK for the Unique AI Platform. Provides API resources for search, content management, chat completions, folder operations, webhooks, and more — plus an interactive CLI file explorer.
Installation
pip install unique-sdk
Or with uv:
uv pip install unique-sdk
Quick Start
import unique_sdk
unique_sdk.api_key = "ukey_..."
unique_sdk.app_id = "app_..."
results = unique_sdk.Search.create(
user_id="user_123",
company_id="company_456",
searchString="quarterly report",
searchType="COMBINED",
limit=10,
)
CLI (Experimental)
The SDK ships with unique-cli, a Linux-like file explorer for the Unique knowledge base:
# Set required env vars
export UNIQUE_API_KEY="ukey_..."
export UNIQUE_APP_ID="app_..."
export UNIQUE_USER_ID="user_..."
export UNIQUE_COMPANY_ID="company_..."
# Interactive shell
unique-cli
# One-shot commands
unique-cli ls /Reports
unique-cli search "revenue growth" --limit 50
unique-cli upload ./report.pdf
Documentation
Visit https://unique-ag.github.io/ai/unique-sdk/ for the full documentation.
Metadata
Release files for unique-sdk 2026.42.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| unique_sdk-2026.42.1.tar.gz | 212.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unique_sdk-2026.42.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 474.1 kB
Release files / unique_sdk-2026.42.1.tar.gz
| Download URL | unique_sdk-2026.42.1.tar.gz |
|---|---|
| Size | 212.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9217296e83fe4006e245c9c08bd484fa4e092f4d88a80f1a8f7d0e0a2d9c6d8c
|
|
BLAKE2b-256 checksum How to use checksums |
93692d264046f1f2ba259b05d4d276035f7a0f63b97e953bc76a9bd9dc84867f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / unique_sdk-2026.42.1-py3-none-any.whl
| Download URL | unique_sdk-2026.42.1-py3-none-any.whl |
|---|---|
| Size | 261.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4f020627425a657501fb36c7f50d0ea6ceefa276f6950a5180ded121909fbc3
|
|
BLAKE2b-256 checksum How to use checksums |
f74b16cf37bfd35b03e074e3eaaa1cd9357f37be8c0007787615ecad02f17682
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|