Use this file to discover all available pages before exploring further.
A trace is the full record of one AI interaction — from the user’s prompt
through every LLM call, retrieval, tool execution, and final response. Traces
are the raw material that Failure Analysis, Evaluations, and Security Audits
operate on.
For RAG applications, Valiqor further classifies spans by their pipeline stage:
Stage
Value
Description
Retrieval
retrieval
Document / knowledge retrieval
Evaluation
evaluation
Document grading, relevance checking
Synthesis
synthesis
Answer generation, response synthesis
Routing
routing
Query routing, decision making
Orchestration
orchestration
Workflow coordination, graph execution
LLM Call
llm_call
Direct LLM invocations
Tool Execution
tool_execution
Tool / function calls
Embedding
embedding
Embedding generation
Reranking
reranking
Result reranking
Preprocessing
preprocessing
Query preprocessing, transformation
Postprocessing
postprocessing
Output formatting, filtering
Unknown
unknown
Unclassified stage
RAG stages are used by Failure Analysis to pinpoint where in the pipeline
a failure occurred — for example, distinguishing a retrieval failure from a
synthesis hallucination.
Multiple traces can be grouped into a conversation using session_id.
This lets Valiqor track multi-turn interactions:
from valiqor.trace import start_conversation, end_conversation# Group related traces into a conversationstart_conversation("session-abc-123")# ... each traced call within this block shares the session_id ...end_conversation()
When you query traces by session_id, you get the full conversation history
with all traces in chronological order.
The execution tree is the hierarchical view of all spans in a trace.
It shows the parent-child relationships, making it easy to understand
the flow of execution: