Datasets
List rows under a dataset
Lists rows under a dataset. The rows are returned in the order they were added to the dataset.
GET
/
api
/
datasets
/
{id}
/
rows
Authorization
Header
Body
curl --request GET \
--url https://app.baseplate.ai/api/datasets/{id}/rows \
--header 'Authorization: <authorization>' \
--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
Header
Authorization
string
requiredBaseplate 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
π’ 200: OK
π 401: Unauthorized
[
{
"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
}
]
curl --request GET \
--url https://app.baseplate.ai/api/datasets/{id}/rows \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"offset": 123,
"page_size": 123,
"filter": {}
}'