Search inside the files
The extracted text is simply part of what gets searched, so a query can match words that appear only inside a document, not just in its title.
A phrase from deep in a paper
“Scaled dot-product attention” appears in no title or summary. Search it and that paper surfaces first, with the matching passage pulled straight out of the PDF.
The call your page makes
The same search endpoint every other lesson uses:
GET https://api.searchstack.dev/search/Demo/docs/1?query=scaled dot-product attention
X-API-Key: {your key}
Each hit comes back with the record's fields, ready to display.
Go deeper: Searching — queries, filters, and what comes back with a hit in the reference.