cred_…); their secret values are never returned.
Every method here also accepts request_options (Python) or a final requestOptions argument (TypeScript) to override the timeout, retries or headers for one call; see request options.
create_credential
Creates a new credential for the current organizationstr
required
Name of the credential
"password" | "credit_card" | "secret"
required
Type of credential to create
CreateCredentialRequestCredential
required
The credential data to store
CredentialVaultType | None
Which vault to store this credential in. If omitted, uses the instance default. Use this to mix Skyvern-hosted and custom credentials within the same organization.Sent only when you pass it
CreateCredentialRequestProxyLocation | None
Optional proxy location for this credential’s pinned proxy identity.Sent only when you pass it
str | None
Optional advanced reuse key for this credential’s pinned proxy identity.Sent only when you pass it
bool | None
Rotate the Skyvern-managed proxy sticky-session id when updating this credential.Sent only when you pass it
str | None
Login page URL used during the credential testSent only when you pass it
CredentialResponse · TypeScript Promise<CredentialResponse>
CredentialResponse fields
CredentialResponse fields
get_credential
Retrieves a specific credential by its IDstr
required
The unique identifier of the credentialTypeScript:
credentialIdCredentialResponse · TypeScript Promise<CredentialResponse>
CredentialResponse fields
CredentialResponse fields
get_credentials
Retrieves a paginated list of credentials for the current organizationint | None
Page number for paginationDefault:
Noneint | None
Number of items per pageDefault:
NoneCredentialVaultType | None
Filter credentials by vault type (e.g. ‘skyvern’, ‘custom’, ‘bitwarden’, ‘azure_vault’)Default:
None"password" | "credit_card" | "secret" | None
Filter credentials by type (e.g. ‘password’, ‘credit_card’, ‘secret’)Default:
Nonestr | None
Case-insensitive search across credential name, username, secret label, and card detailsDefault:
Nonelist[CredentialResponse] · TypeScript Promise<CredentialResponse[]>
CredentialResponse fields
CredentialResponse fields
update_credential
Overwrites the stored credential data (e.g. username/password) while keeping the same credential_id.str
required
The unique identifier of the credential to updateTypeScript:
credentialIdstr
required
Name of the credential
"password" | "credit_card" | "secret"
required
Type of credential to create
CreateCredentialRequestCredential
required
The credential data to store
CredentialVaultType | None
Which vault to store this credential in. If omitted, uses the instance default. Use this to mix Skyvern-hosted and custom credentials within the same organization.Sent only when you pass it
CreateCredentialRequestProxyLocation | None
Optional proxy location for this credential’s pinned proxy identity.Sent only when you pass it
str | None
Optional advanced reuse key for this credential’s pinned proxy identity.Sent only when you pass it
bool | None
Rotate the Skyvern-managed proxy sticky-session id when updating this credential.Sent only when you pass it
str | None
Login page URL used during the credential testSent only when you pass it
CredentialResponse · TypeScript Promise<CredentialResponse>
CredentialResponse fields
CredentialResponse fields
delete_credential
Deletes a specific credential by its IDstr
required
The unique identifier of the credential to deleteTypeScript:
credentialIdNone · TypeScript Promise<void>
Example
send_totp_code
Forward a TOTP (2FA, MFA) email or sms message containing the code to Skyvern. This endpoint stores the code in database so that Skyvern can use it while running tasks/workflows.str
required
The identifier of the TOTP code. It can be the email address, phone number, or the identifier of the user.
str
required
The content of the TOTP code. It can be the email content that contains the TOTP code, or the sms message that contains the TOTP code. Skyvern will automatically extract the TOTP code from the content.
str | None
The task_id the totp code is for. It can be the task_id of the task that the TOTP code is for.Sent only when you pass it
str | None
The workflow ID the TOTP code is for. It can be the workflow ID of the workflow that the TOTP code is for.Sent only when you pass it
str | None
The workflow run id that the TOTP code is for. It can be the workflow run id of the workflow run that the TOTP code is for.Sent only when you pass it
str | None
An optional field. The source of the TOTP code. e.g. email, sms, etc.Sent only when you pass it
datetime | None
The timestamp when the TOTP code expiresSent only when you pass it
OtpType | None
Deprecated compatibility field. Skyvern auto-detects the OTP type from content, so this value does not constrain extraction.Sent only when you pass it
TotpCode · TypeScript Promise<TotpCode>
TotpCode fields
TotpCode fields

