NormalizeURL strips a trailing "/api/v1" suffix (with or without a trailing.
func NormalizeURL(apiURL string) stringNormalizeURL strips a trailing "/api/v1" suffix (with or without a trailing slash) so that the SDK — which appends "api/v1" itself — does not double it. Self-hosted users commonly set LANGSMITH_ENDPOINT to "https://host/api/v1".
| Name | Type | Description |
|---|---|---|
apiURL* | string |