For AI agents: a documentation index is available at /llms.txt
Skip to main content

SaveSecretResponse

Response returned after attempting to create a Login item in a 1Password integration. The supplied password is never included in the response.

Properties​

PropertyTypeDescription
errorstring | nullStable error code when ok is false: VaultAmbiguous (several vaults visible and none named — pick one from vaults), VaultNotFound, IntegrationNotWritable, ItemCreateFailed, CredentialNotResolved, CredentialIntegrationExpired, VaultUnreachable, InvalidToken, or UnknownResolveError.
messagestring | nullHuman-readable explanation when ok is false.
okbooleanWhether the Login item was created.
refstring | nullID-based op:// reference to the created password field.
timenumber | nullThe amount of time, in milliseconds, the operation took.
vaultsstring[] | nullTitles of the vaults visible to the integration, returned with error VaultAmbiguous when vault was omitted; null otherwise.
Was this page helpful?