FastGPTFastGPT

Get Dataset Data Item Details

Retrieve full question, answer, signed image URLs, and vector index entries for a single dataset data item by ID.

Endpoint Overview

  • Method : GET
  • Path : /api/core/dataset/data/detail
  • Module : Datasets / Dataset Data
  • Authentication : Authorization: Bearer <apiKey>—Personal API Key (access scoped by team member permissions) (see API Getting Started )
  • Interactive Try-It-Out : Open in Scalar API Explorer (self-hosted instances: replace the origin with <instance>/apidoc/systemopenapi#tag/%E6%95%B0%E6%8D%AE%E7%AE%A1%E7%90%86/GET/core/dataset/data/detail )

Description & Notes

Retrieve detailed content and vector indexes for a single dataset data item.

Request Parameters

Query Parameters

FieldTypeRequiredDefaultConstraints & Description
idstringYes-Data item ID. pattern: ^[0-9a-fA-F]{24}$

Request Examples

Replace YOUR_API_KEY and placeholder IDs before running. Self-hosted users should replace the base URL with <instance>/api .

cURL Example

curl --fail-with-body -X GET "https://cloud.fastgpt.io/api/core/dataset/data/detail?id=68ad85a7463006c963799a05" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response Schema & Examples

Successful /api/* calls return the standard FastGPT envelope { "code": 200, "statusText": "", "message": "", "data": ... } , where data matches the 200 schema below (when a payload schema is declared; otherwise refer to the status description for runtime data semantics).

HTTP 200

Successfully returned data item details

Content-Type : application/json

FieldTypeRequiredDefaultConstraints & Description
qstringYes-Primary chunk content / question
astringNo-Supplementary answer / text
imageIdstringNo-Image ID
idstringYes-Data item ID. pattern: ^[0-9a-fA-F]{24}$
teamIdstringYes-Team ID. pattern: ^[0-9a-fA-F]{24}$
datasetIdstringYes-Dataset ID. pattern: ^[0-9a-fA-F]{24}$
collectionIdstringYes-Collection ID. pattern: ^[0-9a-fA-F]{24}$
imagePreivewUrlstringNo-Image preview URL
updateTimestringYes-Update time
sourceNamestringYes-Source name
sourceIdstringNo-Source ID
chunkIndexnumberYes-Chunk index
indexesobject[]Yes-Vector indexes
indexes[].typestring (enum)Yes"custom"Index type (external callers omit or use custom ; other types are system-generated). Allowed values: default , imageEmbedding , summary , question , image , custom
indexes[].dataIdstringYes-Optional vector store ID used to reuse matching indexes without re-embedding
indexes[].textstringYes-Indexed text content by default; for imageEmbedding , the image objectKey or URL
indexStatusstring (enum)No-Index status (absent on legacy already-indexed records). Allowed values: indexing , indexed , error , rebuildIndexPending , rebuildIndexRunning , rebuildIndexFailed , rebuildSynonymPending , rebuildSynonymRunning , rebuildSynonymFailed
indexErrorMsgstringNo-Indexing error details
imageDescMapobjectNo-Image description mapping
isOwnerbooleanYes-Whether the caller is the owner
metadataobjectNo-Custom metadata
Edit on GitHub

Last updated

On this page

Put your business knowledge to work with AI

Import company documents and build accurate, reliable, traceable AI answers.