GET
/
v1
/
datasets
/
{dataset_id}
/
files
/
{file_id}
/
chunks
Get dataset file chunks
curl --request GET \
  --url https://api.gbase.ai/v1/datasets/{dataset_id}/files/{file_id}/chunks
{
  "items": [
    {
      "id": "<string>",
      "text": "<string>",
      "score": 123,
      "metadata": {},
      "vector": [
        123
      ],
      "storage_type": "pinecone",
      "dataset_id": "<string>"
    }
  ],
  "total": 1,
  "page": 2,
  "size": 2,
  "pages": 1
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

dataset_id
string<uuid>
required
file_id
string<uuid>
required

Query Parameters

query
string
default:""
page
integer
default:1
Required range: x >= 1
size
integer
default:50
Required range: 1 <= x <= 1000
order_by
string

Response

200
application/json

Successful Response

The response is of type object.