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.
Delete a vault
Deleting a vault immediately purges all its documents, files, and events and frees the vault slot from your quota. Use deletion to explicitly clean up vaults you no longer need, or to free persisted vault quota.- SDK
- cURL
What deletion removes
| Content | Removed |
|---|---|
| Vault metadata record | Yes |
| Documents | Yes |
| File GCS objects | Yes |
| CDN cache entries | Yes (within minutes) |
| Vault events | Yes |
| Webhook delivery logs | No (kept for audit) |
When to delete
- You have processed results and no longer need the vault
- You’ve hit persisted vault quota and need to free a slot
- Cleaning up test vaults in development
Active vaults delete automatically
Active vaults expire automatically at the end of their TTL — you don’t need to delete them. Explicit deletion is most useful for persisted vaults where you want to free the persisted quota slot.Deleting an active vault
You can delete a vault in any state, includingactive. This is destructive — if work is in progress, it is cancelled and the vault’s contents are lost.
Error handling
| Error | Status | Cause | Resolution |
|---|---|---|---|
vault-not-found | 404 | Vault ID doesn’t exist or already deleted | No action needed |
Related
- Vault quota — monitor your quota
- Persist a vault — prevent auto-expiry instead of deleting
- TTL and expiry — automatic expiry behaviour

