Privacy and data handling
Available in the APIApplies to every endpoint in the API today. The full terms are being prepared (see Terms); once published, they govern where they differ from this page.
Names, not people
The API compares and renders name strings. It never looks a name up anywhere, never says that two records belong to one person, and never infers gender, religion, nationality or origin.
What the API keeps
| Data | Kept? | Form | How long |
|---|---|---|---|
| Sync request and response bodies | No | Memory only | The life of the request |
| Usage records | Yes | Account, key, environment, endpoint, time, units, error flag, cache hit. No names. | Request metadata: 3 months, for billing |
| Access logs | Yes | Request id, route, status, error code, account id, key id, units, timing. No bodies. | 30 days |
| Name cache | Configurable | Hashed keys, encrypted values | 30 days |
| Idempotency records | Yes | Hashes of the key and the body, units. Never the body. | 24 hours |
| Batch inputs | Until processed | Encrypted with a key for that batch | Deleted when the batch ends or is cancelled; 24 hours at most |
| Batch results | Yes | Encrypted with the same batch key | result_retention_days: 1 to 30, default 7 |
| Webhook delivery log | Yes | Status codes and timings. No bodies. | 30 days |
| Webhook secrets | Yes | Encrypted | Until you delete the endpoint |
Errors and logs
Errors name the field and, for refused characters, their positions. They never echo the name.
An error names the field and positions, never the name
curl https://api.arabinames.assentify.com/v1/transliterate \
-H "Authorization: Bearer $ARABINAMES_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"Rami 😀","target_script":"arab"}'{
"type": "https://arabinames.assentify.com/docs/errors#invalid_name_characters",
"title": "Invalid name characters",
"status": 422,
"code": "invalid_name_characters",
"detail": "Disallowed characters at positions 0 of a token.",
"param": "text",
"request_id": "req_example",
"doc_url": "https://arabinames.assentify.com/docs/errors#invalid_name_characters",
"positions": [
0
]
}The gateway's answer, with its request id replaced. Errors bill zero units.
The gateway's access log is one line per request with ids, the route, the status, the error code, units and timing. Request and response bodies are never written to it.
The name cache
- Repeated names are answered from a cache to cut latency. The cache key is an HMAC of the cleaned name and the call's parameters under a secret pepper; the value is encrypted with a key derived from the name itself, so the store alone cannot be read back.
- Entries live 30 days. The engine version is part of the key, so a new engine version starts cold.
- Account modes: shared with hashed keys (the default), hashed per account, or off. Send
cache: "bypass"on a call to skip the cache for that call. Test keys never use it. - The
Assentify-Cacheheader sayshit,missorbypass. A hit bills the same units.
Batches
- Each batch gets its own data key. Inputs are sealed with it before they are stored, and deleted when the batch ends, is cancelled or reaches 24 hours.
- Results stay sealed until
results_expire_at, then are deleted and the batch showsexpired. Setresult_retention_daysas short as your process allows. - Validation errors carry the item's index,
custom_idand code, never its text. Keep personal data out ofcustom_idandmetadata: they are kept with the batch and returned as given.
Details are in the batches and webhooks guide.
Webhooks
Event payloads carry ids, counts and codes, never names. Batch results are fetched with your API key, not pushed. Endpoints must be HTTPS on a public address, checked before every delivery.
Metadata about strings
- With the engine's v2 pipeline, a transliteration can say what kind of string it holds (
entity_type: person name, place or other) and each token's part (name_part: given, family, place, particle, honorific, other). These describe the string, from the engine's lists and rules, never a person. - Only on request, with
include: ["lexicon_lists"]on transliterate, each token can say which of our lists it was found in, for example "given name, male list". That is a property of the string in our lists. It does not say what sex, family or origin anyone has, and many strings are in several lists. - The
hints.sexrequest field is yours to send when your record already holds it. The API only echoes it; see the hints guide.
On your side
- Send only the name. The API needs no date of birth, document number or other identifier.
- Leave
echo_inputoff unless you need the cleaned input back; it is returned, not stored. - Use test keys in development and CI: they answer from fixtures and never reach the engine.
- Quote the
request_id, not the name, when you write to support.