Data policy: restful.zone API
Effective date: 26 November 2026
This page explains what happens to the data you send to the restful.zone API at https://api.restful.zone/v1. It is written for business customers and for the marketplaces that route traffic to us. Related pages: Privacy policy and Terms of service.
The service is run by UAB "Drakonų kova", company code 302804526, VAT code LT100007261412, Vilnius, Lithuania. Brand: restful.zone. Email: contact@mail.restful.zone. Phone: +370 612 00970.
Customers buy access through a marketplace (for example OpenRouter or Architect Inference). We do not sell API keys directly today. Billing data comes from the marketplace through which you buy.
Our claims at a glance
- Prompt and output retention: we do not retain prompts or outputs. Content is processed in memory to answer the request and is not written to any log or disk by our relay, gateway or engine. The one qualification is the short lived prefix cache in GPU memory described in section 1.
- Training: we do not use your prompts or outputs to train or evaluate models.
- Debug sampling of prompts or outputs: none.
- Human review of prompts or outputs: none.
- Retention of prompts or outputs for abuse checks: none.
- Certifications: none. We hold no SOC 2 or ISO 27001 certification.
Summary
- We read the text of your prompts and completions only to produce the answer. Our gateway is built not to write that text to any log, and a test checks this. Our inference engine runs with request logging off, and its logs hold timing and status only, no request content.
- We keep a short list of request metadata (time, key label, status, token counts, timings and a few technical fields), plus a daily pseudonym derived from the caller IP, the caller country, and the caller IP in error records. It is listed below with its retention period.
- Your request passes through Cloudflare and our relay server hosted by Hetzner in Helsinki, Finland, before it reaches the gateway and inference servers operated by UAB "Drakonų kova" in Lithuania. All of them are listed below.
- We hold no SOC 2, ISO 27001 or other security certification.
1. Prompt and completion content
What we do with it
The text you send (messages, system prompts) and the text the model returns are used only to compute and return the completion for that request.
On the systems we operate:
- Gateway (a server operated by UAB "Drakonų kova" in Lithuania): request and response bodies exist only in memory while the request runs. The gateway is designed so that it writes no prompt or completion text to its log, to its error output or to disk; handled errors record only the error type. Error messages from the engine are replaced by fixed messages and are neither logged nor passed on. An automated test checks that a planted marker in a prompt never appears in the log.
- Inference engine (servers operated by UAB "Drakonų kova" in Lithuania): request logging is switched off. The engine logs hold timing and status, no request content: per request, the internal network address of our gateway, the path and the status code, plus throughput statistics.
- Relay in Finland (our nginx TLS front on a server hosted by Hetzner): the request body is passed on to the gateway and not logged. Request bodies are held in memory only, up to the 2 MiB size limit. Response bodies are not written to disk.
Prefix cache in GPU memory
To answer faster, the engine keeps a short lived prefix cache of recently processed text in GPU memory (not on disk). It holds mainly prompt text and can also hold parts of generated output. A later request that starts with the same text can reuse a cache entry. Entries are overwritten as new requests arrive. OpenRouter and Architect Inference both state that in memory caching of prompts is not retention.
The engine and its prefix cache are shared by all API customers and by our own internal workloads, which run on the same GPU cards. There is no per customer isolation of the cache, and no customer gets a separate engine.
Training
Because we do not keep prompt or completion text, it is not available to us for training. We do not use your prompts or outputs to train or evaluate models, and we do not use them to fine tune or benchmark any model.
End user identifiers
The service does not require end user identifiers. Any user field in a request is dropped by the gateway and not logged.
2. Request metadata we log, and for how long
| Where | What is recorded | Kept for |
|---|---|---|
| Cloudflare edge | Cloudflare's own processing as our network provider, under Cloudflare's own privacy policy | as Cloudflare states in its privacy policy |
| Relay access log, Finland | time, status code, HTTP method, path without query string, request size, response size, request time, upstream time, caller country as reported by Cloudflare. No IP address, no body, no query string, no API key. | 90 days (daily rotation, 90 files) |
| Relay error log, Finland | written only when a request fails at that server (for example a rate limit rejection or gateway unreachable): caller IP address, full request line including query string, upstream address, host name | 90 days (daily rotation, 90 files) |
| Gateway request log, Lithuania | time (UTC, seconds), API key label, status code, path class, prompt tokens, completion tokens, time to first token, total time, stream flag, finish reason, a daily IP pseudonym, and a flag when token counts are estimated | 14 days (14 rotated daily files, plus the current day's file) |
| Gateway service journal, Lithuania | service start and stop lines; on failures, the error type name and, rarely, an error traceback. No message in our code is built from request text. | the host journal keeps up to 2 GB (about 7 days today), at most 26 weeks |
| Usage totals, Lithuania | per API key and UTC day: prompt tokens, completion tokens, request count | for as long as the key exists and then as accounting law requires (up to 10 years where Lithuanian accounting law requires it for invoices; otherwise deleted when the key is retired) |
| Engine log, Lithuania | per request: internal address of the caller (our gateway), path, status; throughput statistics. No request content and no customer IP. | no fixed period today: kept until the engine container is replaced |
About the daily IP pseudonym in the gateway log: it is a pseudonym, a truncated hash of the caller's IP address and the UTC date (the first 8 hexadecimal characters of a SHA-256 hash). For traffic from a marketplace this is usually the marketplace's server address, not the end user's. It is personal data, not anonymous data: for a given day, the address could be recovered by trying every IPv4 address. We use it for abuse prevention and keep it 14 days, with the gateway request log.
The relay also holds caller IP addresses in memory, for rate limiting only. They are not written to the HTTPS access log.
Backups
No request content is backed up. The logs of the relay in Finland are not in our backup. Our relay administration server in Helsinki is backed up twice a day with BorgBackup in encrypted mode (AES with BLAKE2b) to a backup server operated by UAB "Drakonų kova" in Lithuania. Copies are kept for up to 12 months (14 daily, 8 weekly and 12 monthly); the oldest copy today is from 8 November 2026. This backup holds exactly two kinds of records relevant here: the issuing records of API keys (section 6), and part of the work records of our AI agents, namely their memory notes, the transcripts of helper agents and saved tool outputs, any of which can contain a log excerpt an agent read (metadata only, such as a network address). The main conversation transcripts of our AI agents are not in the backup; they stay only on the administration server. The backup key is held on our own servers, including the backup server itself, so the encryption protects the copies from outsiders but not from our own administrators.
3. Where processing happens
Each request takes these hops, in this order:
- Cloudflare (Cloudflare, Inc., USA): edge proxy that terminates TLS. Cloudflare may process the request at any of its edge locations, chosen by Cloudflare's network routing; a test from Helsinki landed in Warsaw, Poland. Cloudflare decrypts the request and the response at its edge and handles them in memory there, then encrypts them again towards our relay.
- Relay, Helsinki, Finland: our relay server, hosted by Hetzner Online GmbH (Germany) in data centre HEL1-DC4, runs our nginx TLS front. Our software on it decrypts the request a second time and forwards it.
- Encrypted private tunnel from Finland to Lithuania: Tailscale (WireGuard encryption), direct between our machines. Only if the tunnel has to relay does traffic pass Tailscale, Inc., and then Tailscale sees encrypted traffic only.
- Gateway, Lithuania: checks the API key and limits, removes request fields we do not support and forwards the request.
- Inference engine, Lithuania: two or more GPU servers on a private network. The engine runs as one pipeline across several servers, so the internal model state of each request passes between them inside that network.
The servers in steps 4 and 5 are servers operated by UAB "Drakonų kova" in Lithuania, where inference runs. The set of GPU servers can change as we rebuild the engine, but inference stays in Lithuania.
Requests that reach our relay in Finland directly, without going through Cloudflare, skip step 1.
Transfers outside the EEA
Cloudflare is a US company and its edge network is global. Cloudflare may process a request at any of its edge locations, including data centres outside the European Economic Area, and for marketplace traffic the caller is the marketplace's server, wherever it runs. Transfers to the USA rely on Cloudflare's certification under the EU Data Privacy Framework and on standard contractual clauses, as Cloudflare states. All other hops (Finland, Lithuania) are inside the EEA.
4. Subprocessors
| Subprocessor | Role | Location | Sees content |
|---|---|---|---|
| Cloudflare, Inc. (USA) | DNS, edge proxy, TLS termination | global edge network, any Cloudflare edge location | yes, in clear text in memory at the edge |
| Hetzner Online GmbH (Germany) | hosting of our relay server, which runs our TLS front, our nginx logs and our API key issuing records | Helsinki, Finland | our software on it decrypts requests; Hetzner provides the hardware and network |
| Tailscale, Inc. (conditional) | encrypted tunnel relay, only if the tunnel cannot run direct | relay servers in Tailscale's network | no, tunnel traffic is end to end WireGuard encrypted |
| Third party AI model service (for our operations AI agents) | runs the AI agents we use for operations; may receive log excerpts, including network addresses, that an agent reads while it works | the service's data centres, which can be outside the EEA | no prompt or output content, because none is stored |
The gateway and the inference engine run on servers operated by UAB "Drakonų kova" in Lithuania; they are not subprocessors.
5. Zero data retention
We do not retain prompts or outputs. This means: prompt and completion text is processed in memory to answer the request and is not written to any log or disk by our relay, our gateway or our engine; it is not in our backups (section 2); and it is not used to train or evaluate models. The one exception is the short lived prefix cache in GPU memory (section 1), which is reused for later requests with the same prefix and overwritten as new requests arrive. What Cloudflare keeps is set by Cloudflare's own privacy policy and terms.
6. Security measures
These measures exist today:
- Encryption in transit. The API is served over TLS only (minimum TLS 1.2 at Cloudflare and at our relay in Finland; TLS 1.3 seen in our test). Plain HTTP requests are redirected to HTTPS and never reach the gateway; a client that sends its key over plain HTTP has already sent it unencrypted before the redirect. Cloudflare connects to our relay over TLS with a Let's Encrypt certificate. The Finland to Lithuania hop runs inside a WireGuard tunnel. The hops inside our private network in Lithuania, from the gateway to the engine and between the engine servers, are not encrypted.
- API keys. Each key is 256 bits of random data. The server that checks keys stores only a SHA-256 hash of each key and compares hashes in constant time. Unknown and disabled keys are both refused with HTTP 401. The full key sits in an access restricted file (root only, mode 600) on our relay administration server in Helsinki, Finland, and in its encrypted backups, kept for up to 12 months, so that it can be handed to the marketplace.
- Narrow exposure. The gateway listens only on the encrypted tunnel and on its own loopback address, not on the public internet. Only a fixed list of request fields is passed to the engine.
- Rate limits and caps. Per caller address at the relay: 10 requests per second (burst 20) and 10 concurrent connections. Per API key at the gateway, by default: 2,000,000 tokens per UTC day, 30 requests per minute and 2 concurrent requests. Request bodies are limited to 2 MiB, output to 8,192 tokens and context to 131,072 tokens, a streamed request is cut after 600 seconds, and Cloudflare ends a non streamed request whose answer takes longer than about 100 seconds. Requests over a limit are answered with HTTP 429, or HTTP 413 when the body is too large. A global cap on sold streams and load shedding protect our own workloads: we may refuse sold requests at any time when our own workloads need the capacity (HTTP 429 or 503). The service is best effort, with no uptime promise.
- Kill switch. We can pause the whole service or disable a single key at once.
- No usage telemetry. The engine runs with its usage statistics reporting switched off.
We hold no SOC 2, ISO 27001 or other security certification.
7. Security incidents and contact
To report a security issue or a suspected data incident, or to ask about this policy, write to contact@mail.restful.zone or call +370 612 00970.
If we become aware of a personal data breach that affects your data, we notify you without undue delay.
You can also complain to the Lithuanian supervisory authority: Valstybinė duomenų apsaugos inspekcija (State Data Protection Inspectorate), L. Sapiegos g. 17, LT-10312 Vilnius, ada@ada.lt, https://vdai.lrv.lt.
8. Processing on your behalf (GDPR Article 28)
If you send personal data in your prompts, you act as controller and we process that data on your behalf, as your processor or as a subprocessor of the marketplace through which you buy. Where the data processing terms between us and that marketplace cover this processing, they apply first; these terms apply to the extent they do not. These terms apply to that processing:
- Subject matter and purpose: generating completions for your API requests.
- Duration: for as long as you use the service; request content only while the request runs, apart from the in memory prefix cache described in section 1; metadata for the periods in section 2.
- Types of data: whatever personal data you choose to put in prompts, and the request metadata in section 2.
- Data subjects: the people your prompts are about, and your own users.
- Instructions: we process the data only to answer your requests, including the transfers described in section 3, which rely on Cloudflare's EU Data Privacy Framework certification and standard contractual clauses as Cloudflare states, unless law requires otherwise; in that case we tell you of the legal requirement before processing, unless that law forbids it. We tell you if we believe an instruction breaks data protection law.
- Confidentiality: the servers in the request path can be accessed by our staff and by the automated operations tools and AI agents we run on servers we operate, under confidentiality, and Hetzner, as the host of our relay server, has physical access to it. The AI agents we use for operations run on a third party AI model service, which may receive log excerpts, including network addresses, that an agent reads while it works. None of them reads request content, because none is stored.
- Security: the measures in section 6.
- Subprocessors: you authorise the subprocessors in section 4. We will tell you about a new or replaced subprocessor in advance, and you may object.
- Assistance: we help you answer data subject requests and meet your duties on security, breach notification and impact assessments, as far as our role allows. Since we keep no content, most requests about content have no data on our side.
- End of service: no content is kept to return or delete. Metadata is deleted on the schedule in section 2.
- Information and audit: we give you the information needed to show compliance with this section, on request to contact@mail.restful.zone, and we allow for and contribute to audits, including inspections, by you or an auditor you mandate, on reasonable notice.
- Breach notice: as in section 7.
- Liability: these data processing terms fall under the liability cap in our Terms of service (the fees paid for the service in the 3 months before the claim), except where law forbids such a cap. Nothing limits liability that cannot be limited by law.
9. Changes
We tell customers and marketplaces in advance of material changes, and of subprocessor changes as in section 8, then publish the new version with its effective date at the top.