v44

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-05-192301780.0 KB
Memory

Add memory

Store memories from conversation messages. Automatically extracts facts and handles deduplication.

Use tag_1 through tag_12 for filtering - these are generic indexed fields you can use for any purpose:

  • Legal app: tag_1=client_id, tag_2=matter_id
  • Healthcare: tag_1=patient_id, tag_2=encounter_id
  • E-commerce: tag_1=customer_id, tag_2=order_id
post/memory/v1

Request body

tag_1string

Generic indexed filter field 1 (you decide what it means)

tag_2string

Generic indexed filter field 2

tag_3string

Generic indexed filter field 3

tag_4string

Generic indexed filter field 4

tag_5string

Generic indexed filter field 5

tag_6string

Generic indexed filter field 6

tag_7string

Generic indexed filter field 7

tag_8string

Generic indexed filter field 8

tag_9string

Generic indexed filter field 9

tag_10string

Generic indexed filter field 10

tag_11string

Generic indexed filter field 11

tag_12string

Generic indexed filter field 12

categorystring

Custom category (e.g., "fact", "preference", "deadline")

metadataobject

Additional metadata (not indexed)

inferboolean

Whether to extract facts from messages (default: true)

extraction_promptstring

Optional custom prompt for fact extraction

Response

Memories added successfully