A lightweight client SDK that connects your AI pipeline to our classification infrastructure. No model hosting on your side.
Get up and running with DBA in three steps.
pip install dba-clientSee SDK documentation for integration examples. Contact info@cornerstone-innovations.com to request API access and full SDK documentation.
See SDK documentation for integration examples. The classify API returns a structured verdict with classification result, reason, category, and confidence score.
Drop-in middleware for popular AI frameworks.
Framework integrations are available for LangChain, CrewAI, AutoGen, and LlamaIndex. Each integration provides drop-in middleware that wraps your existing pipeline with DBA classification. See SDK documentation for integration examples. Request access to receive full documentation and code samples.
Core endpoints for direct REST integration.
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/classify | Classify a prompt for safety |
POST | /v1/classify/batch | Batch classification (up to 100) |
GET | /v1/policies | List active safety policies |
PUT | /v1/policies/{id} | Update a policy rule |
GET | /v1/usage | Current billing period usage |
GET | /v1/health | Service health check |
Full API documentation including request/response schemas, error codes, and rate limits is available in our developer portal. Request access
How the client SDK interacts with DBA infrastructure.
The DBA client SDK is intentionally thin. It handles authentication, request serialization, and response parsing. All classification intelligence runs on Cornerstone infrastructure. This means:
Your Application
|
v
DBA Client SDK (runs in your environment, ~2MB)
|
v HTTPS / gRPC
DBA Classification API (runs on Cornerstone infrastructure)
|
v
Safety Verdict (safe / blocked + reason + confidence)
|
v
Your Application (proceeds or handles block)No sensitive model weights leave our infrastructure. Your prompts are classified in real time and purged after processing. We never store prompt content beyond the classification window.