Skip to main content
Every account has a data use setting, which all its API keys follow: Contribute or Zero retention.
  • Zero retention. We process the recording in memory to compute your result. We keep no copy of the recording or the embeddings after the response. Jobs are the exception while they run: a job keeps its upload until it ends and its result for 7 days (or until you delete the job). We also keep request metadata (see the privacy notice).
  • Contribute. We also store a de-identified copy of the signal and may use it to develop, train and evaluate our models.
While recordings can be stored, every response says what happened to that request (data_use in the body and the Neuroencoder-Data-Use header), and GET /v1/me shows the setting. If a response has no data_use, or says zero_retention, no copy of that recording was kept (jobs keep their upload until they end and their result for 7 days).

Which keys contribute

Accepting the terms: on the page the signup email links to, tick both terms boxes where the page shows them. From code, send "accept_terms": true with the token to POST /v1/verify. An instant key’s signup call (POST /v1/signup with {"instant": true, "accept_terms": true}) accepts the terms; without accept_terms it is refused. Whoever claims an instant key ticks the boxes again. Uploads with an instant key that nobody has claimed yet are held in quarantine: stored, listable and deletable like any other, but never used for training. When the key is claimed they become regular contributions; unclaimed, they are deleted 30 days after upload. Contribute only recordings you are allowed to share for model training, for example under your participants’ consent or your ethics approval. Do not contribute protected health information under HIPAA, or clinical data you cannot share. Use a zero retention key for those.

What a contributed recording keeps

The upload is decoded in memory. Only this is stored:
  • only the channels the model uses (those mapped to a scalp region), resampled to the model’s 250 Hz, as 32-bit floats, and the number of samples; channels the model ignores (EOG, ECG, EMG, respiration, unnamed or unrecognised ones) and the original sampling rate are not kept,
  • the channel names, from a standard list (10-20, 10-10 and 10-5 electrodes and pairs of them); no label text from the file is ever stored (a name not on the list becomes ch0, ch1, …), and the scalp region of each channel,
  • the unit (volts) for EDF, BDF and FIF files,
  • a random recording_id, the account the key belongs to (the account id, not your email address), the data use setting, the terms version, the month of the upload and the model version.
Before anything is stored, each upload passes checks: it must look like EEG (not flat, an amplitude typical of EEG, a spectrum that is not white noise), and stay under a daily limit per account (128 MB of stored signal for instant keys, 1 GB for trial keys, 8 GB for others). If it fails, the request is still answered, nothing is stored, and the response says "data_use": "contribute_rejected" with data_use_reason (flatline, amplitude, spectrum or daily_cap). An exact copy of a recording your account already contributed is not stored twice: the response names the recording already stored (recording_id). Recordings of other accounts play no part in this, so a response never tells you whether anyone else uploaded the same signal. For this we keep, with each stored recording, a keyed fingerprint of its signal (an HMAC under a secret key, specific to your account, useless without that key). It is deleted with the recording, and otherwise kept at most 13 months. Never stored: the file and its name, every EDF and BDF header text field (patient and recording identification, start date and time, equipment, transducer and filter text, reserved fields), annotations, any other field you send (for example age or diagnosis), and any hash of the file. Do not upload recordings with names or other identifiers inside the signal itself. The recording’s record keeps only the month of the upload. Our storage provider records when each object was written, and our request logs record request times (kept 90 days). Contributed recordings are stored encrypted on Amazon Web Services in Frankfurt, Germany (AWS eu-central-1). Requests are processed in the United States (AWS us-east-1).

Choose per account or per request

The setting is the account’s, so one key cannot change it for all the others. A key asks, and the account owner confirms by email:
The answer is 202 {"object": "data_use_request", "status": "pending_confirmation", "data_use", "expires_at", "message"} (200 with the current setting if nothing would change). The owner address on file gets a single-use link (valid 30 minutes); the change applies to every key of the account, for later requests, once the owner confirms on that page. {"data_use": "contribute"} works the same way, and the owner ticks the terms boxes on the page: the key holder’s acceptance does not count for the account. Free accounts that contribute cannot switch back to zero retention themselves (403 zero_retention_unavailable); free accounts issued before the setting existed can opt in. Instant keys have no owner to confirm (403 owner_required): claim the key first. At most 5 requests per account per day; each emails the owner. For one request on a paid or collaboration key, send the header Neuroencoder-Data: zero-retention on POST /v1/embeddings or POST /v1/jobs. It can only lower retention. On a free key that contributes it is refused with 403 zero_retention_unavailable, so a recording you cannot share is never stored by mistake.

See and delete your recordings

A contributed request returns a recording_id; a job returns it once it has succeeded.
Deletion removes the stored signal and its record at once; there are no backup copies. Training runs that start after the deletion do not use it. Models trained before the deletion are not changed. Recordings belong to the account: every key of it lists and deletes them, including a replacement key, a key added later, or a claimed instant key (an instant key claimed into an existing account brings its uploads into that account, where they stay in quarantine: never used for training, deleted 30 days after upload). Recordings stay when a key expires. To delete them after that, or to close your account, write to max@neuroencoder.com. Recordings are kept until you delete them or close your account, and at most 5 years after upload. If you took part in a study and want your recording removed, ask the lab that recorded you: it can delete it by recording_id. You can also write to max@neuroencoder.com.