Skip to content

Skyvern: Credentials schemas

11 Skyvern schemas with complete fields and constraints.

← Credentials operations · All schemas

Create credential — request body — body

FieldTypePresenceDescription and constraints
$objectRootRequest model for creating a new credential.
auto_profile_disabledbooleanOptionalDisable automatic saving and reuse of this credential's browser profile.
Default: false
browser_profile_idJSONOptionalOptional plain browser profile to link as this credential's saved profile. Must be an unmanaged profile in your organization that no other credential already owns.
browser_profile_id (anyOf 1)stringAlternative
browser_profile_id (anyOf 2)nullAlternative
credentialJSONRequired within parentThe credential data to store
credential (anyOf 1)ModelAlternativeExpand Create credential — request body — body / credential / totp_type: authenticator, email, text, passkey, none
credential (anyOf 2)ModelAlternativeExpand Create credential — request body — body credential billing address, billing email, billing phone, card brand, card cvv, card exp month, card exp year, card holder name, card number, metadata
credential (anyOf 3)ModelAlternativeExpand Create credential — request body — body credential Generic secret credential
credential_typestringRequired within parentType of credential stored in the system.
Type of credential to create
One of: password, credit_card, secret
namestringRequired within parentName of the credential
pin_saved_session_ipbooleanOptionalKeep the same IP across sign-ins that reuse this credential's saved profile.
Default: false
proxy_locationJSONOptionalOptional proxy location for this credential's pinned proxy identity.
proxy_location (anyOf 1)stringAlternativeOne of: RESIDENTIAL, US-CA, US-NY, US-TX, US-FL, US-WA, RESIDENTIAL_ES, RESIDENTIAL_IE, RESIDENTIAL_GB, RESIDENTIAL_IN, RESIDENTIAL_JP, RESIDENTIAL_FR, RESIDENTIAL_DE, RESIDENTIAL_NZ, RESIDENTIAL_ZA, RESIDENTIAL_AR, RESIDENTIAL_AU, RESIDENTIAL_BR, RESIDENTIAL_TR, RESIDENTIAL_CA, RESIDENTIAL_MX, RESIDENTIAL_IT, RESIDENTIAL_NL, RESIDENTIAL_PH, RESIDENTIAL_KR, RESIDENTIAL_SA, RESIDENTIAL_ISP, NONE
proxy_location (anyOf 2)ModelAlternativeExpand Update an agent — response body — proxy location city, country, is ISP, subdivision
proxy_location (anyOf 3)objectAlternativeAdditional keys: allowed
proxy_location (anyOf 4)nullAlternative
proxy_session_idJSONOptionalOptional advanced reuse key for this credential's pinned proxy identity.
proxy_session_id (anyOf 1)stringAlternative
proxy_session_id (anyOf 2)nullAlternative
rotate_proxy_session_idbooleanOptionalRotate the Skyvern-managed proxy sticky-session id when updating this credential.
Default: false
tested_urlJSONOptionalLogin page URL used during the credential test
tested_url (anyOf 1)stringAlternative
tested_url (anyOf 2)nullAlternative
vault_typeJSONOptionalWhich 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.
vault_type (anyOf 1)stringAlternativeOne of: skyvern, bitwarden, azure_vault, gcp, custom, onepassword, bitwarden_connected
vault_type (anyOf 2)nullAlternative

Referenced models: Update an agent — response body — proxy location city, country, is ISP, subdivision, Create credential — request body — body credential billing address, billing email, billing phone, card brand, card cvv, card exp month, card exp year, card holder name, card number, metadata, Create credential — request body — body / credential / totp_type: authenticator, email, text, passkey, none, Create credential — request body — body credential Generic secret credential

Create credential — request body — body / credential / totp_type: authenticator, email, text, passkey, none

FieldTypePresenceDescription and constraints
$objectRootPassword credential model for API writes: non-empty username, optionally empty password.
metadataJSONOptionalOptional additional password credential metadata fields
metadata (anyOf 1)objectAlternativeAdditional keys: see wildcard field
metadata (anyOf 1).*stringAdditional keys
metadata (anyOf 2)nullAlternative
passwordstringOptionalThe password value; may be empty or omitted for logins that have no password
Default:
totpJSONOptionalOptional TOTP (Time-based One-Time Password) string used to generate 2FA codes
totp (anyOf 1)stringAlternative
totp (anyOf 2)nullAlternative
totp_identifierJSONOptionalIdentifier (email or phone number) used to fetch TOTP codes
totp_identifier (anyOf 1)stringAlternative
totp_identifier (anyOf 2)nullAlternative
totp_typestringOptionalType of 2FA/TOTP method used.
Type of 2FA method used for this credential
One of: authenticator, email, text, passkey, none
Default: none
usernamestringRequired within parentThe username associated with the credential (must not be empty)
Minimum length: 1

