Return the active trace ID as hex string
None
from keywordsai_tracing import get_client, workflow @workflow(name="trace_demo") def trace_demo(): client = get_client() return client.get_current_trace_id() print(trace_demo())
Was this page helpful?