Overview
Fetch Document returns the full text of a single Bigdata.com document bydocument_id, converted from annotated RPJSON to markdown. Use it when you need the complete document rather than ranked snippets from search.
When to Use
Fetch Document is ideal for:- Full-document reading: Opening a known document end-to-end from the private or public corpus
- Follow-up from discovery: Loading a document after identifying its id via
bigdata_list_documentsorbigdata_search - Citation and review: Retrieving the full body alongside a citation URL for attribution
How It Works
- Obtain a
document_idfrom search results, list documents, or a prior citation - Call
bigdata_fetch_documentwith that id - Use the returned
titleandtext(markdown), and keepurlfor attribution
Parameters
Data Returned
If the document is not found or still processing, the response returns an empty id with a clear message in
text.
Practical Tips
From list to full text
Usebigdata_list_documents to find documents by connector, tag, or date, then pass the resulting id here to read the complete content.
From search to full text
bigdata_search returns relevant chunks. When a result warrants a full read, fetch that document by id for the complete markdown body.