Skip to main content

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

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unique-sdk 2026.48.1
File Size Uploaded Provenance Actions
unique_sdk-2026.48.1.tar.gz 235.4 kB Without provenance Details for unique_sdk-2026.48.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for unique-sdk 2026.48.1
File Interpreter ABI Platform Actions
unique_sdk-2026.48.1-py3-none-any.whl Python 3 none any Details for unique_sdk-2026.48.1-py3-none-any.whl

Total release size: 520.9 kB

Release files / unique_sdk-2026.48.1.tar.gz

Download URL unique_sdk-2026.48.1.tar.gz
Size 235.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0a9f7971b29226786dc8a4c391c5bb29379e01516b8cfa0ad0d08aae0ffdb09c
BLAKE2b-256 checksum
How to use checksums
9eeee40702431d5519d8dcd72bd9040d8c8dc21bfb1fc10e17c6fa1659a5d5e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.48.1-py3-none-any.whl

Download URL unique_sdk-2026.48.1-py3-none-any.whl
Size 285.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9b130d2017d19b66ddceff2598cafc825b6d0da9464120d04cb240505cbc9e8
BLAKE2b-256 checksum
How to use checksums
1cc385fb15a25c08631f06c4f9399469d2a12923c023fd6442754fc6ec9287a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for unique-sdk 2026.48.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2026.48.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page