Convert CL1 H5 recording files to JSON
For automation or non-browser usage, send a POST request with a multipart file upload.
| Parameter | Type | Description |
|---|---|---|
| file* | File (.h5) | H5 recording file from CL1 device |
curl -X POST https://cortical-dac-convert.vercel.app/api/convert \ -F "file=@recording.h5"
{
"id": "conv_1749123456_abc123",
"channels": 16,
"frames": 48000,
"attributes": { "sample_rate": 25000 },
"samples": [0, -1, 2, ...]
}
}
Files larger than ~4 MB are streamed. For best results on large files, use the browser tool below.