Skip to main content
New to Nebula? Start with Core Concepts to understand the architecture.

Storing Memories

The use of metadata is highly discouraged. Nebula already consolidates all the semantics from your content automatically.
Memory creation is asynchronous. Content becomes searchable after Nebula finishes extraction (typically a few seconds). The API returns a 202 status with the memory ID immediately.

Conversation Messages

See Conversations Guide for multi-turn patterns.

Document Upload

Upload a document as raw text, pre-chunked text, or a file. File processing (OCR/transcription/text extraction) happens automatically.
Inline base64 uploads are limited to ~5MB per file part; larger files use a presigned upload flow (max 100MB).

Multiple Documents

The Python SDK exposes a single memories.create() per memory; loop to store multiple documents. To group conversation turns, create one memory with kind="conversation" and a messages list.

Retrieving Memories

For semantic search (finding by meaning), see the Search Guide.

Deleting Memories

Deletion is permanent and cannot be undone.

Bulk Operations

Use memories.list() with metadata_filters to target a set, then delete or update metadata in batches. The endpoint caps limit at 1000 per request, so larger result sets need pagination.
For high-fan-out client work, throttle with chunked Promise.all (e.g., p-limit) instead of one unbounded call. The TS SDK already retries 429s with backoff, but bounded concurrency keeps socket pressure and tail latency reasonable.
Use memories.append() to append content. memories.update() only updates name, metadata, or collection associations.

Source Operations

Memories contain sources (messages in conversations, sections in documents). The retrieve response exposes them on chunks as read-only provenance — opaque records you can inspect but not edit in place. To change stored content, update the memory metadata or append replacement content as a new memory entry.

Next Steps

  • Search - Semantic search and filtering
  • Collections - Organize memories into collections