GET
/
api
/
datasets
/
{id}
/
rows
curl --request GET \
  --url https://app.baseplate.ai/api/datasets/{id}/rows \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "offset": 123,
  "page_size": 123,
  "filter": {}
}'

List rows under a dataset.

Lists data rows, with options for metadata filtering and pagination.

Parameters

Authorization
string
required

Baseplate API key. Needs to be in the format โ€œBearer &BASEPLATE_API_KEYโ€

Content-Type
string

Use application/json

Body

offset
number

Optional offset for pagination.

page_size
number

Optional page size.

filter
object

Optional metadata filter. Uses Pinecone filter syntax: https://docs.pinecone.io/docs/metadata-filtering

[
  {
    "id": 329904,
    "dataset_id": "5bfd34e3-f7de-4b80-b3d0-841494056e9e",
    "data": {
      "text": "This is a test document."
    },
    "embedding_vector_ids": {
      "text": "5aa6a774ec"
    },
    "metadata": {
      "date": "10/15/2022",
      "rowId": 329904,
      "documentId": "doc1"
    },
    "document_id": "doc1",
    "image_paths": null
  }
]