GDPR grants concrete rights, not just a privacy policy page. On Effrenus, two authenticated routes make them operational: GET /v1/me/export produces a JSON export, and POST /v1/account/erase erases the account's identifying data. Between the two sits one exception to know: accounting records must be kept, but they are kept without a user name or email address.
What an account contains
An Effrenus account revolves around an API key. The sk-ef-… secret is never stored in clear text: the database keeps only a SHA-256 hash and a display prefix. The rest is the name given at creation, an optional email address, the credit balance and usage metadata.
Concretely, the tables hold:
- the key's internal ID, prefix and hash;
- the name and, if provided, the email;
- usage events: model, input and output tokens, cost, latency, HTTP status,
request_id, timestamp; - payments: pack, amount, provider, transaction ID, with no card data;
- verification and recovery tokens, limited to 30 days.
Prompt content is not there. The gateway forwards requests to the backend without logging the text, which means an export will never contain your messages. The Data and logs page details the durations: 396 days by default for usage, 30 days for tokens, legal accounting retention for payments.
The legal bases are contract performance to provide the service, legal obligation for accounting, and legitimate interest for security and fraud prevention.
Exporting your data
GET /v1/me gives an overview: balance, 30-day usage summary and the last twenty requests. For a full export, call GET /v1/me/export with your key:
curl -s https://api.effrenus.com/v1/me/export \
-H "Authorization: Bearer sk-ef-…" \
-o effrenus-export.json
The response is a JSON object with five blocks:
exported_at: generation date;key: the key's public fields (ID, name, prefix, email, credits, limits, dates);usage: the per-model summary since the key was created;usage_events: up to 10,000 detailed events;payments: up to 10,000 payments.
Check that the file is valid JSON before archiving it:
python -m json.tool effrenus-export.json > /dev/null
The export is a snapshot: it only contains data still retained at the time of the call. Usage events purged after 396 days no longer appear, and prompts never do. It is a machine-readable portability document, not an archive of your conversations.
Two practical limits. The export covers the key that calls it: after a key rotation, the old key is disabled and can no longer authenticate, so export first. Second, the 10,000-row caps per block can truncate a very large history; keep earlier exports too if you export regularly.
Erasing your account
Erasure is called with the same key and an explicit confirmation:
curl -s -X POST https://api.effrenus.com/v1/account/erase \
-H "Authorization: Bearer sk-ef-…" \
-H "Content-Type: application/json" \
-d '{"confirm": "EFFACER"}'
Without the EFFACER value, the route returns 400 with the confirm_required code. With the right value, it returns {"status": "erased"}, the usage_events, payments and credit_ledger list of retained data, and a note about the legal obligation.
What is erased: the email is removed, the name is replaced with “compte supprimé”, and verification and recovery tokens are deleted. The key is disabled and the account can no longer call the API: subsequent requests receive 403 key_disabled. The operation is irreversible, so the export must happen first.
What remains: usage events, payments and credit entries, without a user name or email. They stay attached to the key's internal ID, which no longer carries identifying data. This retention meets the accounting obligation: in France, invoices and accounting records must be kept for ten years. Erasure therefore does not delete an invoice; it leaves it anonymised.
The right to erasure is not absolute, and GDPR itself provides for that: a legal retention obligation can prevail. Effrenus applies this exception narrowly, keeping only the required records and no longer attaching them to an identifiable person. Erasure applies to the key used: if you have already rotated it, the old disabled key can no longer authenticate — tell support.
Checking and completing
After the call, check three things:
- the response contains
"status": "erased"; - a call with the old key returns 403;
- the export made before erasure is backed up elsewhere, if you need it for your accounting.
The other rights — rectification, restriction, objection — go through support, which replies within 30 days. For a B2B contract, a DPA and the list of subprocessors (GPU hosting, payment, email) are available on request; the details are summarised in the FAQ and the documentation.
One last habit: a GDPR export does not replace your own backups. If you leave the service, export your data, retrieve your invoices and keep a record of the erasure. GDPR gives you rights, not a permanent copy of the history.