Every Prompt Bank account comes with a General vault (
isSystem: true) that is created automatically. It acts as the default destination for any prompt or generation output that doesn’t specify a vaultId. You cannot delete the General vault.Visibility levels
Each vault has avisibility setting that controls who can see and access it.
You can change a vault’s visibility at any time by sending a
PATCH /api/v1/vaults/{vaultId} request with the new visibility value.
Vault operations
Managing prompts in a vault
Once a vault exists, you have full control over which prompts live inside it and how they are arranged. The endpoints use avaultPromptId — the ID of the vault-prompt association record — rather than the underlying promptId. This distinction matters when you remove, pin, or move a prompt: you are operating on the membership link, not the prompt itself.
- Add prompts —
POST /api/v1/vaults/{vaultId}/promptsto add a prompt to the vault. The response returns avaultPromptIdyou can use for subsequent operations. - List prompts —
GET /api/v1/vaults/{vaultId}/promptsreturns the prompts in the vault along with theirvaultPromptIdvalues. - Remove prompts —
DELETE /api/v1/vaults/{vaultId}/prompts/{vaultPromptId}removes the association without deleting the underlying prompt. - Pin a prompt —
POST /api/v1/vaults/{vaultId}/prompts/{vaultPromptId}/pinmarks a prompt as pinned so it surfaces at the top of vault listings. SendDELETEto the same path to unpin. - Move a prompt —
POST /api/v1/vaults/{vaultId}/prompts/{vaultPromptId}/movewith body{ "targetVaultId": 42 }transfers the prompt to a different vault.
Forking a vault
Forking lets you copy an existing vault — and all of its prompts — into your own account. You can fork any vault whose visibility ispublic or unlisted.
Send a POST request to:
private so you can edit it freely before sharing. The original vault is not modified.