---
title: Trace
seo:
  title: Trace — Python SDK
  description: A recorded execution trace consisting of one or more spans. (Python SDK)
description: A recorded execution trace consisting of one or more spans.
---

Represents a complete request lifecycle as captured by `Tracer`. Each
span in the trace corresponds to a function call, LLM request, or
tool invocation.

## Attributes

| Prop | Type | Default | Description |
| - | - | - | - |
| `spans?` | `List[TraceSpan]` | - | The spans in this trace, ordered by start time. |
