Raw data
Get diversity metrics data
Obtain metrics that describe the similarity and diversity of a dataset. To calculate these metrics, use the calculateDataQualityMetrics endpoint.
get/api/{projectId}/raw-data/data-quality/diversity
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
projectIdinteger required
Project ID
Response
OK
Example response
{
"data": [
{
"clusterInfos": [
{
"samples": [
{
"id": 2,
"filename": "idle01.d8Ae",
"signatureValidate": true,
"signatureMethod": "HS256",
"label": "healthy-machine",
"intervalMs": 16,
"frequency": 62.5,
"originalIntervalMs": 16,
"originalFrequency": 62.5,
"sensors": [
{
"name": "accX"
}
],
"datastreams": [
{
"sensors": [
{
"name": "accX"
}
]
}
]
}
]
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.