API & SDK Integration
A simple REST API that fits into any architecture. Two endpoints, API key auth, and sub-50ms latency. Integrate in under an hour.
Key Capabilities
Two Core Endpoints
POST /v1/tokenize and POST /v1/detokenize. Send text in, get tokenized text back. No complex configuration required.
API Key Authentication
Simple API key auth with per-org isolation. Keys are hashed with bcrypt and never stored in plaintext.
Sub-50ms Response
Structured PII detection in under 20ms. Full NER mode in under 50ms. Detokenization in under 15ms. All at p95.
LLM Proxy Integration
Drop AIQ between your application and the LLM provider. Tokenize prompts before sending, detokenize responses after receiving.
Streaming Support
Detokenize streaming LLM responses in real-time. Tokens are replaced as they appear in the SSE stream.
Session Management
Multi-turn conversations share a session ID for consistent tokenization. Same PII maps to the same token across turns.
Ready to protect your data?
See how AIQ can help you tokenize sensitive data with DPDPA compliance.
Book a Demo