Is it possible to loop a query?

For example, I want to extract all paragraphs in the PDF that contain the anchor. Right now, I’m only extracting the first match.

(cross posted into community by admin)

Adding the "match": "all" parameter to your field is how you accomplish this. In your example, adding "match": "all" would cause you to match all lines that contain your anchor. Here is the documentation for the field object, it includes an explanation of how the match parameter works.