get_pipeline_trace
Obtain the full execution trace for a specific query run, including component inputs, outputs, logs, and timing details, by providing the pipeline name and query ID from list_pipeline_traces.
Instructions
Retrieves the full Haystack pipeline run trace for a single search history record.
Returns the complete execution trace for one query in a single call: every
component span with full tags (including the component's input and output),
all log entries, timing, and failure details. Use this to deep-dive into a
specific query run identified by its query_id (obtainable from
list_pipeline_traces or list_pipeline_search_history).
For a targeted look at one component without downloading the whole trace, use
get_pipeline_trace_span_tags; for only the logs, use get_pipeline_trace_logs.
This tool resolves the pipeline and workspace IDs automatically and reads the
full trace via the v2 trace export endpoint under the hood.
:param pipeline_name: Name of the pipeline.
:param query_id: UUID of the search history query whose trace to retrieve.
Obtain this from the query_id / search_history_id field of a
list_pipeline_traces or list_pipeline_search_history response.
:returns: The full pipeline trace entry or an error message.
The output is automatically stored and can be referenced in other functions.
Returns a formatted preview with an object ID (e.g., @obj_123).
Use the object store tools in combination with the object ID to view nested properties of the object.
Use the returned object ID to pass this result to other functions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_id | Yes | ||
| pipeline_name | Yes |