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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unique_sdk-2026.34.0.tar.gz (202.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unique_sdk-2026.34.0-py3-none-any.whl (250.2 kB view details)

Uploaded Python 3

File details

Details for the file unique_sdk-2026.34.0.tar.gz.

File metadata

  • Download URL: unique_sdk-2026.34.0.tar.gz
  • Upload date:
  • Size: 202.4 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for unique_sdk-2026.34.0.tar.gz
Algorithm Hash digest
SHA256 b5e0cba1c4b888f190927ed6e9a3e23e90ac97ae9df7c5e227db9642f1b45734
MD5 a4350e5844388710ad621086e2acf259
BLAKE2b-256 2a6cddd956479697cf3f2ecf4014a099782e95c931376adfbeb65e0076466a96

See more details on using hashes here.

File details

Details for the file unique_sdk-2026.34.0-py3-none-any.whl.

File metadata

  • Download URL: unique_sdk-2026.34.0-py3-none-any.whl
  • Upload date:
  • Size: 250.2 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for unique_sdk-2026.34.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c328120388d2b2112d9077ddcd6e74d5c1b90461bf9280ff8252059aa913bb6
MD5 de9011765f7934a5837b267c62a28dd8
BLAKE2b-256 e959cd15af934bb0000fef7dfd9885c191ab0a6ea058fa91495b132b12494d9a

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page