Create credential — request body — body credential Generic secret credential

FieldTypePresenceDescription and constraints
$objectRootGeneric secret credential.
secret_labelJSONOptionalOptional label describing the secret
secret_label (anyOf 1)stringAlternative
secret_label (anyOf 2)nullAlternative
secret_valuestringRequired within parentThe secret value
Minimum length: 1

Create credential — request body — body credential billing address, billing email, billing phone, card brand, card cvv, card exp month, card exp year, card holder name, card number, metadata

FieldTypePresenceDescription and constraints
$objectRootCredit card credential model that requires non-empty values.
billing_addressJSONOptionalOptional billing address associated with the card
billing_address (anyOf 1)ModelAlternativeExpand Create credential — request body — body credential billing address, billing email, billing phone, card brand, card cvv, card exp month, card exp year, card holder name, card number, metadata billing address city, country, country code, line1, line2, postal code, state, state code
billing_address (anyOf 2)nullAlternative
billing_emailJSONOptionalOptional billing email address
billing_email (anyOf 1)stringAlternative
billing_email (anyOf 2)nullAlternative
billing_phoneJSONOptionalOptional billing phone number
billing_phone (anyOf 1)stringAlternative
billing_phone (anyOf 2)nullAlternative
card_brandstringRequired within parentThe card's brand (must not be empty)
Minimum length: 1
card_cvvstringRequired within parentThe card's CVV (must not be empty)
Minimum length: 1
card_exp_monthstringRequired within parentThe card's expiration month (must not be empty)
Minimum length: 1
card_exp_yearstringRequired within parentThe card's expiration year (must not be empty)
Minimum length: 1
card_holder_namestringRequired within parentThe name of the card holder (must not be empty)
Minimum length: 1
card_numberstringRequired within parentThe full credit card number (must not be empty)
Minimum length: 1
metadataJSONOptionalOptional additional credit card metadata fields
metadata (anyOf 1)objectAlternativeAdditional keys: see wildcard field
metadata (anyOf 1).*stringAdditional keys
metadata (anyOf 2)nullAlternative

Referenced models: Create credential — request body — body credential billing address, billing email, billing phone, card brand, card cvv, card exp month, card exp year, card holder name, card number, metadata billing address city, country, country code, line1, line2, postal code, state, state code

Create credential — request body — body credential billing address, billing email, billing phone, card brand, card cvv, card exp month, card exp year, card holder name, card number, metadata billing address city, country, country code, line1, line2, postal code, state, state code

FieldTypePresenceDescription and constraints
$objectRootOptional billing address fields associated with a credit card credential.
cityJSONOptionalBilling city
city (anyOf 1)stringAlternative
city (anyOf 2)nullAlternative
countryJSONOptionalBilling country
country (anyOf 1)stringAlternative
country (anyOf 2)nullAlternative
country_codeJSONOptionalISO 3166-1 alpha-2 billing country code
country_code (anyOf 1)stringAlternative
country_code (anyOf 2)nullAlternative
line1JSONOptionalBilling address line 1
line1 (anyOf 1)stringAlternative
line1 (anyOf 2)nullAlternative
line2JSONOptionalBilling address line 2
line2 (anyOf 1)stringAlternative
line2 (anyOf 2)nullAlternative
postal_codeJSONOptionalBilling postal code
postal_code (anyOf 1)stringAlternative
postal_code (anyOf 2)nullAlternative
stateJSONOptionalBilling state or region
state (anyOf 1)stringAlternative
state (anyOf 2)nullAlternative
state_codeJSONOptionalBilling state or region code
state_code (anyOf 1)stringAlternative
state_code (anyOf 2)nullAlternative

Create credential — response body

