Count samples
Count all raw data by category.
Request
- Base URLhttps://studio.edgeimpulse.com/v1
- Auth
- API key in header x-api-key
- or API key in cookie jwt
- or API key in header x-jwt-token
- or OAuth 2Authorization code/v1/oauth/authorizeClient credentialsImplicit/v1/oauth/authorizePasswordToken URL/v1/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Project ID
Query parameters
Which of the three acquisition categories to retrieve data from
Only include samples with a label within the given list of labels, given as a JSON string
Only include samples whose filename includes the given filename
Only include samples shorter than the given length, in milliseconds
Only include samples longer than the given length, in milliseconds
Only include samples with higher frequency than given frequency, in hertz
Only include samples with lower frequency than given frequency, in hertz
Include samples with either valid or invalid signatures
Include only enabled or disabled samples (or both)
Only include samples with a label >= this value
Only include samples with a label < this value
Search query
Include only samples with a particular data type
Include only samples with an ID >= this value
Include only samples with an ID < this value
Filter samples by metadata key-value pairs, provided as a JSON string. Each item in the filter list is an object with the following properties: - "key": Metadata key to filter on. - "op": Operator ("eq" for positive match, "neq" for negative match). - "values": (optional) Array of values to match/exclude. If omitted or empty, matches/excludes all values for the key. In addition to filter objects, the following option objects can be specified: - { "no_metadata": boolean } - If true, include samples without any metadata - { "filters_combinator": ("and" | "or") } - Specifies the combinator and matching mode: - "and": All filter items must match (logical AND). - "or": Any filter item may match (logical OR); samples with metadata keys not present in the filters are included.
Only include samples that where added after the date given
Only include samples that were added before the date given
Dataset version ID. If not set, the current mutable dataset is used
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.