Skip to main content
POST
Create Memory

Authorizations

X-API-Key
string
header
required

Your duohub API key. Type: str

Body

application/json
name
string
required

Name of the memory

memoryType
enum<string>
required

Type of memory storage

Available options:
graph,
vector
description
string
default:""

Description of the memory

ontology
enum<string>

Ontology type for the memory (required for graph memory type)

Available options:
culture,
essays,
support_requests
chunkSize
integer
default:250

Size of text chunks in characters for processing (only for vector memory type)

chunkOverlap
integer
default:10

Overlap size between chunks in percentages (only for vector memory type)

Required range: 1 <= x <= 50
webhookUrl
string<uri>

Optional webhook URL for notifications

acceleration
boolean
default:false

Whether to enable acceleration

factExtraction
boolean
default:false

Whether to enable fact extraction

Response

Memory created successfully

status
enum<string>
Available options:
success
data
object