FieldTypePresenceDescription and constraints
$objectRootResponse model for credential operations.
auto_profile_disabledJSONOptionalWhether automatic saving and reuse of this credential's browser profile is disabled.
auto_profile_disabled (anyOf 1)booleanAlternative
auto_profile_disabled (anyOf 2)nullAlternative
browser_profile_idJSONOptionalBrowser profile ID linked to this credential
browser_profile_id (anyOf 1)stringAlternative
browser_profile_id (anyOf 2)nullAlternative
created_byJSONOptionalID of the user who created the credential
created_by (anyOf 1)stringAlternative
created_by (anyOf 2)nullAlternative
credentialJSONRequired within parentThe credential data
credential (anyOf 1)ModelAlternativeExpand Create credential — response body — credential / totp_type: authenticator, email, text, passkey, none
credential (anyOf 2)ModelAlternativeExpand Create credential — response body — credential brand, last four
credential (anyOf 3)ModelAlternativeExpand Create credential — response body — credential secret label
credential_idstringRequired within parentUnique identifier for the credential
credential_typestringRequired within parentType of credential stored in the system.
Type of the credential
Known values: password, credit_card, secret
folder_idJSONOptionalID of the credential folder this credential belongs to, if any
folder_id (anyOf 1)stringAlternative
folder_id (anyOf 2)nullAlternative
item_idJSONOptional1Password item ID for linked credentials
item_id (anyOf 1)stringAlternative
item_id (anyOf 2)nullAlternative
namestringRequired within parentName of the credential
pin_saved_session_ipbooleanOptionalWhether sign-ins reusing this credential's saved profile keep the same IP
Default: false
proxy_locationJSONOptionalOptional proxy location used for the credential's pinned proxy identity.
proxy_location (anyOf 1)ModelAlternativeExpand Update an agent — response body — proxy location string
proxy_location (anyOf 2)ModelAlternativeExpand Update an agent — response body — proxy location city, country, is ISP, subdivision
proxy_location (anyOf 3)objectAlternativeAdditional keys: allowed
proxy_location (anyOf 4)nullAlternative
proxy_session_idJSONOptionalOpaque Skyvern-managed proxy sticky-session id.
proxy_session_id (anyOf 1)stringAlternative
proxy_session_id (anyOf 2)nullAlternative
run_sequentiallybooleanOptionalDefault: false
save_browser_session_intentJSONOptionalWhether the user intends to save a browser session, regardless of test outcome
save_browser_session_intent (anyOf 1)booleanAlternative
save_browser_session_intent (anyOf 2)nullAlternative
tested_urlJSONOptionalLogin page URL used during the credential test
tested_url (anyOf 1)stringAlternative
tested_url (anyOf 2)nullAlternative
upstream_missing_atJSONOptionalWhen the linked 1Password item was last found missing upstream
upstream_missing_at (anyOf 1)stringAlternativeFormat: date-time
upstream_missing_at (anyOf 2)nullAlternative
user_contextJSONOptionalUser-provided context describing the login sequence (e.g., 'click SSO button first')
user_context (anyOf 1)stringAlternative
user_context (anyOf 2)nullAlternative
vault_idJSONOptional1Password vault ID for linked credentials
vault_id (anyOf 1)stringAlternative
vault_id (anyOf 2)nullAlternative
vault_typeJSONOptionalWhich vault stores this credential (e.g., 'skyvern', 'bitwarden', 'azure_vault', 'custom')
vault_type (anyOf 1)stringAlternativeKnown values: skyvern, bitwarden, azure_vault, gcp, custom, onepassword, bitwarden_connected
vault_type (anyOf 2)nullAlternative

Referenced models: Create credential — response body — credential brand, last four, Update an agent — response body — proxy location city, country, is ISP, subdivision, Create credential — response body — credential / totp_type: authenticator, email, text, passkey, none, Update an agent — response body — proxy location string, Create credential — response body — credential secret label

Create credential — response body — credential / totp_type: authenticator, email, text, passkey, none

FieldTypePresenceDescription and constraints
$objectRootResponse model for password credentials — non-sensitive fields only.

SECURITY: Must NEVER include password or TOTP secret.
has_totpbooleanOptionalWhether the stored password credential includes a non-empty TOTP seed. Legacy rows with an unknown value report false until the credential is updated.
Default: false
totp_identifierJSONOptionalIdentifier (email or phone number) used to fetch TOTP codes
totp_identifier (anyOf 1)stringAlternative
totp_identifier (anyOf 2)nullAlternative
totp_typestringOptionalType of 2FA/TOTP method used.
Type of 2FA method used for this credential
Known values: authenticator, email, text, passkey, none
Default: none
usernamestringRequired within parentThe username associated with the credential

