pickers_performance_dashboard
Returns a paginated list of picker performance stats for a warehouse. All duration fields are returned in seconds. Results are ordered by score DESC by default. Please note that this query is EXPERIMENTAL and may be changed, renamed, or removed without notice. For that reason, it must not be used for integrations. This query must also be enabled as a feature for the account; otherwise, the API responds with "Feature not enabled".
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
warehouse_id | ID! | Yes | public_api warehouse id | |
date_from | ISODateTime | No | ||
date_to | ISODateTime | No | ||
first | Int | No | Page size (workforce_hero cursor pagination) | |
cursor | String | No | Cursor returned by a previous page | |
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
PickersPerformanceDashboardResult
Query
query pickers_performance_dashboard(
$warehouse_id: ID!,
$date_from: ISODateTime,
$date_to: ISODateTime,
$first: Int,
$cursor: String,
$analyze: Boolean
) {
pickers_performance_dashboard(
warehouse_id: $warehouse_id,
date_from: $date_from,
date_to: $date_to,
first: $first,
cursor: $cursor,
analyze: $analyze
) {
request_id
complexity
data {
edges {
node {
user_id
worker_name
batches
orders
units
total_picking_seconds
transition_time
time_in_job
alerted_time
score
productivity
}
}
page_info {
has_next_page
has_previous_page
start_cursor
end_cursor
}
}
}
}Variables
{
"warehouse_id": "abc123",
"date_from": ISODateTime,
"date_to": ISODateTime,
"first": 987,
"cursor": "abc123",
"analyze": true
}Response
{
"data": {
"pickers_performance_dashboard": {
"request_id": "abc123",
"complexity": 987,
"data": PickerPerformancePage
}
}
}