AiJobRunItem

Stores an individual item associated with a parent AiJobRun, including the inputs and resulting response.

Introduced in API version 64.0.

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

  • 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

  • Relationship type: relationship

  • Refers to: AiJobRun

  • 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.
  • 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.
  • 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.
  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Introduced: API version 66.0
  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: A unique, system-generated identifier for the AiJobRunItem record.
  • 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.
  • Type: textarea
  • Properties: Create, Nillable, Update
  • Description: Contains the generated response for the job item after processing is complete.
  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update
  • Description: Tracks the status of the individual job item.
  • Possible values:
    • Ready — Ready
    • Completed — Completed
    • Failed — Failed