envs

LangSmith — tracing and evaluation

langsmith/tracing · version 1

envs add langsmith/tracing

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
LANGSMITH_API_KEY required secret LangSmith shows a key only once. The two prefixes separate a personal token from a service key and come from LangSmith's own SDK rather than a prose statement, which is why they are recorded here as its code's rule.. Shape ^lsv2_(pt|sk)_.+$. where to get it
LANGCHAIN_API_KEY optional secret The older name, still read by earlier integrations. Same value; do not set both.. Shape ^lsv2_(pt|sk)_.+$. where to get it

The JSON the CLI reads