Check what agents will receive
Follow your files while quarry prepares them, read the passages it cut, and see what an agent gets before you publish.
Agents pay for passages, not for your files, so the passages are what you're selling. This page shows how to check them while your dataset is still a draft.
Follow your files
While quarry works on a file, its card on the Files tab shows Queued, then Preparing. Once the file is ready, the card shows its first page, or the first lines of a text or data file. The table view lists how many passages each file has. Large files and scanned PDFs take a few minutes. When every file is ready, quarry says so at the top of the tab.
If a reading service is busy or doesn't answer, the card shows Retrying soon and quarry tries again a few minutes later, up to three times in all.
Text recognition (OCR) for scanned PDFs reads a set number of pages a day. Beyond that limit, a short scan is read another way, more slowly, and a long one waits: its card shows Waiting for OCR capacity, and the file resumes on its own within a day. Like a file being prepared, it holds up publishing, so remove it if you'd rather publish without it.
A file that shows Needs attention couldn't be read. Its card says why and what to do, for example:
- the PDF has more than 2,000 pages (1,000 for a scan), or the file produced too many passages, so it needs to be split;
- the file is password-protected;
- the file's contents don't match its name, as in a spreadsheet renamed to .docx;
- no readable text was found, as in a photo with no words in it;
- the upload stopped before the file arrived (the card then shows Upload didn't finish).
When running it again could help, the card offers Retry, and the "Retry 2 failed" button (it shows your own number) at the top of the tab retries them all. You can retry a file three times. After that, or when a retry wouldn't help, the card offers Remove: fix the file and upload the corrected copy. A file that needs attention doesn't stop you from publishing the others.
Delete a file
While the dataset is a draft, open the file's ⋮ menu on the Files tab, choose Delete, and confirm with Delete file. The file and its passages are gone for good. Past questions and payments stay: in Recent questions, Answered by shows a dash where the passage came from that file.
Open a file
Open a file to see your document on the left and the passages agents receive on the right.


- Passages are listed in order, grouped by page. "No page" means the file has no pages, as with text files and images. Passages of CSV, TSV, JSON, and JSON Lines files show the rows they hold instead, such as "Rows 120–158".
- When quarry knows where a passage sits, as it usually does in PDFs, PowerPoint decks, and Markdown files, the target icon on the passage (Show in document) outlines it in your document. A passage's file name in the Agent question preview and Answered by in Recent questions open the file on that passage the same way.
- A passage that agents received says how often, such as "Used in 12 answers".
- Search passages finds a word or a heading across the whole file, and Copy passage copies one.
If quarry had trouble reading a file, as can happen with a scan or a photo, its card on the Files tab says Hard to read, and the top of the file says "This file was hard to read." Skim a few of its passages. If the text looks wrong, delete the file and upload a cleaner copy, such as a PDF exported from Word rather than a scan.
While the dataset is a draft, you can read a file again from scratch with Process again. Its passages are replaced, so their "Used in" counts start over. The files of a live dataset are locked: unpublish it first.
See what an agent gets
On Settings, the Preview beside your listing has an Agent question view. It runs the same search agents do and shows what an agent receives for one question (see Check your listing):
- It starts with the first of your Example questions that your passages answer. Pick another in the list, or Your own question… to type one.
- The passages come in the order an agent gets them, each with its file and page, or the rows it holds. Click a file's name to open the file on that passage.
- It asks for 5 passages, as an agent does unless it asks for another number, from 1 to 20. A question never returns more than a fifth of your passages, so a small dataset returns fewer; the preview then says how many.
- Under Example questions, See what an agent gets opens it on the first question your passages don't answer.
Asking here is free, and these questions don't show up in your sales.
When the passages aren't right
quarry checks each question against the passages it found. When it finds that none answers the question, the agent gets nothing and pays nothing: the Agent question preview then says No passage answers this. When passages answer only part of it, the agent still pays.
That check is automated and can be wrong either way: a question your files answer can come back empty, and one they don't answer can come back with passages the agent pays for. Before you publish, ask the questions buyers will ask, and use your description to say what your files cover.
- If the text looks garbled, upload a cleaner copy, such as a PDF exported from Word rather than a scan.
- If a topic is missing, add the file that covers it.
- If passages cut across unrelated sections, add clear headings to the file and upload it again.
Once the passages look right, set your price and publish.