{
  "opencollection": "1.0.0",
  "info": {
    "name": "Salesforce Einstein Bots AI Record Insights Bot Versions 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": "Bot Versions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Einstein List bot versions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v58.0/einstein/bots/:botId/versions",
            "params": [
              {
                "name": "botId",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the Einstein Bot."
              }
            ]
          },
          "docs": "Returns a list of versions for a specific bot."
        },
        {
          "info": {
            "name": "Salesforce Einstein Get a bot version",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v58.0/einstein/bots/:botId/versions/:versionId",
            "params": [
              {
                "name": "botId",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the Einstein Bot."
              },
              {
                "name": "versionId",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the bot version."
              }
            ]
          },
          "docs": "Returns details of a specific bot version."
        }
      ]
    }
  ],
  "bundled": true
}