403 Forbidden.
The IP allowlist is available for LangSmith Cloud organizations on request. To enable it for your organization, contact your LangChain account team or our sales team.
What the allowlist covers
When the allowlist is active, LangSmith rejects requests from addresses outside the list on:- The LangSmith web app.
- The REST API and the LangSmith SDKs.
- Trace ingestion, including the OpenTelemetry endpoint (
/otel/v1/traces).
Prerequisites
- The IP allowlist must be enabled for your organization by LangChain. You can’t turn it on yourself. To check whether it’s enabled, call Get current organization info and look for
"ip_allowlist_enabled": truein the response. - You need the
organization:security-policy:managepermission to change the allowlist. The Organization Admin and Organization Operator roles include it. - Personal organizations don’t support the IP allowlist.
Set the allowlist
The allowlist is configured through the API. Send the full list of allowed entries in theip_allowlist field of the Update current organization info endpoint. Each request replaces the existing list. If the allowlist isn’t enabled for your organization yet, the request returns 403 Forbidden.
eu.api.smith.langchain.com, apac.api.smith.langchain.com, or aws.api.smith.langchain.com).
To see the current list, call Get current organization info and read the ip_allowlist field.
Entry format
Each entry is either a single IP address or a CIDR range. IPv4 and IPv6 are both supported. The list can hold up to 200 entries. LangSmith rejects the update if any entry:- Isn’t a valid IP address or CIDR range.
- Is a bare IPv4 address ending in
.0or.255. These usually mean a network or broadcast address was entered by mistake. If you intend to allow that range or host, use CIDR notation instead, such as198.51.100.0/24or198.51.100.255/32. - Falls within or overlaps the multicast range
224.0.0.0/4.
Lockout protection
The IP address you send the update from must be inside the new list. If it isn’t, LangSmith rejects the update with400 Bad Request so you don’t lock yourself out. Add an entry that covers your current address and try again.
The check uses the public IP address LangSmith sees your request come from. If you’re behind a VPN, proxy, or NAT gateway, that’s the gateway’s public IP, not your machine’s local address.
Remove the allowlist
To stop enforcing the allowlist, setip_allowlist to an empty list:
Connect these docs to your agent of choice via MCP for real-time answers.

