{ "opencollection": "1.0.0", "info": { "name": "Salesforce Einstein Bots AI Record Insights Examples 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": "Examples", "type": "folder" }, "items": [ { "info": { "name": "Salesforce Einstein List examples in a dataset", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.salesforce.com/services/data/v58.0/datasets/:datasetId/examples", "params": [ { "name": "datasetId", "value": "", "type": "path", "description": "Unique identifier for the dataset." }, { "name": "offset", "value": "", "type": "query" }, { "name": "count", "value": "", "type": "query" }, { "name": "source", "value": "", "type": "query" } ] }, "docs": "Returns a list of text examples in the specified dataset." }, { "info": { "name": "Salesforce Einstein Add an example to a dataset", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.salesforce.com/services/data/v58.0/datasets/:datasetId/examples", "params": [ { "name": "datasetId", "value": "", "type": "path", "description": "Unique identifier for the dataset." } ], "body": { "type": "multipart-form", "data": [ { "name": "name", "type": "text", "value": "" }, { "name": "labelId", "type": "text", "value": "" }, { "name": "document", "type": "text", "value": "" } ] } }, "docs": "Adds a labeled text example to an existing dataset." } ] } ], "bundled": true }