---
title: "Get sandbox access decision"
method: GET
path: "/auth/sandbox-access"
tags: ["sandboxes"]
---

# Get sandbox access decision

`GET /auth/sandbox-access`

Combines authn + per-sandbox authz for runtime access. Returns the caller's PublicAuthInfo on allow (HTTP 200) or a 403 with the deny reason on deny.

## Query parameters

- `sandbox_id` string, required
- `action` string, required

## Response `200`

OK

- AuthnPublicAuthInfo
  - `ls_user_id` string
  - `organization_id` string
  - `tenant_id` string
  - `user_email` string
  - `user_id` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — sandbox access denied: <reason>
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.net/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/versions/a0acb3a6a101/schema)
