LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithsandbox_modelsServiceLoginURL
Class●Since v0.14

ServiceLoginURL

Copy
ServiceLoginURL(
    self,
    url: str,
    access: str,
)

Constructors

Attributes

Methods

View source on GitHub
constructor
__init__
NameType
urlstr
accessstr
attribute
url: str
attribute
access: str
method
from_dict

Create a ServiceLoginURL from API response dict.

Service URL gated by LangSmith login rather than a token.

The grant is durable: there is no token to carry and no expiry, so the URL is only usable from a browser signed in to LangSmith. That is also why this carries none of :class:ServiceURL's auth-injecting HTTP helpers — a programmatic request cannot satisfy the login.