Skip to main content
A vault is a named collection that groups related prompts together. Think of it as a folder or project workspace: you create a vault for a specific theme, client, or workflow, then fill it with the prompts that belong there. Vaults can be kept private, shared via a secret link, or published openly so the community can discover and fork them.
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 a visibility 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 a vaultPromptId — 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 promptsPOST /api/v1/vaults/{vaultId}/prompts to add a prompt to the vault. The response returns a vaultPromptId you can use for subsequent operations.
  • List promptsGET /api/v1/vaults/{vaultId}/prompts returns the prompts in the vault along with their vaultPromptId values.
  • Remove promptsDELETE /api/v1/vaults/{vaultId}/prompts/{vaultPromptId} removes the association without deleting the underlying prompt.
  • Pin a promptPOST /api/v1/vaults/{vaultId}/prompts/{vaultPromptId}/pin marks a prompt as pinned so it surfaces at the top of vault listings. Send DELETE to the same path to unpin.
  • Move a promptPOST /api/v1/vaults/{vaultId}/prompts/{vaultPromptId}/move with 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 is public or unlisted. Send a POST request to:
The API creates a new vault in your account with the same name, description, and prompts as the source. The forked vault starts as private so you can edit it freely before sharing. The original vault is not modified.

Vault object

The vault object returned by the API contains the following fields:

Example vault object

Next steps

See the Organize Vaults guide for step-by-step instructions on creating vaults, setting visibility, pinning prompts, and forking public collections.