Key-Value Storage icon

Key-Value Storage

Key-Value Storage Getter and Setter

List All KeyValues in ALL Scopes

AI-generated

Overview

This node operation retrieves all key-value pairs stored across all scopes in the key-value storage system. It is useful for debugging or auditing purposes when you need to see every stored key and its corresponding value regardless of the scope. For example, it can be used to get a comprehensive view of all stored data in an n8n instance, including execution, workflow, and instance scopes.

Use Case Examples

  1. Retrieve all key-value pairs from all scopes to audit stored data.
  2. Debug storage issues by listing every key and value stored in the system.

Output

JSON

  • key - The key stored in the key-value storage
  • value - The value associated with the key in the storage
  • scope - The scope in which the key-value pair is stored

Dependencies

  • An internal key-value storage service accessed via KvStorageService

Troubleshooting

  • If the node returns an empty list, it may indicate that no key-value pairs are stored in any scope.
  • Ensure that the key-value storage service is properly initialized and accessible to avoid errors.
  • If the node fails, check for permission or access issues related to the storage service.

Discussion