@camunda8/orchestration-cluster-api
    Preparing search index...

    Type Alias AgentInstanceHistoryItemResult

    A single conversation history item belonging to an agent instance.

    Index
    agentInstanceKey: AgentInstanceKey

    The key of the agent instance this item belongs to.

    The commit status of this history item.

    The content blocks of this history item.

    elementInstanceKey: ElementInstanceKey

    The key of the AI Agent Task or ad-hoc sub-process element instance under which this item was produced.

    historyItemId: HistoryItemId

    The client-supplied identifier this item was created with. Empty for items that don't carry one. Not unique: a job can be re-activated under a superseded lease any number of times before it completes, so one historyItemId can have zero or more DISCARDED records and at most one COMMITTED record, since only historyItemKey is guaranteed unique. Filter by commitStatus rather than assuming one record per historyItemId.

    historyItemKey: AgentHistoryItemKey

    The unique key for this history item. Stable and sortable by creation order.

    jobKey: JobKey

    The key of the job activation during which this item was produced.

    jobLease: JobLeaseToken

    The lease token of the activation that produced this item.

    The operational limits as of this entry. CONFIGURATION items only; -1 on any field means "no limit configured" for other roles.

    loopIteration: LoopIterationId

    The loop iteration this item belongs to.

    Per-call token and latency metrics. Null when metrics were not provided at creation time.

    model: string | null

    The LLM model identifier as of this entry. CONFIGURATION items only; null for other roles.

    producedAt: string

    The agent-side timestamp of when this message was produced.

    provider: string | null

    The LLM provider as of this entry. CONFIGURATION items only; null for other roles.

    The role of this history item in the conversation.

    The system prompt, as content blocks, as of this entry. CONFIGURATION items only; empty for other roles.

    Tool calls for this item. Empty for USER items and ASSISTANT items with no tool dispatches. ASSISTANT items: dispatched tool calls. TOOL_RESULT items: single-entry array referencing the originating tool call.

    tools: AgentTool[]

    The complete list of tools available to the agent as of this entry. CONFIGURATION items only; empty for other roles.