{ "opencollection": "1.0.0", "info": { "name": "Salesforce Einstein Bots AI Record Insights Prompt Templates 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": "Prompt Templates", "type": "folder" }, "items": [ { "info": { "name": "Salesforce Einstein List prompt templates", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.salesforce.com/services/data/v58.0/einstein/llm/prompt/templates", "params": [ { "name": "pageSize", "value": "", "type": "query", "description": "Number of templates to return per page." }, { "name": "page", "value": "", "type": "query", "description": "Page token for pagination." } ] }, "docs": "Returns a list of all prompt templates in the org." }, { "info": { "name": "Salesforce Einstein Create a prompt template", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.salesforce.com/services/data/v58.0/einstein/llm/prompt/templates", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new prompt template for content generation." }, { "info": { "name": "Salesforce Einstein Get a prompt template", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.salesforce.com/services/data/v58.0/einstein/llm/prompt/templates/:templateId", "params": [ { "name": "templateId", "value": "", "type": "path", "description": "Unique identifier for the prompt template." } ] }, "docs": "Returns details of a specific prompt template." }, { "info": { "name": "Salesforce Einstein Update a prompt template", "type": "http" }, "http": { "method": "PATCH", "url": "https://{instance}.salesforce.com/services/data/v58.0/einstein/llm/prompt/templates/:templateId", "params": [ { "name": "templateId", "value": "", "type": "path", "description": "Unique identifier for the prompt template." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing prompt template." }, { "info": { "name": "Salesforce Einstein Delete a prompt template", "type": "http" }, "http": { "method": "DELETE", "url": "https://{instance}.salesforce.com/services/data/v58.0/einstein/llm/prompt/templates/:templateId", "params": [ { "name": "templateId", "value": "", "type": "path", "description": "Unique identifier for the prompt template." } ] }, "docs": "Deletes a prompt template." } ] } ], "bundled": true }