Privacy and data handling

Available in the API
A name sent to a sync endpoint is processed in memory and not stored. This guide lists what the API does keep, in which form and for how long, so you can describe it in your own records of processing.

Applies 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

DataKept?FormHow long
Sync request and response bodiesNoMemory onlyThe life of the request
Usage recordsYesAccount, key, environment, endpoint, time, units, error flag, cache hit. No names.Request metadata: 3 months, for billing
Access logsYesRequest id, route, status, error code, account id, key id, units, timing. No bodies.30 days
Name cacheConfigurableHashed keys, encrypted values30 days
Idempotency recordsYesHashes of the key and the body, units. Never the body.24 hours
Batch inputsUntil processedEncrypted with a key for that batchDeleted when the batch ends or is cancelled; 24 hours at most
Batch resultsYesEncrypted with the same batch keyresult_retention_days: 1 to 30, default 7
Webhook delivery logYesStatus codes and timings. No bodies.30 days
Webhook secretsYesEncryptedUntil 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"}'
Response 422
{
  "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-Cache header says hit, miss or bypass. 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 shows expired. Set result_retention_days as short as your process allows.
  • Validation errors carry the item's index, custom_id and code, never its text. Keep personal data out of custom_id and metadata: 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.sex request 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_input off 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.