Skip to content

docs: document calling the sandbox API from outside the cluster - #399

Merged
jackowfish merged 1 commit into
mainfrom
jack/sandbox-external-api
Jul 7, 2026
Merged

docs: document calling the sandbox API from outside the cluster#399
jackowfish merged 1 commit into
mainfrom
jack/sandbox-external-api

Conversation

@jackowfish

Copy link
Copy Markdown
Contributor

Description

The sandbox docs mentioned you could use the SDK from outside the sandbox cluster with an API token, but never said what URL to point it at. This fills that in: set PORTER_SANDBOX_BASE_URL to https://dashboard.porter.run/api/v2/alpha/projects/<project-id>/clusters/<cluster-id> and PORTER_SANDBOX_API_KEY to a Porter API token.

The getting-started page gets the full setup (env exports plus how to find the project and cluster IDs), the SDK quickstarts get a one-liner linking back to it, and the reference pages now document the env var fallbacks on the api_key/base_url constructor options.

@jackowfish
jackowfish merged commit 23e946e into mainJul 7, 2026
1 check passed
@jackowfish
jackowfish deleted the jack/sandbox-external-api branch July 7, 2026 14:23
@mintlify

mintlifyBot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

ProjectStatusPreviewUpdated (UTC)
porter🔴 FailedJul 7, 2026, 2:25 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@jackowfish