Skip to main content

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​

NameInTypeRequiredDescription
secret_namepathstringyes—
sandbox_idpathstringyes—

Responses​

StatusDescription
200Successful Response
422Validation Error

Operation ID: get_secret_value_api_v1_sandboxes__sandbox_id__settings_secrets__secret_name__get