Get secret value
GET /api/v1/sandboxes/{sandbox_id}/settings/secrets/{secret_name}
Return a single secret value as plain text. Called by LookupSecret inside the sandbox. Checks custom secrets first, then falls back to provider tokens — always resolving the latest token at call time.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
secret_name | path | string | yes | — |
sandbox_id | path | string | yes | — |
Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
Operation ID: get_secret_value_api_v1_sandboxes__sandbox_id__settings_secrets__secret_name__get