Organizations, data planes, and workspaces
A BYOC deployment adds one level to the standard LangSmith resource hierarchy: the data plane, which sits between the organization and the workspace.- Organization: The top level. Users, roles, billing, SSO configuration, and API keys belong to the organization and live in the control plane.
- Data plane: Belongs to an organization and represents physical separation of data. An organization can have several data planes, each in its own AWS account and region.
- Workspace: Belongs to exactly one data plane, which you select when you create the workspace. Traces, datasets, experiments, and other application data live in a workspace.

- Per region, such as
us-east-1andus-west-2, to keep sensitive application data in a specific region. - Per environment and region, such as prod
us-east-1and devus-east-1, to hold production and development data in separate AWS accounts. - Per business unit, when each unit owns its own AWS account.
Find your data plane endpoint
Each data plane has a base URL. Navigate to Settings > Data Planes to see each of your data planes, its state, and its API URL.Trace to a data plane
To send traces to a workspace that lives in your data plane, point the LangSmith SDK at the data plane endpoint and authenticate with an API key scoped to a workspace in that data plane:Route API requests
The base URL routes to different services depending on the path prefix:Trace to multiple endpoints
Use these patterns to trace to both Cloud and a data plane, or to multiple data planes.Dual write to two endpoints
SetLANGSMITH_RUNS_ENDPOINTS to write to multiple endpoints:
Choose the destination in application logic
To decide where to trace at runtime, create a client per endpoint and select between them:See also
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

