Persist a vault
By default, vaults expire after their TTL (24 hours on Hobby, 7 days on Pro). Persisting a vault pauses the TTL countdown and keeps the vault accessible until you explicitly delete it or your persisted vault quota is reached.When to persist
- The caller needs to download results after the TTL expires
- You want to archive payment results for compliance
- A long-running job produces results that should outlive the default TTL
Persist a vault
- SDK
- cURL
Persist from within your handler
Persist during the request if you know in advance the vault should survive:Persisted vault quota
Persisting consumes your persisted vault quota — separate from active vault quota:
When the quota is full,
persistVault() returns a persisted-vault-quota-exceeded error. Delete older persisted vaults to free quota.
Extending TTL without persisting
If you want to extend the TTL without permanently persisting, useextendVaultTtl():
Error handling
Related
- TTL and expiry — how TTL works
- Delete a vault — free persisted vault quota
- Vault quota — check current usage

