Retrieve all spans for a given trace ID. Each span includes its metadata and, if it generated a request log, the associated request_log_id.This is useful for:
Trace inspection: View the full execution flow of a traced operation
Linking spans to requests: Find which spans generated PromptLayer request logs
Debugging: Follow the execution path across multiple LLM calls