A unique identifier for the run, mandatory when loaded from DB.
Inputs that were used to initiate the run.
A human-readable name for the run.
Specifies the type of run (tool, chain, llm, etc.).
Optionalapp_The URL path where this run is accessible within the app.
OptionalattachmentsAttachments associated with the run. Each entry is a tuple of [mime_type, bytes]
Optionalchild_IDs of any child runs spawned by this run.
Optionalchild_Child runs, loaded explicitly via a heavier query.
Optionalcompletion_Number of tokens generated in the completion.
Optionaldotted_The dotted order for the run.
This is a string composed of {time}{run-uuid}.* so that a trace can be sorted in the order it was executed.
Example:
Optionalend_The epoch time at which the run ended, if applicable.
OptionalerrorError message, captured if the run faces any issues.
OptionaleventsEvents like 'start', 'end' linked to the run.
OptionalextraAny additional metadata or settings for the run.
Optionalfeedback_Stats capturing feedback for this run.
Optionalfirst_Time when the first token was processed.
Optionalin_Whether the run is included in a dataset.
Optionalinputs_The input S3 URLs
Optionalmanifest_The manifest ID that correlates with this run.
OptionaloutputsOutputs produced by the run, if any.
Optionaloutputs_The output S3 URLs
Optionalparent_ID of a parent run, if this run is part of a larger operation.
Optionalparent_IDs of parent runs, if multiple exist.
Optionalprompt_Number of tokens used in the prompt.
Optionalreference_ID of an example that might be related to this run.
OptionalserializedSerialized state of the run for potential future use.
Optionalsession_The ID of the project that owns this run.
Optionalstart_The epoch time at which the run started, if available.
OptionalstatusThe current status of the run, such as 'success'.
OptionaltagsTags for further categorizing or annotating the run.
Optionaltotal_Total token count, combining prompt and completion.
Optionaltrace_Unique ID assigned to every run within this nested trace. *
Describes properties of a run when loaded from the database. Extends the BaseRun interface.