LangSmith Tracing API
Capture, ingest, and inspect traces for LLM, agent, and chain executions. Traces include nested runs (spans), latency, token counts, errors, inputs/outputs, and metadata. Tracing is the primary unit of pricing on LangSmith.
Documentation
Documentation
https://docs.langchain.com/langsmith
APIReference
https://docs.langchain.com/langsmith/tracing