Count samples

GET {{baseUrl}}/api/:projectId/raw-data/count?category=<string>&labels=<string>&filename=<string>&maxLength=<integer>&minLength=<integer>&minFrequency=<number>&maxFrequency=<number>&signatureValidity=<string>&includeDisabled=<string>

Count all raw data by category.

Request Params

KeyDatatypeRequiredDescription
categorystring(Required) Which of the three acquisition categories to retrieve data from
labelsstringOnly include samples with a label within the given list of labels, given as a JSON string
filenamestringOnly include samples whose filename includes the given filename
maxLengthstringOnly include samples shorter than the given length, in milliseconds
minLengthstringOnly include samples longer than the given length, in milliseconds
minFrequencystringOnly include samples with higher frequency than given frequency, in hertz
maxFrequencystringOnly include samples with lower frequency than given frequency, in hertz
signatureValiditystringInclude samples with either valid or invalid signatures
includeDisabledstringInclude only enabled or disabled samples (or both)

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;count&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}