Real data in throwaway prompts
Experimental prompts often contain the data the production system shouldn't send either.
Solution
Move fast on AI without leaking the test data.
Use Privian during experimentation so prototypes can work with real-shaped data without sending it to a provider. Same endpoint as production, scoped to test keys.
Problem
Teams move quickly when prototyping AI: paste a customer email into a prompt, try a model, tweak it, try a different one. Synthetic data slows iteration; real data accelerates it but creates exposure. Most "small experiments" end up sending real identifiers and the occasional API key to a provider that was never approved for that purpose.
Why this matters
Experimental prompts often contain the data the production system shouldn't send either.
Developers paste tokens into prompts to debug; those tokens then leave the network.
Different teammates try different providers, each accumulating context.
What was sent during prototyping cannot be retracted from the provider.
How Privian fits
One POST to /v1/gateway. No SDK install, no rewrite.
Set a base URL and a test API key. Keep your existing HTTP client.
Supported sensitive values are masked before any provider call.
Prototypes behave the same way the production gateway will.
Architecture
Notebook / script → Privian gateway → LLM provider
│ mask
│
(placeholders)
│
▼
rehydrate ← provider responseExample flow
curl https://api.privian.io/v1/gateway \
-H "Authorization: Bearer $PRIVIAN_API_KEY_TEST" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.5",
"prompt": "Classify this support email from jane@acme.com.",
"stream": false
}'Swap the model string to compare providers. Swap the prompt to iterate. The data-handling story stays the same.
Use cases
Ship demos using real-shaped data without an after-the-fact review.
Try ideas across teams without each one re-litigating data flow.
Build a vertical copilot prototype in a day, with masking on by default.
Validate an AI feature with customers before formal procurement.
Implementation
Step 1
Plug an OpenAI, Anthropic, Google or DeepSeek key into the dashboard.
Step 2
Use sk-gw_test_... in notebooks and prototypes; keep live keys for production.
Step 3
POST to /v1/gateway with model + prompt + stream.
Step 4
Swap provider/id to try different models against the same prompt.
Step 5
Re-key with a live token; nothing else changes.
Transparency
FAQ
Learn more