Executive summary
This DPA names Klokk Nettablering (org. no. 821 466 962) as the Processor and the customer (you) as the Controller. The categories of personal data we process include account and billing identifiers, authentication artefacts, operational telemetry, receipt-chain entries and, when enabled, usage-attribution metadata (see §4). On supported client-side paths, the client makes a best-effort attempt to tokenize detected personal data before sending; detection may miss values. The gateway does not run personal-data detection or tokenization on its servers; it relays the content it receives.
On-device detection makes a best-effort attempt to tokenize personal data before sending and may miss values. Known limitations
1. Subject matter & duration
The Processor processes Personal Data on behalf of the Controller for the duration of the underlying Service Agreement. Processing terminates when the Service Agreement ends, subject to the retention windows below.
2. Nature & purpose
Processing serves the operation of a privacy-preserving AI gateway: client-side tokenisation of detected personal data on supported client paths, routing the prompts the client submits (with detected values replaced on supported client paths) to AI providers, returning responses, billing usage, and producing the cryptographic receipt chain.
Products this document covers (the CloakAPI platform).
The REST API at api.cloakapi.io; official client SDKs (TypeScript/JavaScript, Python, Go, Java, .NET, PHP, Ruby and Rust);
the local MCP server (Model Context Protocol); the local proxy (cloak-proxy);
the desktop application (Windows and Linux); the browser extension for Chrome;
and the web chat and developer portal at app.cloakapi.io.
Chat and portal are offered principally as a developer console. Individuals may use them.
Usage on those surfaces is billed against the customer's CloakAPI prepaid balance at the
platform markup rates published at cloakapi.io/pricing
(15 % pooled keys, 5 % BYOK, 5 % complete-local), not as a separate consumer subscription.
Products this document does not cover.
The first-party end-user applications published under their own names and hostnames —
including cloak-cv, cloak-write, cloak-convert, cloak-docs, cloak-meet, cloak-post,
cloak-scan, cloak-sheets, cloak-translate, cloak-redact, and cloakup —
are separate products. Each has its own price, published on that application's
/pricing page. Those prices are not the platform SLA and are not interchangeable.
Where an application relays through the platform, that relay is processed under this
document in CloakAPI's capacity as platform operator; the application's end user is not
the platform Controller unless they also hold a CloakAPI developer account.
See Terms of Service.
Usage-metadata attribution (optional). Where the Controller builds on CloakAPI and enables it, the Processor also processes content-free usage metadata plus an opaque pseudonym the Controller supplies for its own end users (via the optional X-Cloak-App-Id and X-Cloak-End-User headers), as the Controller's sub-processor, so the Controller can attribute usage to its app and (pseudonymously) to its end users. This carries no request or response body content. When attribution recording is enabled, a header value that resembles personal data or does not match the accepted token format may be replaced with a tenant-scoped pseudonym before storage; raw header values are not stored, and the Processor holds no map from pseudonym to real identity. This capability is off by default and processes nothing until enabled.
3. Categories of data subjects
- Authorised users of the Controller's account (employees, contractors).
- Indirectly: persons whose data appears in prompts. On supported client paths, the client replaces the personal data it detects before sending. Values the detector misses reach the Processor and the selected AI provider as written, so these data subjects are not structurally invisible to the Processor.
4. Categories of personal data
| Category | Examples | Source |
|---|---|---|
| Account identifiers | Name, email, organisation, country, role | Controller signup form |
| Billing data | Address, VAT ID, Stripe customer reference | Controller portal |
| Authentication artefacts | Hashed password, IP address, session metadata | Controller usage |
| Operational telemetry | Request timestamp, route, latency, byte count | Gateway runtime |
| Receipt chain entries | Hash digests, ECDSA signatures, sequence numbers | Gateway runtime |
| Attribution metadata (optional) | Opaque app id, end-user pseudonym derived from the supplied header, content-free usage counts; no request or response body content | Controller-supplied headers |
5. Sub-processor list
The full list (15 entries) is at /legal/subprocessors with 30-day change-notification subscription. The DPA incorporates that list by reference, and customers can object to new sub-processors within the notification window per Art. 28(2).
6. Technical & organisational measures (Annex II)
- Configured application code uses AES-256-GCM for stored personal-data payloads. Current TLS-vhost and database-volume encryption settings have not been verified in this assessment.
- Gateway-signed v2 receipt envelopes use ES256 (ECDSA P-256 with SHA-256). The receipt-verification guide describes checking signatures against the matching public key published in JWKS.
- Usage and audit records are written without prompt or answer fields; application log records pass through a filter that replaces payload-shaped fields with “[redacted]” (a safeguard, not a guarantee).
- Access to production systems is limited to the operator. The servers accept SSH public-key authentication only; password login is disabled. Hardware-key (FIDO2) enforcement is not in place, and a recurring access-review cadence has not been verified in this assessment.
- Container deployments verify image signatures and roll back automatically to the previous image if the post-deploy health check fails.
7. International transfers (Annex III)
The Processor's gateway runs in Hetzner Nuremberg (EU). Where customers route to non-EU providers (for example Anthropic, PBC or xAI Corp. in the United States), transfers are covered by:
- European Union — the EU Standard Contractual Clauses 2021/914 (Module 2: Controller to Processor) under Regulation (EU) 2016/679 (GDPR).
- United Kingdom — the ICO International Data Transfer Addendum (IDTA) v B1.0 to the EU SCCs, under the UK General Data Protection Regulation (UK-GDPR) as retained by the Data Protection Act 2018. The ICO Addendum is the operative export mechanism for any Controller established in the United Kingdom; the EU SCCs above govern by reference where the Addendum cross-references them.
- Switzerland — the Swiss FDPIC-approved version of the EU SCCs.
Supplementary measures: on supported client paths, client-side tokenisation on the customer's device (in-browser WebAssembly for the chat and extension, native Rust in the desktop app) replaces the direct identifiers (and the special-category signals, see §12 below) that it detects before the data leaves the EU. Detection is best-effort, so values it does not detect are not covered by this measure. The gateway relays the submitted request without inspecting or detecting content on our servers. A receipt records statements made when the request was processed; it does not prove what was or was not redacted. A separate Transfer Impact Assessment (TIA) is available on request for UK and US destinations.
8. Audit rights
The Controller may, at its own cost, audit the Processor's compliance with this DPA once per year on 30 days' written notice. The Processor will make available any applicable compliance reports or attestations in lieu of on-site audits where reasonable.
9. Data-breach notification
The Processor notifies the Controller within 72 hours of becoming aware of a personal-data breach affecting Controller data, with the information needed for the Controller to meet its 72-hour Art. 33 obligation.
10. Return / deletion on termination
On termination, the Controller can export account data via the portal API. After a 7-day grace period, the account row is closed: the name and email are replaced, and the row is not removed. Bookkeeping rows mandated by the Norwegian Bookkeeping Act are kept for 5 years after the end of the financial year. A row from calendar year Y stays through 31 December of year Y+5 under the real user id or organisation id, and a daily job then deletes it. The row is not rewritten to a pseudonym. Deletion of a whole organisation does not complete while it still has receipts, audit rows, usage records, credit-ledger rows, or bookkeeping rows inside that window. Off-site database backups that contain erased data are kept for up to 33 days after live-system erasure.
11. NIS2 Article 21 supply-chain risk-management measures
Where the Controller is an essential or important entity under Directive (EU) 2022/2555 (NIS2), CloakAPI as a processor and ICT third-party service provider commits to the supply-chain risk-management measures in Article 21(2):
- (a) ICT risk-management policies. CloakAPI maintains and reviews at least annually a documented information-security and ICT-risk-management programme covering policies, asset management, access control, cryptography, operations security, communications security, system acquisition / development / maintenance, supplier relationships, incident management, business continuity, and compliance — aligned to ISO/IEC 27001:2022 controls and the NIS2 Implementing Regulation (EU) 2024/2690.
- (b) Significant-incident reporting within 24 hours. Where an incident affecting Controller data qualifies as a "significant incident" under NIS2 Art. 23, CloakAPI issues an early warning to the Controller within 24 hours of becoming aware of it, an incident notification within 72 hours, and a final report within one month — without prejudice to the 72-hour personal-data breach notification in §9 above.
- (c) Where processing takes place. The Processor’s own infrastructure — the gateway and its database — runs in the European Union, in Hetzner’s Nuremberg data centre (Germany). Database backups are kept on the same host for 30 days and copied nightly to AWS S3 in Stockholm, Sweden (eu-north-1), where copies are kept for up to 33 days. Sub-processors process where they are established: where the Controller routes requests to a model provider outside the EEA (for example Anthropic, PBC or xAI Corp. in the United States), that transfer is covered by the mechanisms set out in §7 (Annex III), and the categories of data disclosed are those listed in Annex I. The Processor does not offer an EU-only routing option under this DPA.
- (d) DPA execution before subcontracting. No sub-processor is engaged for the processing of Controller data without (i) a signed data-processing agreement imposing data-protection obligations equivalent to those in this DPA, and (ii) the Controller's prior general or specific authorisation per Art. 28(2) GDPR. The current sub-processor list is published at /legal/subprocessors and changes are notified with at least 30 days' notice.
- (e) Vulnerability handling & coordinated disclosure. CloakAPI operates a public vulnerability-disclosure policy (VDP) and publishes a Software Bill of Materials for its components (/legal/sbom.json).
- (f) Cryptography & key management. Configured application code uses AES-256-GCM for stored personal-data payloads. Current TLS-vhost and database-volume encryption settings have not been verified in this assessment. Customer-scoped tokenisation keys are isolated per tenant.
This section is anchored at /legal/dpa#nis2 and may be referenced from procurement questionnaires (DORA, NIS2, ENISA), supplier-risk attestations, and ICT-third-party registers.
12. Article 9 (special category) data — GDPR & UK-GDPR
"Special category" data under GDPR / UK-GDPR Article 9(1) (data revealing racial or ethnic origin, political opinions, religious or philosophical beliefs, trade-union membership; genetic data, biometric data for the purpose of uniquely identifying a natural person; data concerning health; data concerning a natural person's sex life or sexual orientation) and equivalent "sensitive personal data" under the Data Protection Act 2018 reach the Processor in tokenised form when the client-side tokeniser detects them. The client-side tokeniser running on the Controller's device (in-browser WebAssembly, or native Rust in the desktop app) replaces the Article 9 indicators it detects with deterministic placeholders before the prompt is transmitted, and the gateway blind-relays the tokenised payload without inspecting content on our servers; the Processor does not see, store, or transmit those detected special-category values in the clear. Detection is dictionary- and model-bound and is not exhaustive for free-form values.
Where the Controller is a healthcare provider, medical-device manufacturer, or clinical-research organisation processing health data under Article 9(2)(h) (provision of health or social care), 9(2)(i) (public-health interest) or 9(2)(j) (scientific research), the Processor commits to:
- Enforce the healthtech privacy floor on every API key (`max` tier; NHS_NUMBER, UK_POSTCODE, PERSON_NAME, DOB, and MEDICAL detector categories always-on).
- Maintain a current Record of Processing Activities (Art. 30) for health-data flows, available to the Controller on 5 business days' notice.
- Minimise PHI exposure by design: on the client-side integration paths, the protected health information identified by the client-side detectors is tokenised on the customer device before egress, so the gateway receives pseudonymised tokens for those spans rather than PHI in the clear. Detection is dictionary- and model-bound and is not exhaustive — free-form names outside the on-device dictionary can be missed. CloakAPI is a data-minimisation tool, not a HIPAA-compliance product.
- Refuse downgrade requests that would weaken the floor (an API attempt returns
422 healthtech_tier_floor_violated).
Anchor: /legal/dpa#article-9. Cross-references: §6 (TOMs), §13 (Right to erasure), §14 (MDR Art. 14), §15 (NHS DSPT alignment).
13. Article 17 right to erasure (GDPR & UK-GDPR)
The Processor implements Article 17 ("right to be forgotten") for every data subject whose personal data the Processor holds in identifiable form. Mechanics:
- Initiation. The Controller submits an erasure request via the Data Subject Access Request (DSAR) endpoint at
POST /api/gdpr/erasure-request(programmatic) or via support@cloakapi.io (manual). The Processor acknowledges within 5 business days. - Scope. Erasure covers: account identifiers, billing rows (where statutory retention has lapsed), authentication artefacts, operational telemetry, and any Processor-side projection of receipt-chain entries containing identifiable data. Tokenised payloads were never within scope (see §12).
- Statutory hold exceptions. Bookkeeping rows mandated by the Norwegian Bookkeeping Act (5 years after the end of the financial year) keep the real user id. A row from calendar year Y stays through 31 December of year Y+5, and a daily job then deletes it. They are not rewritten to a pseudonym. The same retention period is what we state for UK HMRC and EU member-state bookkeeping requirements where the Controller's billing address falls under those regimes; the deletion job itself is the Norwegian five-year window above. The exception is logged in the DSAR audit trail with the legal basis cited.
- Receipt chain. Cryptographic receipt entries are append-only. The erasure job does not clear the user id on the receipt row, and no scheduled job deletes receipts when a 7-year period ends. Organisation deletion does not complete while a linked receipt exists. The hash and signature stay on the row.
- Confirmation. The Processor delivers a written erasure confirmation without undue delay and within one month (Art. 12(3)), extendable by up to two further months where Art. 12(3) allows, including a list of sub-processors notified under Art. 19.
- UK pathway. UK-resident data subjects may also complain to the Information Commissioner's Office.
Anchor: /legal/dpa#article-17.
14. MDR Article 14 commitment — healthtech / medical-device customers
Where the Controller is a manufacturer or distributor of medical devices subject to Regulation (EU) 2017/745 (Medical Device Regulation, MDR), the Processor commits to the supplier obligations relevant to a software / cloud-service input to a device's quality-management system:
- (a) MDR Art. 14(1) verification — identity. The Processor provides the Controller with the Processor's unique device-input identifier (Service Inventory Reference, "SIR-CLOAKAPI-GW-001") for the Controller's technical documentation and EUDAMED registration where applicable.
- (b) Art. 14(2) checks at receipt. The Processor publishes a Software Bill of Materials (CycloneDX 1.7) at /legal/sbom.json. It is generated from a source revision and can lag the deployed build; the SHA-256 digest of the currently deployed gateway image is provided to the Controller on request.
- (c) Storage & handling conditions. Customer data is stored under the conditions in §6 (TOMs). Current infrastructure location, host-level encryption and TLS-vhost settings have not been independently verified in this assessment; application-level encryption is described in §6.
- (d) Reporting of suspected non-conformity. Where the Processor becomes aware that any element of its service does not conform to the MDR-relevant commitments above, it notifies the Controller within 24 hours and provides root-cause analysis within 14 days. Where the non-conformity is "serious" within the meaning of Art. 87 MDR, the Processor cooperates with the Controller's vigilance reporting to the competent authority on the Art. 87 timeline.
- (e) Distributor traceability. The Processor keeps operational logs (timestamps, request-id, image digest, configuration revision) for the periods in the retention schedule of the privacy policy. On request, under an order form, the Processor keeps them for the period Art. 10(8) MDR requires (at least 10 years after the last device covered by the EU declaration of conformity has been placed on the market).
Anchor: /legal/dpa#mdr-article-14.
15. NHS Data Security and Protection Toolkit (DSPT) alignment
Where the Controller is a National Health Service (NHS) body, an NHS contractor, or any UK-health-and-social-care organisation required to publish an annual NHS DSPT assertion, the Processor aligns its TOMs (§6), incident handling (§9, §11(b)), supply-chain governance (§11(d)), and erasure mechanics (§13) to the National Data Guardian's 10 standards, as operationalised by the NHS DSPT (v6, 2024-2025 edition):
- Standard 1 (Personal Confidential Data). Client-side tokenisation of detected values (§12) and payload-free logging (§6) reduce exposure: PCD identified by the client-side detectors does not reach the Processor in identifiable form. Detection is dictionary- and model-bound and is not exhaustive for free-form names; the Controller remains responsible for its own DSPT assertion.
- Standard 6 (Responding to Incidents). The 24-hour early-warning commitment in §11(b) exceeds the DSPT "within 72 hours of becoming aware" requirement.
- Standard 7 (Continuity Planning). Database backups are copied nightly to encrypted off-site storage (AWS S3, Stockholm). The latest restore drill ran on 22–23 October 2026; no recovery-time objective has been established (see the BCP).
- Standard 9 (IT Protection). Host hardening, configuration-drift detection and vulnerability-scan reporting have not been verified in this assessment.
- Standard 10 (Accountable Suppliers). The full sub-processor list (§5) is published under change-notification; each sub-processor flows-down the DSPT-equivalent obligations via the standard upstream-DPA.
The Processor does not itself publish a DSPT assertion (it is not a Data Security and Protection Toolkit Reporting Organisation in its own right; it is a software supplier to such organisations) but provides, on request, the supplier-evidence pack a Controller's DSPT submission needs to evidence its supply chain.
Anchor: /legal/dpa#nhs-dspt.