Rest Apis parameters size limit

I use process-instance list RestAPIs. I wonder if there are any limits for parameters that accept lists like processInstanceIds or processDefinitionKeyIn? For example up to 1000 or something like that. I used processInstanceIds from another service output, and I want to know if it works if the result becomes bigger?