get_pipeline_trace_logs
Get log entries from a single Haystack pipeline run for diagnosing warnings or errors. Use with a pipeline name and query ID from trace history.
Instructions
Retrieves the log entries for a single Haystack pipeline run trace.
Returns just the run's logs — a cheaper, targeted alternative to get_pipeline_trace
when only the logs are needed (e.g. to diagnose warnings or errors emitted during the
run). Each entry includes the logger, level, message, timestamp, and extra fields.
Obtain query_id from list_pipeline_traces or list_pipeline_search_history.
:param pipeline_name: Name of the pipeline.
:param query_id: UUID of the search history query.
:returns: List of log entries 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 |