Documents
What it answers: which documents does the agent actually use, and which indexed content is never retrieved?
The page has two tabs, Consulted (default) and Never retrieved (?tab=never-retrieved), and the range control.
Consulted
Section titled “Consulted”One row per document (ctxflow.source_id), most retrieved first, with the unattributed group last:
| Column | Meaning |
|---|---|
| Document | The source id |
| Chunks | Distinct chunks retrieved |
| Retrieved | How many times the agent was handed a chunk of it (the chunks delivered to the model): a chunk counts once per turn, however many searches returned it. Also “in N turns”. The number links to the conversations that retrieved it |
| Versions | The latest source_version, and “+N earlier”; “none declared” when there is none |
| Last retrieved | Time |
Expand a row to see its chunks: chunk id, times retrieved, version.
Unattributed
Section titled “Unattributed”Chunks that arrive with no ctxflow.source_id cannot be assigned to a document. They form one group, Unattributed (badge “no source”), listed last. A line above it says how many of the retrievals declare no source (“Unattributed: 12 of 80 retrievals (15 %) declare no source”) and links to the ingestion guide. When the group is not on the current page, the line says it is listed on the last page. To attribute them, store the source identity in the chunk metadata when you index: see Source identity and Ingestion.
Needs S4. Without S5, names and versions are not available.
Never retrieved
Section titled “Never retrieved”Live chunks (or documents with at least one such chunk) that no agent retrieved in the range: the index minus what was consulted. Switch between documents and chunks.
A check beside the figure compares the ids the agent retrieved with the chunk ids your ingestion wrote (“ids in index”). If they do not match, every chunk would look never retrieved, so the figure says it is partial or “n/a” and the list may be too long. Fix it by returning the same chunk ids from the retriever as your ingestion writes.
Needs S4 and S9 (index writes from your instrumented ingestion). Chunks replaced by a re-ingestion stay live here until you report the deletion.
Related
Section titled “Related”- Instrument: retrieval and source identity, ingestion.
- Concepts: data model, context delivered. The Never retrieved count is a tile on Health.
- API:
GET /api/projects/<projectId>/catalog/documents,.../catalog/chunks,GET /api/environments/<environmentId>/data/never-retrieved(HTTP API).