> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# traceSession

```typescript
traceSession(session: TraceableSession, options?: TraceSessionOptions): SessionTracer
```

Start tracing `session`. Call `end()` when the session is done.

## Parameters

**session** `TraceableSession` *required*

**options** `TraceSessionOptions`

## Returns

`SessionTracer`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.