Create credential — response body — credential brand, last four

FieldTypePresenceDescription and constraints
$objectRootResponse model for credit card credentials — non-sensitive fields only.

SECURITY: Must NEVER include full card number, CVV, expiration date, card holder name,
billing fields, or metadata.
brandstringRequired within parentBrand of the credit card
last_fourstringRequired within parentLast four digits of the credit card number

Create credential — response body — credential secret label

FieldTypePresenceDescription and constraints
$objectRootResponse model for secret credentials — non-sensitive fields only.

SECURITY: Must NEVER include the secret_value.
secret_labelJSONOptionalOptional label for the stored secret
secret_label (anyOf 1)stringAlternative
secret_label (anyOf 2)nullAlternative

Send TOTP code — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
contentstringRequired within parentThe 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.
expired_atJSONOptionalThe timestamp when the TOTP code expires
expired_at (anyOf 1)stringAlternativeFormat: date-time
expired_at (anyOf 2)nullAlternative
sourceJSONOptionalAn optional field. The source of the TOTP code. e.g. email, sms, etc.
source (anyOf 1)stringAlternative
source (anyOf 2)nullAlternative
task_idJSONOptionalThe task_id the totp code is for. It can be the task_id of the task that the TOTP code is for.
task_id (anyOf 1)stringAlternative
task_id (anyOf 2)nullAlternative
totp_identifierstringRequired within parentThe identifier of the TOTP code. It can be the email address, phone number, or the identifier of the user.
typeJSONOptionalDeprecated compatibility field. Skyvern auto-detects the OTP type from content, so this value does not constrain extraction.
type (anyOf 1)stringAlternativeOne of: totp, magic_link
type (anyOf 2)nullAlternative
workflow_idJSONOptionalThe workflow ID the TOTP code is for. It can be the workflow ID of the workflow that the TOTP code is for.
workflow_id (anyOf 1)stringAlternative
workflow_id (anyOf 2)nullAlternative
workflow_run_idJSONOptionalThe 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.
workflow_run_id (anyOf 1)stringAlternative
workflow_run_id (anyOf 2)nullAlternative

Send TOTP code — response body

FieldTypePresenceDescription and constraints
$objectRoot
codestringRequired within parentThe TOTP code extracted from the content.
contentstringRequired within parentThe 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.
created_atstringRequired within parentThe timestamp when the TOTP code was created.
Format: date-time
expired_atJSONOptionalThe timestamp when the TOTP code expires
expired_at (anyOf 1)stringAlternativeFormat: date-time
expired_at (anyOf 2)nullAlternative
modified_atstringRequired within parentThe timestamp when the TOTP code was modified.
Format: date-time
organization_idstringRequired within parentThe ID of the organization that the TOTP code is for.
otp_typeJSONOptionalThe type of the OTP code.
otp_type (anyOf 1)stringAlternativeKnown values: totp, magic_link
otp_type (anyOf 2)nullAlternative
sourceJSONOptionalAn optional field. The source of the TOTP code. e.g. email, sms, etc.
source (anyOf 1)stringAlternative
source (anyOf 2)nullAlternative
task_idJSONOptionalThe task_id the totp code is for. It can be the task_id of the task that the TOTP code is for.
task_id (anyOf 1)stringAlternative
task_id (anyOf 2)nullAlternative
totp_code_idstringRequired within parentThe skyvern ID of the TOTP code.
totp_identifierstringRequired within parentThe identifier of the TOTP code. It can be the email address, phone number, or the identifier of the user.
typeJSONOptionalDeprecated compatibility field. Skyvern auto-detects the OTP type from content, so this value does not constrain extraction.
type (anyOf 1)stringAlternativeKnown values: totp, magic_link
type (anyOf 2)nullAlternative
workflow_idJSONOptionalThe workflow ID the TOTP code is for. It can be the workflow ID of the workflow that the TOTP code is for.
workflow_id (anyOf 1)stringAlternative
workflow_id (anyOf 2)nullAlternative
workflow_run_idJSONOptionalThe 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.
workflow_run_id (anyOf 1)stringAlternative
workflow_run_id (anyOf 2)nullAlternative

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.