Private beta — SDK packages ship alongside API GA. Use REST examples below until your language SDK is published to the registry.

Install. Authenticate.
Detect.

Client libraries for the ozDNA gateway — same POST /v1/detect contract documented in the API reference. Sandbox keys use api.sandbox.ozdna.com.

Python

Sync client with typed responses. Requires Python 3.9+.

Install
pip install ozdna
Quick start
import os
from ozdna import OzDNA

client = OzDNA(
    api_key=os.environ["OZDNA_API_KEY"],
    base_url="https://api.sandbox.ozdna.com",  # sandbox
)

result = client.detect(
    text="This methodology applies a mixed-methods approach...",
    mode="academic",
    language="en",
)

print(result.ai_probability)   # 0.0 – 1.0
print(result.request_id)     # X-Request-Id for support
Async
from ozdna import AsyncOzDNA

async with AsyncOzDNA(api_key="ozdna_sk_test_...") as client:
    result = await client.detect(text="Sample thesis excerpt...", mode="academic")

Package registry publish — Q3 2026. Until then use the requests example in API docs.

Need an API key?

Sandbox credentials ship with early access. Production keys require invite approval.