PredictionDefinition

Artificial IntelligenceComputer-VisionCRMMachine-LearningNatural Language ProcessingPredictive AnalyticsSalesforce

Properties

Name Type Description
id string Unique prediction definition identifier.
label string Display label for the prediction.
name string API name of the prediction definition.
status string Status of the prediction definition.
outcome object
predictionType string Type of prediction.
sobjectType string Salesforce object the prediction is built on.
pushbackField string Field where prediction scores are written.
countOfModels integer Number of models associated with this definition.
createdDate string
lastModifiedDate string
View JSON Schema on GitHub

JSON Schema

salesforce-einstein-predictiondefinition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PredictionDefinition",
  "title": "PredictionDefinition",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique prediction definition identifier."
    },
    "label": {
      "type": "string",
      "description": "Display label for the prediction."
    },
    "name": {
      "type": "string",
      "description": "API name of the prediction definition."
    },
    "status": {
      "type": "string",
      "enum": [
        "Draft",
        "Enabled",
        "Disabled"
      ],
      "description": "Status of the prediction definition."
    },
    "outcome": {
      "$ref": "#/components/schemas/Outcome"
    },
    "predictionType": {
      "type": "string",
      "enum": [
        "Boolean",
        "Categorical",
        "Numeric"
      ],
      "description": "Type of prediction."
    },
    "sobjectType": {
      "type": "string",
      "description": "Salesforce object the prediction is built on."
    },
    "pushbackField": {
      "type": "string",
      "description": "Field where prediction scores are written."
    },
    "countOfModels": {
      "type": "integer",
      "description": "Number of models associated with this definition."
    },
    "createdDate": {
      "type": "string",
      "format": "date-time"
    },
    "lastModifiedDate": {
      "type": "string",
      "format": "date-time"
    }
  }
}

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-predictiondefinition"
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.