Actions37
- 对话 Actions
- 知识库 Actions
- 集合 Actions
- 数据 Actions
- 应用 Actions
数据 → 获取数据列表
AI-generatedSummary
Fetches a paginated list of data entries (q/a records) in a FastGPT knowledge-base collection, with optional fuzzy keyword search, by calling POST /core/dataset/data/v2/list.
Inputs
- dataKnowledgeId (required) — 选择知识库: dropdown of knowledge bases (type 'dataset', loaded from /core/dataset/list at root and sorted by name). Sent as datasetId.
- dataCollectionId (required) — 集合ID: ID of the collection inside the knowledge base whose data is listed. Sent as collectionId.
- dataPageNum — 偏移量: pagination offset, starting at 0 (default 0). Sent as offset.
- dataPageSize — 每页数量: items per page (default 30, documented maximum 30). Sent as pageSize.
- dataSearchText — 搜索文本: keyword for fuzzy search over data content. Sent as searchText; empty by default.
- requestOptions — Node-level request settings: batching (items per batch, interval), ignore SSL issues, proxy, and timeout (default 10000 ms).
Output shape
The parsed JSON response from the FastGPT API, returned as-is. It typically holds the list of data entries for the requested page. The source does not define the exact fields.
The source has no field mapping or pagination loop. To fetch more pages, increase the offset yourself. The request uses the baseURL from the fastGPTApi credentials. HTTP 4xx/5xx responses, or a body
codeother than 200, throw a NodeApiError that carries the API's message.
Examples
Example 1: List the first 30 entries in a collection
Select the knowledge base, set 集合ID to the collection ID, and leave offset 0 and page size 30.
Example 2: Search entries mentioning a keyword
Select the knowledge base, set 集合ID, set 搜索文本 to 'refund', and keep the default paging.
Example 3: Read the second page of results
Set 偏移量 to 30 and 每页数量 to 30, with the knowledge base and collection ID set.