1Get Datasets and Folders Listing
Overview
This API retrieves the list of available Datasets along with their associated folders, with support for filtering, pagination, and search operations.
Method: GET
Request URL: {kyvos-url}/rest/v2/datasets
Authorization
API Key: sessionid
This method authenticates requests using a session ID which acts like an API key.
BasicAuth: HTTP Authorization Scheme
This method authenticates requests using a username and password sent in the HTTP Authorization header.
Headers
Header Name | Type | Description | Possible Values |
|---|---|---|---|
sessionid | String | The session ID is the token received from the login API. Note: Session ID is required for token-based authentication. | – |
Query Parameters
Parameter Name | Type | Description | Possible Values |
|---|---|---|---|
show | String | Determines the type of objects returned in the response. The response can include folders, Datasets, or both based on the selected value. |
Default: |
owner | String | Filters Datasets by the owner (the user who created the entity). | – |
tags | String | Filters Datasets by tag. This filter works only when the entity contains a single tag. | – |
searchText | String | Filters Datasets by name. All entities whose names contain the specified text are returned, regardless of case. | – |
modifiedAfter | String | Returns Datasets modified after the specified Unix timestamp. | – |
modifiedBefore | String | Returns Datasets modified before the specified Unix timestamp. | – |
count | Number | Limits the number of records returned in the response. Applicable only when show=list or show=folders. Note: If the value is negative, all available records are returned. Default: | – |
lastEntityName | String | Returns only the entities that appear after the specified entity name. | – |
lastEntityId | String | Returns only the entities that appear after the specified entity ID. | – |
Responses
200 Success
{
"folders":[
{
"owner":"BI Admin",
"name":"Sales Reports",
"id":"folder_17742572914990127052052160982625",
"lastModified":"03/23/2026 14:44:51 IST",
"accessRights":1,
"ownerId":351003706
},
{
"owner":"BI Admin",
"name":"Customer Analytics",
"id":"folder_16968349688169127053087154351994",
"lastModified":"01/12/2026 16:13:11 IST",
"accessRights":1,
"ownerId":351003706
}
],
"registeredFiles":[
{
"owner":"Data Admin",
"name":"Customer Records",
"id":"17453139707597127053081111696439",
"lastModified":"01/12/2026 16:16:50 IST",
"accessRights":"1",
"ownerId":"253292850",
"lastModifiedTimestamp":"1768214810237"
},
{
"owner":"Data Admin",
"name":"Product Catalog",
"id":"17455753422694127095091182876973",
"lastModified":"01/12/2026 16:16:50 IST",
"accessRights":"1",
"ownerId":"331507590",
"lastModifiedTimestamp":"1768214810284"
}
]
}Status Code | Description |
|---|---|
401 | Authorization information is missing or invalid. |
404 | No matching record found. |
500 | Internal Server Error |