Home
Portal Docs Pricing
PostureIQ Blog About Us Contact
SDK Documentation

Integrate DBA in Minutes

A lightweight client SDK that connects your AI pipeline to our classification infrastructure. No model hosting on your side.

Python
Stable
LangChain
Stable
CrewAI
Stable
AutoGen
Beta
LlamaIndex
Beta

Quick Start

Get up and running with DBA in three steps.

1. Install the SDK

pip install dba-client

2. Initialize the Client

See SDK documentation for integration examples. Contact info@cornerstone-innovations.com to request API access and full SDK documentation.

3. Classify a Prompt

See SDK documentation for integration examples. The classify API returns a structured verdict with classification result, reason, category, and confidence score.

Framework Integrations

Drop-in middleware for popular AI frameworks.

LangChain, CrewAI, AutoGen, LlamaIndex

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.

API Reference

Core endpoints for direct REST integration.

MethodEndpointDescription
POST/v1/classifyClassify a prompt for safety
POST/v1/classify/batchBatch classification (up to 100)
GET/v1/policiesList active safety policies
PUT/v1/policies/{id}Update a policy rule
GET/v1/usageCurrent billing period usage
GET/v1/healthService health check

Full API documentation including request/response schemas, error codes, and rate limits is available in our developer portal. Request access

Architecture Overview

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.

Ready to integrate?

Get your API key and start classifying in minutes.

Get API Access