AiJobRunItem

Stores an individual item associated with a parent AiJobRun, including the inputs and resulting response. This object is available in API version 63.0 and later.

Supported Calls

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

Fields

Field Details
AiJobRunId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
A required reference to the parent AiJobRun record that this item belongs to.
This field is a relationship field.
Relationship Name
AiJobRun
Refers To
AiJobRun
ErrorCode
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
If processing for this item fails, this field contains a numeric code indicating the error.
ErrorMessage
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Contains a detailed, human-readable message that explains the reason for the job run item failure.
Input
Type
textarea
Properties
Create, Update
Description
Contains the input data for a single item within the job run. For example, in a PromptTemplate job, this is the JSON input for the prompt template.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
A unique, system-generated identifier for the AiJobRunItem record.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The user or group that owns the AiJobRunItem record.
This field is a polymorphic relationship field.
Relationship Name
Owner
Refers To
Group, User
PreprocessedInput
Type
textarea
Properties
Create, Nillable, Update
Description
Stores an intermediate version of the input data after the preprocessing step. For example, this field could be a hydrated JSON prompt.
Response
Type
textarea
Properties
Create, Nillable, Update
Description
Contains the generated response for the job item after processing is complete.
Status
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Tracks the status of the individual job item. Valid values are:
  • Ready: The default value. The job run item is ready to start processing.
  • Completed: Processing for the job run item is complete.
  • Failed: Processing for the job run item failed.