Newer Version Available

This content describes an older version of this product. View Latest

AIResearchPromptResult

Represents the research result generated by Einstein from a prompt template. This object is available in API version 64.0 and later.

When an Einstein feature researches a record and saves the results, an AIResearchPromptResult record is created and populated with information about the researched record.

Generative account research is available on a rolling basis after the Winter '26 release completes.

Note

Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Special Access Rules

Research results are only available in orgs that have Einstein features with Einstein generative AI enabled.

Fields

Field Details
IsToxicityDetected
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Specifies whether the generated response contains toxic language (true) or not (false). The default value is false.
LatestErrorMessage
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The error message that displays if the result can't be generated.
LatestGenResponseIdRef
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ID of the most recently generated result in the GenAIGeneration object. The object is derived from the Data Cloud data model object (DMO).
LatestGenerationDate
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
The date and time that the result was most recently generated.
LatestResult
Type
textarea
Properties
Create, Nillable, Update
Description
The AI-generated result.
LatestSafetyScore
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Overall safety score for the generated research. A higher value means the generated response is more likely to be safe. Minimum value of 0.0. Maximum value of 1.0.
LatestStatus
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
The status of the generated result.
Possible values are:
  • Generating
  • Success
  • Failed
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The owner of the generated research result.
This field is a polymorphic relationship field.
Relationship Name
Owner
Refers To
Group, User
ReferenceRecordId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The record ID that the research result was generated for.
This field is a polymorphic relationship field.
Relationship Name
ReferenceRecord
Refers To
Account
StandardPromptTemplate
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The standard prompt template used to generate the result.

Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

AIResearchPromptResultFeed
Feed tracking is available for the object.
AIResearchPromptResultHistory
History is available for tracked fields of the object.
AIResearchPromptResultOwnerSharingRule
Sharing rules are available for the object.
AIResearchPromptResultShare
Sharing is available for the object.