Skip to main content

Overview

List stored text and summary chunks from a text namespace. Returns one page at a time (up to 100 items). Use --next-token from the previous response to fetch the next page.

Command

moorcheh fetch-text-data --namespace-name <name> [--limit 100] [--next-token <token>]

API

GET /namespaces/{namespace_name}/documents/fetch-text-data — see Fetch text data

Options

--namespace-name
string
required
Text namespace to read from.
--limit
integer
Page size. Default 100, maximum 100.
--next-token
string
Cursor from pagination.next_token in a previous response.
--base-url
string
API base URL. Default: http://localhost:8080

Examples

# First page
moorcheh fetch-text-data --namespace-name my-documents

# Next page
moorcheh fetch-text-data --namespace-name my-documents --next-token eyJ...