Export

Paginated, citation-ready RAG chunk export (rag-chunks/v1)

Deterministic, paginated feed of citation-ready text chunks for entries included in the registered RAG corpus. No language model runs in the export pipeline. Emitted chunks carry the provenance fields available to that corpus entry plus a stable citation string; fields can be null, and corpus coverage is narrower than the complete source registry. Protected by the shared API-key minute/day quota; the read-only sample uses an additional trusted-client shard. Complements the page-level /api/export.

get/api/v1/rag/chunks

Request

  • Base URL: https://fonteum.com
  • URL: https://fonteum.com/api/v1/rag/chunks
  • Auth: HTTP bearer

Query parameters

limitinteger

Chunks per page; oversized values clamp to the ceiling.

cursorinteger

Opaque start index; pass back the response's next_cursor.

Response

A page of provenance-carrying chunks.

methodology_versionstring
corpus_snapshotstring
totalinteger

Total chunks in the full corpus.

limitinteger

Effective page size after clamping.

cursorinteger

Start index of this page.

next_cursorinteger nullable

Start index of the next page, or null at the end.

chunk_countinteger

Example response

{
  "methodology_version": "rag-chunks/v1",
  "corpus_snapshot": "2026-06-14",
  "chunks": [
    {
      "chunk_id": "source:nppes#overview"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.