Dataset

Get all datasets

Beta
GET

Query parameters

pageintegerOptional
Page number starting from 1
page_sizeintegerOptional
Number of items per page

Response

This endpoint returns an object
datasets
list of objects
total
integer
page
integer
page_size
integer
pages
integer
GET
1curl https://api.athenaintelligence.ai/api/v0/datasets \
2 -H "X-API-KEY: <apiKey>"
200Retrieved
1{
2 "datasets": [
3 {
4 "id": "sdataset_02329f1b-f6ad-4e93-be84-355c3bb8524b",
5 "database_id": 1,
6 "name": "Sample Dataset",
7 "description": "This is a sample dataset",
8 "schema_details": "DDL and three rows of data"
9 }
10 ],
11 "total": 100,
12 "page": 1,
13 "page_size": 10,
14 "pages": 1
15}