difference in the APIs between the DXP and the CE versions

one quick question - is there a difference in the APIs between the DXP and the CE versions? I’m asking as we also have a test environment on CE, whose API doesn’t take into consideration the filter - e.g.:

/o/headless-admin-user/v1.0/roles?pageSize=40&filter=name eq ‘SomeRole’

on DXP it returns only the role with the specified name (correct).

but on CE:

/o/headless-admin-user/v1.0/roles?pageSize=40&filter=name eq ‘SomeRole’

returns all roles. We’ve tried with name, id, etc. - it behaves as if it does not take it into account at all…

There should be no difference in API as long as the versions are the same.

That said, if you are a DXP client, you qualify to receive non-production licenses that you should be using in your test environment, and developer licenses for local developer testing.

You should never be using CE when you are a DXP client. They have slightly different feature sets, they have different release cadences, DXP will get fixes that CE does not, …

Using CE is your mistake, not whether the filters are working or not.