> ## 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.

# Support and status

> How to get help with the Neuroencoder API, how fast we reply, where to see whether the service is up, and what availability we promise (none: best effort).

## Support

Write to [support@neuroencoder.com](mailto:support@neuroencoder.com). We aim to reply within **3 business days** (Zurich). Include the `x-request-id` header of a failing request, the endpoint and the time. Do not send recordings or API keys by email.

Neuroencoder is run by a very small team. Replies may be slower during holidays and other absences.

| For | Write to |
| - | - |
| Help with the API, errors, limits | [support@neuroencoder.com](mailto:support@neuroencoder.com) |
| Access beyond the trial, collaborations, agreements | [contact@neuroencoder.com](mailto:contact@neuroencoder.com) |
| Vulnerabilities | [security@neuroencoder.com](mailto:security@neuroencoder.com) ([policy](https://docs.neuroencoder.com/security.md)) |
| Your personal data | [max@neuroencoder.com](mailto:max@neuroencoder.com) ([privacy notice](https://docs.neuroencoder.com/privacy.md)) |

## Status

[neuroencoder.com/status](https://neuroencoder.com/status) shows whether the API is up. A check in AWS us-east-1 updates it every 5 minutes. The check calls `GET /healthz` and reads two alarms: server errors above the alert threshold, and a daily end-to-end test that signs up a key, computes embeddings and runs a full-night sleep-staging job. If the page has not been updated for 15 minutes, it shows the status as unknown.

## Availability

The API is a research preview, offered on a **best-effort basis with no service level agreement**. We do not promise uptime, latency or response times, and we may pause the service for maintenance or cost reasons. Failed requests are not billed. For long recordings, use [jobs](https://docs.neuroencoder.com/api.md#jobs-for-long-recordings) and retry on `503` with `Retry-After`.


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