How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Salesforce Einstein Models API

Manage Einstein Discovery prediction models

Salesforce Einstein Models API is one of 17 APIs that Salesforce Einstein publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Models. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, pricing, and an API reference.

This API exposes 11 operations across 9 paths, and defines 10 schemas. It is described by OpenAPI 3.1.0, at version 58.0.0.

Requests are made against a single base URL, https://{instance}.salesforce.com/services/data/v58.0.

11 operations 9 paths 10 schemas 2 DELETE7 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
58.0.0
Base URL
https://api.einstein.ai/v2/vision
Authentication
OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 1

Salesforce Einstein Models API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 2 scopes. By default, every request must be authenticated.

  • oauth2 — Salesforce OAuth 2.0 authentication.

Paths & Operations 11

Across 9 paths, the API surfaces 11 operations — 2 DELETE, 7 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Models 11

Manage Einstein Discovery prediction models

GET
/wave/models
Salesforce Einstein List prediction models
listModels 2 params → 200401
GET
/wave/models/{modelId}
Salesforce Einstein Get a prediction model
getModel 1 param → 200401404
DELETE
/wave/models/{modelId}
Salesforce Einstein Delete a prediction model
deleteModel 1 param → 204401404
GET
/einstein/llm/models
Salesforce Einstein List available models
listModels → 200401
GET
/einstein/llm/models/{modelId}
Salesforce Einstein Get model details
getModel 1 param → 200401404
GET
/datasets/{datasetId}/models
Salesforce Einstein List models for a dataset
listModelsForDataset 1 param → 200401
POST
/train
Salesforce Einstein Train a model
trainModel body → 200400401
POST
/retrain
Salesforce Einstein Retrain a model
retrainModel body → 200400401
GET
/models/{modelId}
Salesforce Einstein Get model details
getModel 1 param → 200401404
DELETE
/models/{modelId}
Salesforce Einstein Delete a model
deleteModel 1 param → 200401404
GET
/models/{modelId}/lc
Salesforce Einstein Get model learning curve
getModelLearningCurve 1 param → 200401404

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are Model (13 properties), TrainResponse (11 properties), DiscoveryModel (10 properties), GenerativeModel (7 properties). Each schema is shown below with its type and property counts.

DiscoveryModel
object
10 properties
Error_2
object
2 properties
LearningCurve
object
2 properties
Error
object
3 properties
Error_3
object
2 properties
Model
object
13 properties
TrainResponse
object
11 properties
ModelCollection
object
3 properties
ModelCollection_2
object
2 properties
GenerativeModel
object
7 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

salesforce-einstein-models-api-openapi.yml Raw ↑

Other APIs Salesforce Einstein publishes across the network.

Salesforce Einstein AI Record Insights API
Salesforce Einstein API Usage API
Salesforce Einstein Bot Definitions API
Salesforce Einstein Bot Versions API
Salesforce Einstein Dashboards API
Salesforce Einstein Datasets API
Salesforce Einstein Examples API
Salesforce Einstein Feedback API
Salesforce Einstein Generations API
Salesforce Einstein Lenses API
Salesforce Einstein Messages API
Salesforce Einstein Prediction Definitions API
Where this information came from

This is an independent, third-party profile of Salesforce Einstein Models API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.