public class QueryRunResponseid is this run's UUID.
app_path identifies the application code location that produced this run, if recorded.
attachments maps each attachment file name to a pre-signed HTTPS download URL.
completion_cost is estimated USD cost for the completion.
completion_cost_details is the per-category USD breakdown of completion_cost.
completion_token_details is the per-category breakdown of completion_tokens.
completion_tokens is the completion-side token count.
dotted_order is the hierarchical ordering key for trace trees.
end_time is when the run ended (RFC3339 date-time).
error is the error message when status indicates failure.
error_preview is a truncated plain-text error snippet.
events is the ordered list of run events (for example streaming tokens).
extra is additional runtime JSON attached to the run.
feedback_stats aggregates feedback scores keyed by feedback key.
first_token_time is when the first output token was produced (RFC3339 date-time), when
recorded for streamed runs.
inputs is the run input payload (arbitrary JSON object).
inputs_preview is a truncated plain-text preview of inputs.
is_in_dataset is true when this run is linked to a dataset example.
is_root is true when this run has no parent (it is the trace root).
latency_seconds is wall-clock duration from start to end in seconds.
manifest is the serialized configuration of the traced component (for example the model
parameters, prompt template, or pipeline definition), when recorded.
metadata is arbitrary user-defined JSON metadata.
name is a human-readable label for the run (for example the model name, function name, or
step name chosen when the run was traced).
outputs is the run output payload (arbitrary JSON object).
outputs_preview is a truncated plain-text preview of outputs.
parent_run_ids lists ancestor run UUIDs from the trace root down to the direct parent.
price_model_id identifies the pricing model UUID used for cost estimates, when recorded.
project_id is the tracing project UUID this run was logged to.
prompt_cost is estimated USD cost for the prompt.
prompt_cost_details is the per-category USD breakdown of prompt_cost.
prompt_token_details is the per-category breakdown of prompt_tokens.
prompt_tokens is the prompt-side token count.
reference_dataset_id is the dataset UUID for the reference example, if any.
reference_example_id is the dataset example UUID this run was compared against, if any.
run_type identifies what kind of operation this run represents (for example an LLM call, a
tool invocation, or a chain step).
share_url is the fully-qualified URL of this run's public view, rooted at the deployment's
LangSmith app origin (for example
https://smith.langchain.com/public/4f7a1b2c-8d9e-4a0b-9c1d-2e3f4a5b6c7d/r).
start_time is when the run started (RFC3339 date-time).
status is the completion status of the run.
tags lists user-defined tags on this run.
thread_evaluation_time is thread-level evaluation timing (RFC3339 date-time), when
recorded.
thread_id is the conversation thread UUID this run belongs to, if any.
total_cost is total estimated USD cost (prompt plus completion).
total_tokens is prompt plus completion tokens.
trace_id is the root trace UUID; for a root run it matches id.
Returns the raw JSON value of [id].
Returns the raw JSON value of [appPath].
Returns the raw JSON value of [attachments].
Returns the raw JSON value of [completionCost].
Returns the raw JSON value of [completionCostDetails].
Returns the raw JSON value of [completionTokenDetails].
Returns the raw JSON value of [completionTokens].
Returns the raw JSON value of [dottedOrder].
Returns the raw JSON value of [endTime].
Returns the raw JSON value of [error].
Returns the raw JSON value of [errorPreview].
Returns the raw JSON value of [events].
Returns the raw JSON value of [feedbackStats].
Returns the raw JSON value of [firstTokenTime].
Returns the raw JSON value of [inputsPreview].
Returns the raw JSON value of [isInDataset].
Returns the raw JSON value of [isRoot].
Returns the raw JSON value of [latencySeconds].
Returns the raw JSON value of [name].
Returns the raw JSON value of [outputsPreview].
Returns the raw JSON value of [parentRunIds].
Returns the raw JSON value of [priceModelId].
Returns the raw JSON value of [projectId].
Returns the raw JSON value of [promptCost].
Returns the raw JSON value of [promptCostDetails].
Returns the raw JSON value of [promptTokenDetails].
Returns the raw JSON value of [promptTokens].
Returns the raw JSON value of [referenceDatasetId].
Returns the raw JSON value of [referenceExampleId].
Returns the raw JSON value of [runType].
Returns the raw JSON value of [shareUrl].
Returns the raw JSON value of [startTime].
Returns the raw JSON value of [status].
Returns the raw JSON value of [tags].
Returns the raw JSON value of [threadEvaluationTime].
Returns the raw JSON value of [threadId].
Returns the raw JSON value of [totalCost].
Returns the raw JSON value of [totalTokens].
Returns the raw JSON value of [traceId].
Returns a mutable builder for constructing an instance of [QueryRunResponse]..
id is this run's UUID.
id is this run's UUID.
app_path identifies the application code location that produced this run, if recorded.
app_path identifies the application code location that produced this run, if recorded.
attachments maps each attachment file name to a pre-signed HTTPS download URL.
attachments maps each attachment file name to a pre-signed HTTPS download URL.
completion_cost is estimated USD cost for the completion.
completion_cost is estimated USD cost for the completion.
completion_cost_details is the per-category USD breakdown of completion_cost.
completion_cost_details is the per-category USD breakdown of completion_cost.
completion_token_details is the per-category breakdown of completion_tokens.
completion_token_details is the per-category breakdown of completion_tokens.
completion_tokens is the completion-side token count.
completion_tokens is the completion-side token count.
dotted_order is the hierarchical ordering key for trace trees.
dotted_order is the hierarchical ordering key for trace trees.
end_time is when the run ended (RFC3339 date-time).
end_time is when the run ended (RFC3339 date-time).
error is the error message when status indicates failure.
error is the error message when status indicates failure.
error_preview is a truncated plain-text error snippet.
error_preview is a truncated plain-text error snippet.
events is the ordered list of run events (for example streaming tokens).
events is the ordered list of run events (for example streaming tokens).
Adds a single [Event] to [events]..
extra is additional runtime JSON attached to the run..
feedback_stats aggregates feedback scores keyed by feedback key.
feedback_stats aggregates feedback scores keyed by feedback key.
first_token_time is when the first output token was produced (RFC3339 date-time), when
recorded for streamed runs.
first_token_time is when the first output token was produced (RFC3339 date-time), when
recorded for streamed runs.
inputs is the run input payload (arbitrary JSON object)..
inputs_preview is a truncated plain-text preview of inputs.
inputs_preview is a truncated plain-text preview of inputs.
is_in_dataset is true when this run is linked to a dataset example.
is_in_dataset is true when this run is linked to a dataset example.
is_root is true when this run has no parent (it is the trace root).
is_root is true when this run has no parent (it is the trace root).
latency_seconds is wall-clock duration from start to end in seconds.
latency_seconds is wall-clock duration from start to end in seconds.
manifest is the serialized configuration of the traced component (for example the model
parameters, prompt template, or pipeline definition), when recorded..
metadata is arbitrary user-defined JSON metadata..
name is a human-readable label for the run (for example the model name, function name, or
step name chosen when the run was traced).
name is a human-readable label for the run (for example the model name, function name, or
step name chosen when the run was traced).
outputs is the run output payload (arbitrary JSON object)..
outputs_preview is a truncated plain-text preview of outputs.
outputs_preview is a truncated plain-text preview of outputs.
parent_run_ids lists ancestor run UUIDs from the trace root down to the direct parent.
parent_run_ids lists ancestor run UUIDs from the trace root down to the direct parent.
Adds a single [String] to [parentRunIds]..
price_model_id identifies the pricing model UUID used for cost estimates, when recorded.
price_model_id identifies the pricing model UUID used for cost estimates, when recorded.
project_id is the tracing project UUID this run was logged to.
project_id is the tracing project UUID this run was logged to.
prompt_cost is estimated USD cost for the prompt.
prompt_cost is estimated USD cost for the prompt.
prompt_cost_details is the per-category USD breakdown of prompt_cost.
prompt_cost_details is the per-category USD breakdown of prompt_cost.
prompt_token_details is the per-category breakdown of prompt_tokens.
prompt_token_details is the per-category breakdown of prompt_tokens.
prompt_tokens is the prompt-side token count.
prompt_tokens is the prompt-side token count.
reference_dataset_id is the dataset UUID for the reference example, if any.
reference_dataset_id is the dataset UUID for the reference example, if any.
reference_example_id is the dataset example UUID this run was compared against, if any.
reference_example_id is the dataset example UUID this run was compared against, if any.
run_type identifies what kind of operation this run represents (for example an LLM call, a
tool invocation, or a chain step).
run_type identifies what kind of operation this run represents (for example an LLM call, a
tool invocation, or a chain step).
share_url is the fully-qualified URL of this run's public view, rooted at the deployment's
LangSmith app origin (for example
https://smith.langchain.com/public/4f7a1b2c-8d9e-4a0b-9c1d-2e3f4a5b6c7d/r).
share_url is the fully-qualified URL of this run's public view, rooted at the deployment's
LangSmith app origin (for example
https://smith.langchain.com/public/4f7a1b2c-8d9e-4a0b-9c1d-2e3f4a5b6c7d/r).
start_time is when the run started (RFC3339 date-time).
start_time is when the run started (RFC3339 date-time).
status is the completion status of the run.
status is the completion status of the run.
tags lists user-defined tags on this run.
tags lists user-defined tags on this run.
Adds a single [String] to [tags]..
thread_evaluation_time is thread-level evaluation timing (RFC3339 date-time), when
recorded.
thread_evaluation_time is thread-level evaluation timing (RFC3339 date-time), when
recorded.
thread_id is the conversation thread UUID this run belongs to, if any.
thread_id is the conversation thread UUID this run belongs to, if any.
total_cost is total estimated USD cost (prompt plus completion).
total_cost is total estimated USD cost (prompt plus completion).
total_tokens is prompt plus completion tokens.
total_tokens is prompt plus completion tokens.
trace_id is the root trace UUID; for a root run it matches id.
trace_id is the root trace UUID; for a root run it matches id.
Returns an immutable instance of [QueryRunResponse].
Validates that the types of all values in this object match their expected types recursively.
Returns a mutable builder for constructing an instance of [QueryRunResponse]..
Returns an immutable instance of [QueryRunResponse].
Validates that the types of all values in this object match their expected types recursively.
raw maps each category name to its estimated USD cost.
Returns the raw JSON value of [raw].
Returns a mutable builder for constructing an instance of [QueryRunResponse]..
raw maps each category name to its estimated USD cost.
raw maps each category name to its estimated USD cost.
Returns an immutable instance of [QueryRunResponse].
Validates that the types of all values in this object match their expected types recursively.
Returns a mutable builder for constructing an instance of [QueryRunResponse]..
Returns an immutable instance of [QueryRunResponse].
Validates that the types of all values in this object match their expected types recursively.
raw maps each category name to its estimated USD cost.
Returns the raw JSON value of [raw].
Returns a mutable builder for constructing an instance of [QueryRunResponse]..
raw maps each category name to its estimated USD cost.
raw maps each category name to its estimated USD cost.
Returns an immutable instance of [QueryRunResponse].
Validates that the types of all values in this object match their expected types recursively.
Returns a mutable builder for constructing an instance of [QueryRunResponse]..
Returns an immutable instance of [QueryRunResponse].
Validates that the types of all values in this object match their expected types recursively.
kwargs is the event payload — an opaque JSON object whose shape depends on name and
on the emitting SDK.
name is a human-readable label for the run (for example the model name, function name, or
step name chosen when the run was traced).
time is when the event occurred (RFC3339 date-time with millisecond precision).
Returns the raw JSON value of [name].
Returns the raw JSON value of [time].
Returns a mutable builder for constructing an instance of [QueryRunResponse]..
kwargs is the event payload — an opaque JSON object whose shape depends on name
and on the emitting SDK.
name is a human-readable label for the run (for example the model name, function name, or
step name chosen when the run was traced).
name is a human-readable label for the run (for example the model name, function name, or
step name chosen when the run was traced).
time is when the event occurred (RFC3339 date-time with millisecond precision).
time is when the event occurred (RFC3339 date-time with millisecond precision).
Returns an immutable instance of [QueryRunResponse].
Validates that the types of all values in this object match their expected types recursively.
Returns a mutable builder for constructing an instance of [QueryRunResponse]..
Returns an immutable instance of [QueryRunResponse].
Validates that the types of all values in this object match their expected types recursively.
raw maps each category name to its estimated USD cost.
Returns the raw JSON value of [raw].
Returns a mutable builder for constructing an instance of [QueryRunResponse]..
raw maps each category name to its estimated USD cost.
raw maps each category name to its estimated USD cost.
Returns an immutable instance of [QueryRunResponse].
Validates that the types of all values in this object match their expected types recursively.
Returns a mutable builder for constructing an instance of [QueryRunResponse]..
Returns an immutable instance of [QueryRunResponse].
Validates that the types of all values in this object match their expected types recursively.
raw maps each category name to its estimated USD cost.
Returns the raw JSON value of [raw].
Returns a mutable builder for constructing an instance of [QueryRunResponse]..
raw maps each category name to its estimated USD cost.
raw maps each category name to its estimated USD cost.
Returns an immutable instance of [QueryRunResponse].
Validates that the types of all values in this object match their expected types recursively.
Returns a mutable builder for constructing an instance of [QueryRunResponse]..
Returns an immutable instance of [QueryRunResponse].
Validates that the types of all values in this object match their expected types recursively.
Returns an enum member corresponding to this class instance's value, or [Value._UNKNOWN] if the class was instantiated with an unknown value.
Returns an enum member corresponding to this class instance's value.
Returns this class instance's primitive wire representation.
Validates that the types of all values in this object match their expected types recursively.
Returns an enum member corresponding to this class instance's value, or [Value._UNKNOWN] if the class was instantiated with an unknown value.
Returns an enum member corresponding to this class instance's value.
Returns this class instance's primitive wire representation.
Validates that the types of all values in this object match their expected types recursively.