Skip to content
getgeolens.com

Get Dataset Rows Endpoint

GET
/datasets/{dataset_id}/rows/
curl --request GET \
--url 'https://example.com/api/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/rows/?limit=50&after=0' \
--header 'Authorization: Bearer <token>'

Get keyset-paginated rows from a dataset’s data table.

Uses cursor-based pagination: pass after (gid) to fetch the next page. Supports column filtering via query params: filter[column_name]=value.

dataset_id
required
Dataset Id
string format: uuid
limit
Limit
integer
default: 50 >= 1 <= 500
after
After
integer
0

Successful Response

Media type application/json
DatasetRowsResponse
object
columns
required
Columns
Array<object>
ColumnChange
object
name
required
Name
string
type
required
Type
string
rows
required
Rows
Array<object>
object
key
additional properties
any
approximate_total
required
Approximate Total

Estimated total row count (may use pg stats)

integer
next_cursor
Any of:
integer
Example generated
{
"columns": [
{
"name": "example",
"type": "example"
}
],
"rows": [
{}
],
"approximate_total": 1,
"next_cursor": 1
}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}