Interface: RunCreate
schemas.RunCreate
A run can represent either a trace (root run) or a child run (~span).
Hierarchy
↳
RunCreate
Properties
inputs
• inputs: KVMap
Inputs that were used to initiate the run.
Inherited from
Defined in
name
• name: string
A human-readable name for the run.
Inherited from
Defined in
run_type
• run_type: string
Specifies the type of run (tool, chain, llm, etc.).
Inherited from
Defined in
child_runs
• Optional
child_runs: RunCreate
[]
Defined in
dotted_order
• Optional
dotted_order: string
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:
- Parent: 20230914T223155647Z1b64098b-4ab7-43f6-afee-992304f198d8
- Children:
- 20230914T223155647Z1b64098b-4ab7-43f6-afee-992304f198d8.20230914T223155649Z809ed3a2-0172-4f4d-8a02-a64e9b7a0f8a
- 20230915T223155647Z1b64098b-4ab7-43f6-afee-992304f198d8.20230914T223155650Zc8d9f4c5-6c5a-4b2d-9b1c-3d9d7a7c5c7c
Inherited from
Defined in
end_time
• Optional
end_time: number
The epoch time at which the run ended, if applicable.
Inherited from
Defined in
error
• Optional
error: string
Error message, captured if the run faces any issues.
Inherited from
Defined in
events
• Optional
events: KVMap
[]
Events like 'start', 'end' linked to the run.
Inherited from
Defined in
extra
• Optional
extra: KVMap
Any additional metadata or settings for the run.
Inherited from
Defined in
id
• Optional
id: string
Optionally, a unique identifier for the run.
Inherited from
Defined in
outputs
• Optional
outputs: KVMap
Outputs produced by the run, if any.
Inherited from
Defined in
parent_run_id
• Optional
parent_run_id: string
ID of a parent run, if this run is part of a larger operation.
Inherited from
Defined in
reference_example_id
• Optional
reference_example_id: string
ID of an example that might be related to this run.
Inherited from
Defined in
revision_id
• Optional
revision_id: string
Defined in
serialized
• Optional
serialized: object
Serialized state of the run for potential future use.
Inherited from
Defined in
session_name
• Optional
session_name: string
Defined in
start_time
• Optional
start_time: number
The epoch time at which the run started, if available.
Inherited from
Defined in
tags
• Optional
tags: string
[]
Tags for further categorizing or annotating the run.
Inherited from
Defined in
trace_id
• Optional
trace_id: string
Unique ID assigned to every run within this nested trace. *