Agent Run Record
Records the outcome of a single agent run (possibly across retries). Leaf record — no substages.
Inheritors
Types
Agent ran to completion without infrastructure failure.
Agent run failed with an infrastructure error.
Properties
LLM consumption attributable to the final attempt. For an aggregate over all attempts, see aggregatedConsumption.
Wall-clock elapsed time of the final attempt (the successful one, or the last failed attempt if no attempt succeeded). For an aggregate including all prior failed attempts and the wait delays between them, see aggregatedElapsedTime.
Failed attempts preceding the final attempt; empty if no retries were performed. Order matches execution order (first failed attempt first).
Functions
Final attempt + retry attempts. Returns NA only if every contributing value is NA.
Final attempt + retry attempts + retry wait delays.
Get the consumption of any record.
Retry attempts only (excludes the final attempt). NA if all retries had NA consumption.
Retry-attempt elapsed + retry wait delays (excludes the final attempt).
Check if a record (or its substages recursively) contains any solved agent run.