v1

latestOpenAPI 3.1.02026-07-263971,2281.1 MB
DatasetService

GetDatasets

post/textql.rpc.public.dataset.DatasetService/GetDatasets

Headers

Connect-Protocol-Version1 required

Define the version of the Connect protocol

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

typesTextqlRpcPublicDatasetDatasetType[]
ownerOnlyboolean

only include datasets where the user is the owner

includeSubfoldersboolean
pathstring nullable

defaults to path /

searchParamstring nullable
sort'SORT_UNKNOWN' | 'SORT_LATEST' | 'SORT_OLDEST' | 'SORT_RELEVANT'
limitinteger nullable
cursorstring nullable

cursor-based pagination. cursor is the id of the last record returned

Response

Success

Example response

{
  "datasets": [
    {
      "createdAt": "2023-01-15T01:30:15.01Z",
      "updatedAt": "2023-01-15T01:30:15.01Z",
      "expiresAt": "2023-01-15T01:30:15.01Z"
    }
  ]
}