pub struct RunRecord {Show 21 fields
pub run_id: String,
pub workflow: String,
pub fingerprint: String,
pub status: RunStatus,
pub created_ms: u64,
pub updated_ms: u64,
pub pause_reasons: Vec<PauseReason>,
pub outputs: IndexMap<String, Value>,
pub answer: String,
pub error: Option<String>,
pub error_type: Option<String>,
pub usage: Usage,
pub event_count: u64,
pub events_truncated: bool,
pub inputs: Option<IndexMap<String, Value>>,
pub trace_id: Option<String>,
pub span_id: Option<String>,
pub metadata: IndexMap<String, String>,
pub session_id: Option<String>,
pub user_id: Option<String>,
pub tags: Vec<String>,
}Expand description
Persisted summary of one run.
Fields§
§run_id: String§workflow: StringName the workflow is served under.
fingerprint: StringFingerprint of the workflow graph (resume requires the same graph).
status: RunStatus§created_ms: u64§updated_ms: u64§pause_reasons: Vec<PauseReason>Why the run is paused (empty unless status == paused).
outputs: IndexMap<String, Value>§answer: StringOrdered answer text assembled from response nodes.
error: Option<String>§error_type: Option<String>§usage: Usage§event_count: u64Events stored so far (may stop growing at the store’s cap).
events_truncated: boolWhether events were dropped because the store’s per-run cap was reached.
inputs: Option<IndexMap<String, Value>>Run inputs as the start node accepted them, secrets masked. Only kept when
the host opts in (graphrt serve --store-inputs).
trace_id: Option<String>OpenTelemetry trace id (32 hex digits) of the latest execution, when traced.
span_id: Option<String>Span id (16 hex digits) of that execution’s root invoke_workflow span, so
later spans (online evaluation scores) can join the same trace.
metadata: IndexMap<String, String>Caller-supplied labels for filtering and evaluation (RunRequest.metadata).
session_id: Option<String>Caller’s session / conversation id.
user_id: Option<String>Caller’s end-user id.
Caller-supplied tags.