Minimemory icon

Minimemory

Embedded vector database for similarity search - no server required

Restore From Workflow

AI-generated

Summary

Restores a previously persisted Minimemory database from n8n's workflow static data.

Inputs

  • databaseName (required) — Name to identify this database instance in memory
  • databaseName (required) — Name to identify this database instance in memory, default: 'default', type: string
  • default parameters — Parameters for the database name (not used for this read-only operation)

Output shape

object

Restores a previously persisted Minimemory database from n8n's workflow static data. If the persisted data is found, the database is restored with the total vector count, dimensions, and distance metric. If not found, an error is returned indicating no persisted data was found for the given database name.

Examples

Example 1: Restoring a database that was previously persisted to workflow static data

If the database was previously persisted, it is restored with its metadata (name, vector count, dimensions, distance metric). If not found, an error is returned.

Example 2: Restoring a database that was previously persisted to workflow static data

If the database was previously persisted to workflow static data under the key 'minimemory_{databaseName}', it is restored using n8n's workflow static data API. The restoration returns the database's metadata (name, vector count, dimensions, distance metric) and a success message. If no persisted data is found, a failure message is returned indicating no persisted data was found for the given database name.

Example 3: Attempting to restore a database without prior persistence

If no persisted data is found for the given database name, the operation returns a failure response indicating no persisted data was found for the given database name.

Discussion