{
  "opencollection": "1.0.0",
  "info": {
    "name": "Salesforce Einstein Bots AI Record Insights Datasets API",
    "version": "58.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://login.salesforce.com/services/oauth2/authorize",
      "accessTokenUrl": "https://login.salesforce.com/services/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Datasets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Einstein List datasets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v58.0/datasets",
            "params": [
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "count",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of all language datasets associated with the account."
        },
        {
          "info": {
            "name": "Salesforce Einstein Create a dataset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.salesforce.com/services/data/v58.0/datasets",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "name",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "type",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "path",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Creates a new text classification dataset."
        },
        {
          "info": {
            "name": "Salesforce Einstein Get a dataset",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v58.0/datasets/:datasetId",
            "params": [
              {
                "name": "datasetId",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the dataset."
              }
            ]
          },
          "docs": "Returns details of a specific language dataset."
        },
        {
          "info": {
            "name": "Salesforce Einstein Delete a dataset",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{instance}.salesforce.com/services/data/v58.0/datasets/:datasetId",
            "params": [
              {
                "name": "datasetId",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the dataset."
              }
            ]
          },
          "docs": "Deletes a dataset and all associated examples and models."
        }
      ]
    }
  ],
  "bundled": true
}