Get Cluster Response
GET/optimize/cluster/:request_id
Get Cluster Response
Request
Path Parameters
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- Array [
- ]
- ]
Default value: CLUSTER
The site name of the site.
The id of the wave.
The ObjectId of the corresponding request.
The timestamp of the response.
Time our algorithm spent calculating.
An error message, if an error occurred.
invalid_picks object[]
Invalid picks that were not included in the output route, because they were not valid.
ID to unique identify this pick
The location(s) of the pick in the warehouse.
The sequence number of the pick in the as-is route.Required for calculating as-is distances.
Higher priority picks are picked first.
The id of the SKU on the location.
The quantity of the SKU to pick from the location.
The order id of the pick.
The handling unit id of the pick.
The handling unit type of the pick.
Possible values: [Location not found
, No matching regex
, Order contains invalid pick
]
The reason why the pick is invalid.
Default value: cm
The unit of the distance values
Data passed through from the input.
asis_clusters object[]
The as-is clusters. Only calculated if the provided input picks respects the provided stop conditions
The list_id of the cluster. This is assigned by the clustering algorithm in the case of optimal clusters.In the case of as-is clusters, this is the list_id of the as-is cluster.
picks object[]
The picks in the cluster.
ID to unique identify this pick
The location(s) of the pick in the warehouse.
The sequence number of the pick in the as-is route.Required for calculating as-is distances.
Higher priority picks are picked first.
The id of the SKU on the location.
The quantity of the SKU to pick from the location.
For clustering, the order id of the pick.
The handling unit id of the pick.
The handling unit type of the pick.
For clustering, the as-is list/cluster the pick belongs to.Required for calculating as-is clusters.
The sequence of the pick in the optimized cluster using the routing policy defined in the cluster parameters. (Only used in the optimized cluster output).
For clustering, The width of the SKU.
For clustering, The height of the SKU.
For clustering, The depth of the SKU.
For clustering, The weight of the SKU.
Default value: ``
All the order_ids of the picks in the cluster.
The estimated distance of the cluster.
Default value: true
Whether the as-is clusters respect the provided stop conditions.
optimal_clusters object[]
The optimal clusters.
The list_id of the cluster. This is assigned by the clustering algorithm in the case of optimal clusters.In the case of as-is clusters, this is the list_id of the as-is cluster.
picks object[]
The picks in the cluster.
ID to unique identify this pick
The location(s) of the pick in the warehouse.
The sequence number of the pick in the as-is route.Required for calculating as-is distances.
Higher priority picks are picked first.
The id of the SKU on the location.
The quantity of the SKU to pick from the location.
For clustering, the order id of the pick.
The handling unit id of the pick.
The handling unit type of the pick.
For clustering, the as-is list/cluster the pick belongs to.Required for calculating as-is clusters.
The sequence of the pick in the optimized cluster using the routing policy defined in the cluster parameters. (Only used in the optimized cluster output).
For clustering, The width of the SKU.
For clustering, The height of the SKU.
For clustering, The depth of the SKU.
For clustering, The weight of the SKU.
Default value: ``
All the order_ids of the picks in the cluster.
The estimated distance of the cluster.
{
"type": "CLUSTER",
"site_name": "string",
"wave_id": "string",
"request_id": "string",
"timestamp": "2025-08-05T23:45:09.405Z",
"computation_time": 0,
"error": "string",
"invalid_picks": [
{
"pick_id": "string",
"location_id": [
"string"
],
"asis_sequence": 0,
"priority": 0,
"sku_id": "string",
"quantity": 0,
"order_id": "string",
"hu_id": "string",
"hu_type": "string",
"location_id_processed": [
null
],
"reason": "Location not found"
}
],
"unit": "cm",
"extra": {},
"asis_clusters": [
{
"list_id": "string",
"picks": [
{
"pick_id": "string",
"location_id": [
"string"
],
"asis_sequence": 0,
"priority": 0,
"sku_id": "string",
"quantity": 0,
"order_id": "string",
"hu_id": "string",
"hu_type": "string",
"location_id_processed": [
null
],
"list_id": "string",
"optim_sequence": 0,
"sku_width": 0,
"sku_height": 0,
"sku_depth": 0,
"sku_weight": 0
}
],
"order_ids": [
"string"
],
"estimated_distance": 0
}
],
"asis_respected": true,
"optimal_clusters": [
{
"list_id": "string",
"picks": [
{
"pick_id": "string",
"location_id": [
"string"
],
"asis_sequence": 0,
"priority": 0,
"sku_id": "string",
"quantity": 0,
"order_id": "string",
"hu_id": "string",
"hu_type": "string",
"location_id_processed": [
null
],
"list_id": "string",
"optim_sequence": 0,
"sku_width": 0,
"sku_height": 0,
"sku_depth": 0,
"sku_weight": 0
}
],
"order_ids": [
"string"
],
"estimated_distance": 0
}
],
"asis_distance": 0,
"optimal_distance": 0
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- MOD2
- ]
- ]
detail object[]
loc object[]required
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}