Class AgentRunEvent
One entry of a run's timeline (Timeline): what happened, when, and with what outcome. The timeline travels with the run's checkpoint, so every host that reads the run reads the same history of it.
public sealed class AgentRunEvent
- Inheritance
-
AgentRunEvent
- Inherited Members
Fields
- AnswerKind
The user answered the run's question.
- ApprovalKind
A call waiting for approval was decided.
- ApprovalRequestedKind
The run stopped before a call that needs approval.
- EventKind
An event the workflow waited for: Name is the event, Outcome
waiting,receivedortimed_out, Detail the correlation key.
- HandoffKind
The run handed the conversation over to a person.
- QuestionKind
The run stopped on a question to the user.
- ResumedKind
The run resumed from a stop or an interruption.
- RetriedKind
A failed workflow was set to resume from its failing step; Detail says who and why, and what was corrected. Its completed steps replay their recorded output.
- StartedKind
The run started.
- StepKind
One reasoning step of the run ended.
- ToolCallKind
A tool call was answered (run, denied, simulated or failed).
- WorkflowStepKind
A workflow step finished; Name is its id, Outcome completed or failed, Detail its type or error.
Properties
- AtUtc
Gets or sets when it happened (UTC).
- CallId
Gets or sets the tool call concerned.
- Detail
Gets or sets a short detail: a reason, a question, who decided.
- DurationMs
Gets or sets how long the tool call ran, in milliseconds; null when it was not dispatched.
- IdempotencyKey
Gets or sets the idempotency key a side-effecting call was sent with.
- Kind
Gets or sets what happened: one of the
...Kindvalues.
- Name
Gets or sets the tool concerned, for a tool call or an approval.
- Outcome
Gets or sets the outcome: a tool result type, a decision (approved, denied, edited), a status.