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 Models API

The Salesforce Models API provides Apex classes and REST endpoints that connect applications to large language models (LLMs) from Salesforce partners including Anthropic, Google, and OpenAI. It supports chat conversations, text generation, embeddings, and feedback collection, with all requests going through the Einstein Trust Layer.

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

This API exposes 1 JSON Schema definition.

Tagged areas include Models, Agentforce, Artificial Intelligence, Einstein, and Generative AI. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, a getting-started guide, and 1 JSON Schema.

This API exposes 1 operation across 1 path, and defines 9 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 4 base URLs: https://login.salesforce.com, https://id, https://services, {{url}}{{site}}/services/oauth2.

1 operations 1 paths 9 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://{instance}.salesforce.com/services/data/v{version}/einstein
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

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

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

Models 1
GET
/data/v64.0/smartdatadiscovery/predictionDefinitions/{PREDICTION_DEFINITION_ID}/models
Salesforce Prediction Models
Predictionmodels 1 param → 200

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are Model1 (18 properties), ModelField (3 properties), Field (3 properties), CreatedBy (3 properties). Each schema is shown below with its type and property counts.

ModelField
object
3 properties 3 required
Model
object
1 property 1 required
Field
object
3 properties 3 required
Model1
object
18 properties 18 required
CreatedBy
object
3 properties 3 required
Predictionmodels
object
3 properties 3 required
LastModifiedBy
object
3 properties 3 required
FieldMappingList
object
1 property 1 required
PrescribableField
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

salesforce-models-api-openapi.yml Raw ↑

Other APIs Salesforce publishes across the network.

Salesforce REST API
Salesforce Streaming API
Salesforce Metadata API
Salesforce Tooling API
Salesforce Analytics REST API
Salesforce Reports and Dashboards REST API
Salesforce Einstein Platform Services API
Salesforce Einstein Prediction Service API
Salesforce GraphQL API
Salesforce Pub/Sub API
Salesforce Platform Events API
Salesforce Change Data Capture API
Where this information came from

This is an independent, third-party profile of Salesforce 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.