Integrate TrustChain AI in minutes. Change a single line of code—redirect your SDK's base URL to the TrustChain proxy gateway to scan prompts, enforce policy, and capture deterministic audit evidence.
Add your provider credentials in Dashboard Settings.
Issue a TrustChain API key for your application.
Redirect `baseURL` to `https://trustchainai.app/api/proxy`.
curl -X POST "https://trustchainai.app/api/proxy/openai" \
-H "Authorization: Bearer <YOUR_TRUSTCHAIN_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "<YOUR_MODEL>",
"messages": [{"role": "user", "content": "Hello, TrustChain protected OpenAI!"}]
}'Prompt passed all compliance scans cleanly and was forwarded to the upstream LLM provider.
Request violated policy (e.g. prompt injection, severe PII). Blocked at gateway before provider dispatch.
Sensitive facts (e.g. SSNs) were sanitized from the prompt before sending to provider.
The TrustChain API key in your Bearer header is invalid, revoked, or missing.
Your organization has not configured provider credentials for this provider in Settings.
TrustChain could not safely persist pre-provider audit evidence. Provider dispatch was denied to prevent un-audited traffic.