How can I get the required amount of raw data for spectral analysis via the API?

Screenshot from 2025-02-06 16-34-53

For example, in the project in the picture, I would need the information “312” via the Edge Impulse API. Is that possible?

Actually solved it already. It can be calculated as (windowLength / intervalMs) * len(inputAxes).