Skip to navigation

Get behavior clusters

View as Markdown

Retrieve behavior-clustering results for a sensor over a time range, with optional cluster, sample-size, and distance filters.

Query parameters

sensorIdstringRequiredformat: "^.{0,10000}$"<=10000 characters
clusterIndexstringOptionalformat: "^.{0,10000}$"<=10000 characters
maxClusterSampleSizelongOptional1-100Defaults to 100
fromTimestampdatetimeRequired
toTimestampdatetimeRequired
minBehaviorDistancedoubleOptional>=0Defaults to 30

Response headers

Access-Control-Allow-OriginstringOptionalformat: "^.{0,10000}$"<=10000 characters

CORS header to allow cross-origin requests.

X-RateLimit-LimitintegerOptional
The maximum number of requests allowed in the current time period.
X-RateLimit-RemainingintegerOptional
The number of requests remaining in the current time period.
X-RateLimit-ResetintegerOptional

The time when the rate limit will be reset (Unix timestamp).

Response

Successful Operation.
clusterslist of objects
clusterIndexstringformat: "^.{0,10000}$"<=10000 characters
modelVersionstringformat: "^.{0,10000}$"<=10000 characters
labelstring or nullformat: "^.{0,10000}$"<=10000 characters
countlong0-10000
sampledBehaviorslist of objects

Errors

400
Bad Request Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error