Documentation
Wizard, the Dydema EEG API
Describe an EEG classification task, send labeled trials, and get back a hosted classifier chosen by how well it does on your own data. One key, one base URL, one error shape, and a usage receipt on every response.
Build with an AI assistant
Help me use the Dydema EEG API in this project: developers.dydema.com/llms.txtWhat it is
The API is Wizard, a mixture model for EEG classification: licensed pretrained models and classical methods, and a procedure that picks among them for each task. You describe the task and send labeled trials. Wizard selects the methods that fit your montage and sampling rate; each is fitted and scored on your own trials, and the best is hosted as your task model. New trials sent to its prediction route come back with a label and the probability of every class.
Wizard accepts any sampling rate, any trial length and any 10-10 or 10-20 layout, so you can send what your amplifier recorded. It supports event-related potentials, motor imagery and movement, and sleep staging, and fits other tasks on your data; it refuses emotion recognition and clinical uses. Every response says what it cost.
| Base URL | https://dydema--eegapi-gateway.modal.run/v1 |
| Authentication | Authorization: Bearer $DYDEMA_API_KEY (details) |
| Task models | /v1/task-models: create, predict, list, expire, delete (guide) |
| Usage | GET /v1/usage (details) |
| Format | JSON request and response bodies |
| Errors | {type, code, message, field, alternatives, details} (every code) |
| Region | United States |
What happens to a request
- Authentication. Your key is checked; a revoked key stops working on the next request.
- Limits. Permission, request size, rate limit, spending cap and concurrency are checked in that order; each refusal has its own code and costs nothing.
- Selection. On a create, Wizard reads your description and the dataset’s shape (channel names, rate, trial length, classes), never the signal, and chooses the methods to test.
- Test. Each method is fitted on part of your trials and scored on the rest; the best is refitted on all of them and hosted (how trials are prepared).
- Receipt. The response carries the result (a task model with its
training_report, or one label per trial) and what it cost, with a request id inX-Request-Id.