Documentation Index
Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt
Use this file to discover all available pages before exploring further.
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:| Plan | Persisted vaults |
|---|---|
| Hobby | 1 |
| Pro | 20 |
| Enterprise | Unlimited |
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
| Error | Status | Cause | Resolution |
|---|---|---|---|
persisted-vault-quota-exceeded | 429 | Persisted vault limit reached | Delete old persisted vaults |
vault-already-persisted | 409 | Already persisted | No action needed |
vault-expired | 404 | Vault already expired | Cannot persist expired vaults |
Related
- TTL and expiry — how TTL works
- Delete a vault — free persisted vault quota
- Vault quota — check current usage

