docs(sandbox): document registry creation via client.registries#4626
Open
Mukil Loganathan (langchain-infra) wants to merge 1 commit into
Open
docs(sandbox): document registry creation via client.registries#4626Mukil Loganathan (langchain-infra) wants to merge 1 commit into
Mukil Loganathan (langchain-infra) wants to merge 1 commit into
Conversation
Inline registry url/username/password on snapshot creation are no longer supported; update the snapshots and CLI docs to create a registry with client.registries.create(...) and reference it by registry_id / --registry-id.
Contributor
|
Mintlify preview branch generated: Site preview: https://langchain-5e9cc07a-preview-mukils-1782461447-28a4f81.mintlify.app Important Preview links may take a few minutes to start working while the deployment finishes. Changed documentation pages (preview deep links): |
Contributor
|
Thanks for opening a docs PR, Mukil Loganathan (@langchain-infra)! When it's ready for review, please add the relevant reviewers:
|
Kathryn May (katmayb)
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Snapshot creation no longer accepts inline registry credentials. The
registry_url/registry_username/registry_passwordoptions (and the CLI--registry-url/--registry-username/--registry-passwordflags) were removed in favor of first-class registries referenced by id. The current docs still show the removed options, so anyone copying them hits an error.What
sandbox-snapshots.mdx: replace the inline-credential example with creating a registry viaclient.registries.create(...)and passing its id asregistry_id(Python) /registryId(TypeScript). Add a line coveringlist/retrieve/update/delete.sandbox-cli.mdx: replace the removed registry-credential flags with--registry-id, linking to the snapshots page for creating a registry.Both examples use the same
SandboxClientthe docs already show — theregistriesaccessor is added in langchain-ai/langsmith-sdk#3087.Dependency — do not merge before the SDK ships
client.registries/client.registriesships in langchain-ai/langsmith-sdk#3087. Keep this PR as a draft until that PR is merged and released, otherwise the docs describe an API users cannot call yet. A version-added<Note>should be added once the targetlangsmithrelease is known.Test plan
make lint_proseclean on both files (0 errors, 0 warnings).client.registriescreate → retrieve → list → delete.Authored with the assistance of an AI agent.