Skip to main content
The MedLog record header consists of provenance information, execution context, and system metadata available at inference time, including server identifiers, timestamps of model invocation and input retrieval, and a stable event identifier for the newly-created MedLog record. Akin to PROCID in syslog, this field may also optionally include identifiers for run- or episode-level linkage (e.g., run_id, parent_event_id). These identifiers allow grouping events across multi-stage or agentic workflows without imposing a specific orchestration architecture. Lastly, to ensure interoperability, the header must include the version of the MedLog protocol specification that the record complies with.
FieldTypeNotes
event_iduuidStable identifier for this invocation. Required.
run_iduuidConstant across all events in the same run. Optional.
parent_event_iduuidThe event this one expands on. Optional.
timestampdate-timeWhen the event occurred. Required.
medlog_versionstringThe protocol version the record complies with. Required.
system_metadataobjecthostname, app_name, proc_id, latency_ms. Required.