Camunda 8 POST API /v2/process-instances/search does not return process instances for a date range.

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"
  }
}

Hi @MeghanaRathod
If you check Search process instances | Camunda 8 Docs you will see that by default it’s an exact match:

But you might want to try an advantage filtering:

for example, something like the following:
{
“filter”: {
“startDate”: {
“$gte”: “2026-02-01T00:00:00.000Z”,
“$lte”: “2026-02-15T23:59:59.999Z”
}
}
}

Regards,
Alex

1 Like