Data processing agreement
This agreement applies when a customer uses the hosted API at api.itsvej.com. The customer is the controller. Vej is the processor. Notices go to hello@itsvej.com.
1. Parties, roles and precedence
The customer determines the purposes and means of processing and is the controller. Vej processes personal data on the customer's behalf as processor under GDPR Article 28. This agreement, including its annexes, governs that processing and prevails over conflicting service terms about data protection.
If the customer processes the data for another controller, the customer is responsible for that controller's instructions and authorization. This agreement still governs Vej's processing for the customer.
The API does not take payments and has no billing integration. Records Vej keeps for its own account administration are not processing under this agreement. Website access requests, waitlists and newsletter signups are covered by the privacy notice.
2. Subject matter, duration and processing instructions
Subject matter: native probability inference over developer-supplied outcomes through authenticated realtime and asynchronous batch API calls, plus the metadata necessary for authentication, limits, metering and job orchestration. Purpose: provide the customer's requested decision probabilities and operate that service. Nature: receive, validate and transiently compute on content; return probabilities; read/write customer batch objects; store the disclosed service metadata in Annex A. No content is used for training.
Processing lasts while the customer uses the hosted API, and through the deletion periods in Annex A and clause 6. Content processing lasts only while executing the request or batch shard attempt; cancelled, expired and failed work is discarded. Batch retries read again from the customer's storage. There is no guaranteed 24-hour batch completion. Jobs expire at the earliest submitted URL expiry, at most seven days.
This agreement, the customer's configuration and authenticated API submissions are the customer's documented instructions. Further instructions must be in writing to hello@itsvej.com. Vej processes only on those instructions, including instructions about transfers, unless Union or Member State law requires otherwise. Vej informs the customer of that legal requirement before processing unless the law prohibits notice on important public-interest grounds. Vej immediately informs the customer if an instruction infringes applicable data protection law and does not follow that instruction until it is resolved.
The customer establishes a lawful basis, gives required notices, selects lawful inputs and purposes, and maintains its own storage, access and retention policy. These responsibilities do not remove Vej's processor obligations.
3. Content scope and data categories
For request content, Vej's promise is:
“Your request content and returned probabilities are processed in the EU, are not written to persistent storage, are not retained for reuse after the request, and are not used for training. We retain disclosed account, billing, and operational metadata.”
This promise concerns Vej-controlled service storage. Batch input and output files remain in the customer's own EU object storage, accessed through customer-issued pre-signed GET/PUT URLs; the customer instructs Vej to write results there. Customer storage retention is outside Vej's content-ZDR scope. The reference to billing does not add a billing implementation to this API. The promise does not guarantee instantaneous forensic erasure of every freed RAM/VRAM byte or exemption from mandatory lawful obligations. No routine abuse, support, analytics or training content-retention exception is authorized.
Personal data may relate to the customer's staff, contractors, users, customers, or any other person described in what the customer sends. It may appear in that text, in the outcomes or rubric the customer supplies, and in the probabilities Vej returns. The customer must not send special-category data or data about criminal offences. Service metadata can also be personal data even where identifiers are digests.
4. Confidentiality, subprocessors and assistance
Vej limits access to authorized persons who need it to perform these instructions and are bound by confidentiality or an appropriate statutory obligation. The obligation continues after their access or employment ends. Real request content, probabilities and pre-signed URLs must not be copied into support tickets.
The customer authorizes only the subprocessors listed in Annex C. Before adding or replacing one, Vej gives the customer written notice of the provider's name, location, service and data scope, and waits for the customer's written approval. Vej does not move the affected processing to a subprocessor the customer refuses. If the service cannot continue without that subprocessor, either party may stop the affected processing.
Vej imposes equivalent data protection obligations on each subprocessor by written contract, including sufficient Article 32 guarantees, and remains fully liable to the customer for that subprocessor's performance of those obligations. Self-hosted Postgres and Temporal are software components, not separate hosted service suppliers. Any external party that hosts them or can access the data is a subprocessor and must be listed in Annex C before it is used.
Taking account of the nature of processing, Vej assists the customer through appropriate technical and organizational measures with data-subject rights under GDPR Chapter III. Vej forwards a request to the customer and does not answer it independently except on the customer's instructions or as required by law. Content cannot be retrieved from Vej after processing; assistance concerns retained metadata and customer-controlled batch objects. The customer writes to hello@itsvej.com.
Taking account of the processing and information available, Vej assists with Articles 32–36 obligations, including security, breach notices, DPIAs and prior consultation with supervisory authorities. Do not send real content to establish a support reproduction.
5. Personal data breaches
Vej notifies the customer without undue delay after becoming aware of a personal data breach. Notice goes to the email address on the customer's account.
The initial notice supplies available information about the nature of the breach, affected data and data-subject categories and approximate numbers, a contact point, likely consequences, and containment and remediation measures. Vej supplies missing information in phases without undue further delay, preserves content-free incident evidence, cooperates in mitigation and assists the customer's statutory notifications. Incident handling does not authorize retaining live request content.
6. Return, deletion, audits and transfers
At the customer's choice, Vej returns or deletes personal data processed under this agreement at the end of the service and deletes existing copies, unless Union or Member State law requires retention. There is no service-side content archive to return. Batch files stay with the customer. Vej cancels pending work and deletes stored URL ciphertext. Annex A's ordinary periods do not override an earlier valid deletion instruction or the end-of-service choice.
Any data the law requires Vej to keep is limited to that legal basis, category and expiry, is isolated from further use except the required purpose, and is deleted when the obligation ends. Setting a database value to NULL is not erasure of backups, Postgres WAL or Temporal history. Those copies expire with the backup.
Vej makes all information necessary to demonstrate Article 28 compliance available and allows and contributes to audits, including inspections, by the customer or an auditor the customer appoints. The customer gives reasonable notice, except where a regulator or an incident requires faster access. The auditor keeps the information confidential, and no audit may expose another customer's data. Evidence can include configuration, content-free canary results and provider reports.
Service processing, support access, metadata, backups and approved storage endpoints stay in the EU. Vej does not make a routine transfer outside the EU under this agreement without the customer's written approval and a lawful GDPR Chapter V mechanism, including standard contractual clauses and supplementary safeguards where required. Standard contractual clauses alone do not widen the EU-only scope. A transfer that the law requires is handled under clause 2.
7. Liability
Nothing in this agreement limits a liability that the GDPR does not allow the parties to limit, including Article 82. Vej remains responsible for a subprocessor's performance of its data protection obligations, as clause 4 says. This agreement applies from the customer's first use of the hosted API.
Annex A — metadata categories and retention schedule
The table lists the metadata the service stores. Request and response content is not a database field. UTC calendar-month quota windows are metering windows, not retention periods. Vej adds a new metadata category to this table before collecting it.
| Category/store | Actual fields or payload scope | Purpose | Retention/deletion trigger |
|---|---|---|---|
| Organizations/Postgres | id, name, tier, vision_enabled, created_at | Account attribution and admission | For the term of the account, then deleted unless the law requires a longer copy |
| API keys/Postgres | id, organization_id, key_hash (32-byte SHA-256 digest), prefix, created_at, revoked_at | Authentication, attribution and revocation | For the term of the account, then deleted unless the law requires a longer copy |
| Usage events/Postgres | id, organization_id, api_key_id, occurred_at, source, route, requests, processed_tokens, checkpoint_digest, status_class | Metering and quota enforcement | For the term of the account, then deleted unless the law requires a longer copy |
| Batches/Postgres | id, organization_id, api_key_id, endpoint, cloudflare_model, status, idempotency_key_sha256, created_at, expires_at, cancelled_at, completed_at, shard_count, shards_completed, shards_failed, shards_expired, shards_cancelled, shards_quota_exceeded, lines_ok, lines_failed, processed_tokens | Polling, reconciliation, metering and organization-scoped idempotency | For the term of the account, so the idempotency digest remains valid, then deleted unless the law requires a longer copy |
| Shards/Postgres | id, batch_id, ordinal, status, attempts, lines_ok, lines_failed, processed_tokens, finished_at | Work progress, retry and final accounting | Deleted with the batch |
| Shard URL ciphertext/Postgres | input_url_enc, output_url_enc, AES-GCM encrypted | Customer-authorized GET/PUT while unfinished | Set to NULL at shard terminal state; earliest URL expiry ≤7 days triggers expiration and deletion when reconciled. Backup and WAL copies expire with the backup |
| Temporal history/visibility, separate Postgres databases | Batch/shard IDs, counts, workflow status/timing, expiry/parallelism and fixed failure codes; no content or URLs | Durable orchestration and recovery | Namespace initialization sets 1 day of closed-workflow retention. Backup and WAL copies expire with the backup |
| Service operational logs | HTTP method, fixed route, status, latency and correlation identifier; no bodies, raw paths, account IDs, keys or URLs | Operations and incident diagnosis | Kept for operations and incident diagnosis, then deleted. Logs contain no account identifiers |
| Metadata backups/WAL/replicas | Copies of the above metadata, possibly pending URL ciphertext | Recovery | Expire with the backup. A restored copy is deleted if the live record was already deleted |
The raw idempotency_key column is removed by migration 0005. Digests are scoped by organization for uniqueness. No custom_id, request/response content or raw customer Cloudflare account ID is a database field. Cloudflare batch paths use the fixed account placeholder batch; only route enum and model alias persist. No billing or payment columns exist. Vej's migration bookkeeping is technical schema state, not customer request metadata.
Annex B — Article 32 security measures and implementation status
These are repository controls and deployment requirements, not claims of a running production installation or independent certification.
| Measure | Repository evidence and boundary |
|---|---|
| Transport protection | Worker enforces HTTPS for production storage, validates allowlisted hosts/resolved addresses and disables redirects: storage policy, handler. Public TLS ingress must be supplied by the operator; deployment guide requires exposing only the API and configuring Postgres TLS. Internal service HTTP is not represented as end-to-end TLS. |
| No body logging or disk spooling | API startup filters logs to the fixed request category and removes proxy HTTP loggers; worker startup clears logging providers and removes storage/adapter HTTP loggers. ADR ZDR boundaries prohibit content in telemetry/durable stores. Ingress raw-path/body logging, host swap/crash dumps and provider captures require separate verification. |
| EU-only scope | Production storage startup requires a verified EU host allowlist; hostname checks do not establish residency. Operators must verify hosting, support, replication and each customer endpoint. No automated geographic attestation or production EU deployment is claimed. |
| Stored URL encryption | UrlProtector uses AES-GCM with a 32-byte configured key and shard/purpose binding. Shard processing and terminal transitions wipe ciphertext. Key custody/rotation and historical-copy expiry must be operationally agreed. |
| API-key protection and minimized identifiers | API key seed persists a SHA-256 digest and prefix; migrations store digests rather than full keys. Batch idempotency stores 32-byte digests, with organization-scoped uniqueness. These controls do not anonymize all metadata. |
| Network isolation and host hardening | SaaS chart NetworkPolicies default-deny traffic, restrict adapters/worker, and bound database, Temporal, model-download and storage egress. Because a NetworkPolicy applies to a whole pod, the text inference pod (adapter and vLLM, which process request content) keeps outbound HTTPS to the operator-configured model-download peers after startup; the chart has no default for those peers, and operators must limit them to the object-storage provider's published ranges. Optional Istio policies require mutual TLS and per-identity authorization. Services are ClusterIP; containers use non-root users and restricted privileges. Temporary, shared-memory and adapter cache paths use memory-backed volumes. Operators must configure database and Temporal peers, restrict namespace writers and verify CNI enforcement; the chart is undeployed. |
| Recovery and evaluation | Self-hosted Postgres/Temporal retain only disclosed metadata; workflow carries identifiers and non-content orchestration data. Canary procedure scans logs, databases, histories and temporary directories. Its bounded success is not proof for every deployment/failure path. Metadata backup/restore, deletion enforcement and operator access procedures remain to be verified. |
Vej maintains measures appropriate to the risk, including availability, resilience, timely restoration and regular evaluation under Article 32. A material change must keep the protection this annex describes, and this annex is updated to match.
Annex C — subprocessors
The customer authorizes these subprocessors.
| Subprocessor | Function/data scope | Location | Authorization status |
|---|---|---|---|
| Hetzner | Hosting of the hosted API, including transient inference and the metadata in Annex A | EU | Authorized |
Vej adds or replaces a row only after the customer has approved that subprocessor in writing and a contract requires the protection in clause 4. The customer's own storage provider is the customer's supplier, not a Vej subprocessor.
State retention
State history is stored only when the customer turns on organization retention, and Vej stores it encrypted. Reads stop after 24 hours without use, or 30 days after creation, whichever comes first. Later activity does not move the 30-day end. A deletion or a withdrawal refuses reads before object cleanup finishes. A failed deletion stays pending.
Confirmation that the live store was deleted does not prove that a replica, snapshot, database backup or WAL copy is gone. Those copies expire with the backup. A restore must not bring back content the customer has deleted.