v1

latestOpenAPI 3.0.12026-07-14453659.5 KB
Language Datasets

Get All Datasets

Returns a list of datasets and their labels that were created by the current user. The response is sorted by dataset ID.

get/v2/language/datasets

Query parameters

offsetstring

Index of the dataset from which you want to start paging

countstring

Number of datsets to return. Maximum valid value is 25. If you specify a number greater than 25, the call returns 25 datasets.

globalboolean

If true, returns all global datasets. Global datasets are public datasets that Salesforce provides.

Response

Success

objectstring

Example response

{
  "data": [
    {
      "id": 1000014,
      "labelSummary": {
        "labels": [
          {
            "datasetId": 57,
            "id": 621,
            "name": "Mountain",
            "numExamples": 40
          }
        ]
      },
      "language": "N/A",
      "name": "weather report",
      "object": "dataset",
      "statusMsg": "SUCCEEDED",
      "totalExamples": 20,
      "totalLabels": 2
    }
  ],
  "object": "list"
}