cURL
curl --request GET \ --url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/data-quality/diversity/exists \ --header 'x-api-key: <api-key>'
{ "success": true, "error": "<string>", "hasFeatures": true, "inputBlock": { "id": 2, "type": "time-series", "name": "Time series", "title": "Time series", "windowSizeMs": 2004, "windowIncreaseMs": 123, "frequencyHz": 60, "classificationWindowIncreaseMs": 123, "padZeros": true, "labelingMethodMultiLabel": { "type": "end-of-window", "labels": [ "<string>" ] }, "imageWidth": 28, "imageHeight": 28, "resizeMode": "squash", "resizeMethod": "squash", "cropAnchor": "middle-center", "createdBy": "createImpulse", "createdAt": "2023-11-07T05:31:56Z", "datasetSubset": { "includePercentage": 123, "seed": 123 } } }
Determine if data diversity metrics have been calculated. To calculate these metrics, use the calculateDataQualityMetrics endpoint.
calculateDataQualityMetrics
Project ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
Show child attributes
Was this page helpful?