Hi JB,
I am assuming its a public accessible API, so no token required.
It seems you want to filter out every document which has the field “Code” and its content starts with “BG-”.
try: http://localhost:8400/api/content/items/Books?filter={Code: {$regex: “/^BG-/”}}&populate=1