Data Retention
We do not store your prompts, code, or replies. Only billing counts hit disk.
Zero Prompt Storage
- In memory only: Prompts, code, tool calls, and replies are discarded once the response finishes.
- Stateless APIs:
/v1/responsesblocksprevious_response_id;/v1/batchesdeletes payloads on completion or expiry. - Sandboxes: Billed on vCPU and memory seconds only. Commands and files are never logged.
Counts-Only Ledger
One metadata row per request for billing and caps.
| Stored | Never stored |
|---|---|
| Request ID, UTC time, key ID, routing mode | Prompts, messages, or input text |
| Model name and endpoint path | Model replies, diffs, or reasoning |
| Input, cached, and output token counts | Tool payloads or workspace files |
| Charge, latency (ms), status | Upstream error bodies, tokens, or cookies |
Indonesian PII & Secret Scrubber
Redacts secrets and Indonesian PII in memory. Fails closed if any rule errors.
| Category | What is matched | Replacement |
|---|---|---|
| Secrets & Credentials | API keys, JWTs, PEMs, Bearer/Cookie headers, .env values | <SECRET_*> |
| NIK | 16-digit Indonesian ID (KTP) | <NIK_1> |
| NPWP | 15- or 16-digit tax ID | <NPWP_1> |
| Payment Cards | Luhn-checked card numbers | <CARD_1> |
| Indonesian Bank Accounts | 10–16 digits next to bank names (keeps Rp amounts) | <BANK_1> |
| Phone & Email | +62 / 08 numbers and emails | <PHONE_1>, <EMAIL_1> |
Input SampleBefore Scrub
Verify KYC NIK 3174 0515 0390 0001 NPWP 01.234.567.8-901.000 Transfer BCA 1234567890 Rp 1.500.000 WA +62 812-3456-7890 Authorization: Bearer nsk_example00000000
Scrubbed OutputAfter Scrub
Verify KYC NIK <NIK_1> NPWP <NPWP_1> Transfer BCA <BANK_1> Rp 1.500.000 WA <PHONE_1> Authorization: Bearer <SECRET_BEARER>
Strict Isolation from Consumer OAuth Subscriptions
- Commercial routes only: Buyer traffic uses paid commercial APIs or dedicated GPUs, never personal OAuth subscriptions.
- No training endpoints: Upstream tiers that train on prompts are blocked with
403 model_not_allowed. - Private Box: Run open models inside your own network for zero egress.
Caller Controls
Send x-gateway-no-trace: 1 to force zero recording on any request. No header can turn recording on.
Need a DPA or architecture review? Request access or return to the API Reference.