> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neuroencoder.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Neuroencoder is a hosted EEG embeddings API (https://api.neuroencoder.com/v1). The model runs only on its servers. Python package `neuroencoder` on PyPI: client and command line tool; it does not contain the model. Precomputed real outputs need no key: GET https://api.neuroencoder.com/v1/samples lists two samples from the public Sleep-EDF data (ODC-By 1.0, attribution required): a full night's embeddings with scored sleep stages, and a 10-minute EDF with its embeddings. An instant key needs no email: POST /v1/signup with {"instant": true, "accept_terms": true} accepts the API terms (https://docs.neuroencoder.com/terms) and returns a provisional key at once (2 h of EEG, 20 requests/min, at most 120 windows per request or job, 7 days) and a claim_url that a person can open to turn the same key into a trial key. GET /v1/models also needs no key. From nothing to your own file in five commands: https://docs.neuroencoder.com/quickstart. A trial key also comes from `neuroencoder login --email <address>` or the HTTP device flow (POST /v1/signup with "device": true, then POST /v1/signup/token); a person ticks the terms boxes and approves the emailed link once. Data use (https://docs.neuroencoder.com/data-use): a response with "data_use": "contribute" stored a de-identified copy of the signal that may train our models; a response without data_use, or with "zero_retention", kept no copy (jobs keep their upload until they end and their result for 7 days). Terms: https://docs.neuroencoder.com/terms. Privacy: https://docs.neuroencoder.com/privacy. Security and vulnerability reports (security@neuroencoder.com): https://docs.neuroencoder.com/security. Main endpoint: POST /v1/embeddings with an EDF, BDF, FIF or NPY file or a JSON array; any montage, any sampling rate; one 768-dimensional vector per window. Errors are JSON with a `fix` field. Versions (https://docs.neuroencoder.com/versioning): `neuroencoder-eeg` is an alias, `neuroencoder-eeg-2026-11` a dated snapshot that never changes; pin with `model` or the Neuroencoder-Model header; responses carry model, model_snapshot and pipeline_version; deprecations get at least 6 months' notice. Support: support@neuroencoder.com (best effort, reply within 3 business days); status: https://neuroencoder.com/status. Reference: https://docs.neuroencoder.com/api. Getting started without signing up: https://docs.neuroencoder.com/instant-keys. OpenAPI: https://api.neuroencoder.com/v1/openapi.json. Sleep staging: a whole-night PSG (.edf/.bdf, at least 2 h, at least one EEG channel with a 10-20 label at 100 Hz or more; EOG used when present) as a job with "task": "sleep_staging" (POST /v1/files, PUT, POST /v1/jobs, poll, download) returns W/N1/N2/N3/REM per 30 s epoch with probabilities, a low-confidence flag, summary metrics (TST, sleep efficiency, latencies, WASO) and a CSV; it counts nights per week (trial 3, instant 1), weeks start Monday 00:00 UTC. Model neuroencoder-sleep-2026-11, trained on 1,629 nights from eight public datasets licensed for commercial use. On nights it never trained on, Cohen's kappa with EOG is 0.755 on 44 Sleep-EDF telemetry nights and 0.687 on 128 BOAS nights (YASA's pretrained classifier on the same nights: 0.732 and 0.659), and 0.672 to 0.807 across eight leave-one-site-out folds. It is behind that reference on CAP and ANPHY, and slightly below on DOD (within the confidence intervals). Guide: https://docs.neuroencoder.com/sleep-staging. Benchmark: https://docs.neuroencoder.com/sleep-benchmark.

# Changelog

> Changes to the Neuroencoder API, its models and its terms, newest first, including deprecations and their dates.

Newest first. Deprecations are announced here at least 6 months ahead (see [versions and deprecations](https://docs.neuroencoder.com/versioning.md)).

## 1 December 2026

* **Model ids.** Model ids renamed to `neuroencoder-eeg` and `neuroencoder-sleep`; old ids still accepted. Responses carry the new ids. In sleep-staging results, the list of EEG channels used for the embeddings (in `channels_used` and `input.plan`) is now called `embedding`. The models and their output are unchanged.

## 28 November 2026

* **Versions.** Dated model snapshots for embeddings and sleep staging, with an alias for each (see [versions](https://docs.neuroencoder.com/versioning.md)). You can pin one with `model` or the `Neuroencoder-Model` header. Responses now carry `model_snapshot` and `pipeline_version` (`2026-11-28`). The API version `2026-11-28` is sent in the `Neuroencoder-Version` header and can be pinned with it. Existing requests behave as before.
* **Status and support.** Public status page at [neuroencoder.com/status](https://neuroencoder.com/status). Support at [support@neuroencoder.com](mailto:support@neuroencoder.com), with replies within 3 business days (best effort).
* **Keys.** New scope `keys:manage` for listing, requesting, revoking and rolling the account's keys (API 2.7.0). Existing keys that had both API scopes received it.

## 16 November 2026

* **Sleep staging.** Version 3 of the sleep stager replaced v2. It was trained on 1,629 nights from eight public datasets; see the [benchmark](https://docs.neuroencoder.com/sleep-benchmark.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.