Einstein Model

Represents a trained machine learning model in Salesforce Einstein, used for image classification, object detection, text classification, or generative AI.

Artificial IntelligenceComputer-VisionCRMMachine-LearningNatural Language ProcessingPredictive AnalyticsSalesforce

Properties

Name Type Description
modelId string Unique model identifier.
name string Display name of the model.
datasetId integer ID of the dataset the model was trained on.
datasetVersionId integer Version of the dataset used for training.
status string Current status of the model.
progress number Training progress from 0.0 to 1.0.
modelType string Type of the model.
createdAt string Timestamp when the model was created.
updatedAt string Timestamp when the model was last updated.
epochs integer Number of training epochs.
learningRate number Learning rate used during training.
trainParams object Additional training parameters.
trainStats object Training statistics and metrics.
failureMsg string Failure message if training failed.
object string Object type identifier.
View JSON Schema on GitHub

JSON Schema

salesforce-einstein-model-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-search/salesforce-einstein/json-schema/salesforce-einstein-model-schema.json",
  "title": "Einstein Model",
  "description": "Represents a trained machine learning model in Salesforce Einstein, used for image classification, object detection, text classification, or generative AI.",
  "type": "object",
  "properties": {
    "modelId": {
      "type": "string",
      "description": "Unique model identifier."
    },
    "name": {
      "type": "string",
      "description": "Display name of the model."
    },
    "datasetId": {
      "type": "integer",
      "description": "ID of the dataset the model was trained on."
    },
    "datasetVersionId": {
      "type": "integer",
      "description": "Version of the dataset used for training."
    },
    "status": {
      "type": "string",
      "description": "Current status of the model.",
      "enum": [
        "QUEUED",
        "RUNNING",
        "SUCCEEDED",
        "FAILED",
        "DELETED"
      ]
    },
    "progress": {
      "type": "number",
      "description": "Training progress from 0.0 to 1.0.",
      "minimum": 0,
      "maximum": 1
    },
    "modelType": {
      "type": "string",
      "description": "Type of the model.",
      "enum": [
        "image",
        "image-multi-label",
        "image-detection",
        "text-sentiment",
        "text-intent"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the model was created."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the model was last updated."
    },
    "epochs": {
      "type": "integer",
      "description": "Number of training epochs.",
      "minimum": 1
    },
    "learningRate": {
      "type": "number",
      "description": "Learning rate used during training.",
      "exclusiveMinimum": 0
    },
    "trainParams": {
      "type": "object",
      "description": "Additional training parameters.",
      "additionalProperties": true
    },
    "trainStats": {
      "type": "object",
      "description": "Training statistics and metrics.",
      "properties": {
        "labels": {
          "type": "integer",
          "description": "Number of labels in the training data."
        },
        "examples": {
          "type": "integer",
          "description": "Number of training examples."
        },
        "totalTime": {
          "type": "string",
          "description": "Total training time."
        },
        "testAccuracy": {
          "type": "number",
          "description": "Model accuracy on the test set."
        },
        "trainingLoss": {
          "type": "number",
          "description": "Final training loss."
        },
        "f1": {
          "type": "number",
          "description": "F1 score of the model."
        }
      }
    },
    "failureMsg": {
      "type": "string",
      "description": "Failure message if training failed."
    },
    "object": {
      "type": "string",
      "description": "Object type identifier.",
      "const": "model"
    }
  },
  "required": ["modelId", "name", "status"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/salesforce-einstein-model"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.