In Camunda 8, the API POST /v2/process-instances/search does not return process instances for a date range.
When startDate and endDate are provided, the API only returns process instances that started exactly on startDate and ended exactly on endDate.
It does not return process instances that ran between these two dates (i.e., instances spanning across the time range).
Expected Behavior
The API should return all process instances that were started at any point between startDate and endDate.
Actual Behavior
Only process instances whose start time matches startDate and end time matches endDate are returned.
Example request
{
"filter": {
"bpmnProcessId": "Process_0y81gw6",
"startDate": "2026-01-27T06:12:54.488+0000",
"endDate": "2026-01-27T10:24:07.393+0000"
}
}

