List datapoints for a dataset
datasets.list_datapoints(strid, DatasetListDatapointsParams**kwargs) -> DatasetListDatapointsResponse
GET/api/datasets/{id}/datapoints/
CRUD for versioned datasets.
Datapoints are never exposed directly — they can only be read via
GET /api/datasets/{id}/datapoints/ or created as part of
POST /api/datasets/. To mutate data, POST a new dataset version.
Parameters
id: str
formatuuid
agent: Optional[str]
formatuuid
generator_model: Optional[str]
ordering: Optional[str]
Which field to use when ordering the results.
page: Optional[int]
A page number within the paginated result set.
search: Optional[str]
A search term.
version: Optional[int]
version_max: Optional[int]
version_min: Optional[int]
Returns
List datapoints for a dataset
from overmind_lab import OvermindLab
client = OvermindLab()
response = client.datasets.list_datapoints(
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)
print(response.count){
"count": 123,
"results": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"expected_output": {},
"input": {},
"order": 0,
"persona": "persona",
"tags": {}
}
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Returns Examples
{
"count": 123,
"results": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"expected_output": {},
"input": {},
"order": 0,
"persona": "persona",
"tags": {}
}
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}