Skip to main content

API Reference

All endpoints are available through the NeuroFusion backend at https://usefusion.ai/api/eeg-models/ or directly on the GPU server at https://models.usefusion.ai/.

Health Check

Check GPU availability before sending inference requests.
Response (GPU running):
Response (VM deallocated):

Wake GPU VM

Start the GPU VM if it’s deallocated. The VM takes ~90 seconds to boot.
Response:

VM Status

Response:
Possible vmStatus values: running, deallocated, starting, stopping, deallocating

Run ZUNA Inference

If the GPU VM is deallocated, this returns HTTP 202 with a retry instruction. Check health first or handle the 202 response.

Request Body

Response (JSON format)

Response (CSV format)

Response (HTTP 202 — GPU warming up)

CSV Input Format

Your CSV should have columns for each EEG channel. An optional timestamp column is supported but not required.

Neurosity Crown

Muse

Important: Values should be in microvolts (µV). The API automatically converts to volts for MNE processing and back to µV for the output.

Error Responses

Code Examples

JavaScript/TypeScript

Python

cURL