Skip to main content

Overview

Fetch Document returns the full text of a single Bigdata.com document by document_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_documents or bigdata_search
  • Citation and review: Retrieving the full body alongside a citation URL for attribution
For broad discovery across many documents, start with bigdata_search. For browsing private corpus metadata (names, tags, dates), use bigdata_list_documents.

How It Works

  1. Obtain a document_id from search results, list documents, or a prior citation
  2. Call bigdata_fetch_document with that id
  3. Use the returned title and text (markdown), and keep url for 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

Use bigdata_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.