Skip to main content
This example shows how to enable tracing for a workflow. When tracing is enabled, all workflow operations, step runs, model calls, and tool executions are automatically captured and stored in your database.
1

Create a Python file

basic_workflow_tracing.py
2

Set up your virtual environment

3

Install dependencies

4

Export your OpenAI API key

5

Run the workflow