Skip to content

RunKind

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

Reports what a runs row records.

[JsonConverter(typeof(JsonStringEnumConverter<RunKind>))]
public enum RunKind

Agent = 0

The run of a single agent.

Eval = 2

The run of an eval case. A normal runs row for transcript and span-tree access, but IRunStore.GetStatisticsAsync excludes this kind from the summary — it is a synthetic test call, not real traffic.

Workflow = 1

The run of a workflow. Every agent called inside it is linked under this row through the parent_run_id mechanism.

A separate table is not opened for workflow runs. The runs screen, the SSE stream, tenant filters, statistics, and the waterfall are already built on top of runs; a second recording path would double all of them. The distinction is made through this column instead.

Written as a name in JSON; stored as smallint in the database. The value order must not change.