Skip to main content

DatasetItemsPage

A page of dataset items returned by the list_items method.

Dataset items are arbitrary JSON objects stored in the dataset, so they cannot be represented by a specific Pydantic model. This class provides pagination metadata along with the raw items.

Index

Properties

count

count: int

Number of items in this page.

desc

desc: bool

Whether the items are sorted in descending order.

items

items: list[dict[str, Any]]

List of dataset items. Each item is a JSON object (dictionary).

limit

limit: int

The limit that was used for this request.

offset

offset: int

The offset of the first item in this page.

total

total: int

Total number of items in the dataset.

Page Options