Skip to main content
GET
/
vaults
/
{vault_id}
/
credentials
python
from notte_sdk import NotteClient

notte = NotteClient()
# retrieve an existing vault
vault = notte.Vault("<vault_id>")
creds = vault.get_credentials(
    url="https://www.google.com"
)
if creds is None:
    raise ValueError()
print(creds.get("email"), creds["password"])
{
  "credentials": {
    "email": "<string>",
    "username": "<string>",
    "password": "<string>",
    "mfa_secret": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-notte-request-origin
string | null
x-notte-sdk-version
string | null

Path Parameters

vault_id
string
required

Query Parameters

url
string
required

URL upon which to get credentials

Response

Successful Response

credentials
object
required

Retrieved credentials