This guide assumes you have already deployed a self-hosted LangSmith instance. If you have not, please refer to the kubernetes deployment guide or the docker deployment guide.
Configuring the application you want to use with LangSmith
LangSmith has a single API for interacting with both the hub and the LangSmith backend.- Once you have deployed your instance, you can access the LangSmith UI at
http(s)://<host>
. - The LangSmith API will be available at
http(s)://<host>/api/v1
- The LangGraph Platform Control Plane will be available at
http(s)://<host>/api-host
Self-Signed Certificates
If you are using self-signed certificates for your self-hosted LangSmith instance, this can be problematic as Python comes with its own set of trusted certificates, which may not include your self-signed certificate. To resolve this, you may need to use something liketruststore
to load system certificates into your Python environment.
You can do this like so:
- pip install truststore (or similar depending on the package manager you are using)
API Reference
To access the API reference, navigate tohttp://<host>/api/docs
in your browser.