POST
/
memories
/
create

Authorizations

X-API-Key
string
header
required

Your duohub API key. Type: str

Body

application/json
memoryType
enum<string>
required

Type of memory storage

Available options:
graph,
vector
name
string
required

Name of the memory

acceleration
boolean
default:
false

Whether to enable acceleration

chunkOverlap
integer
default:
10

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

Required range: 1 < x < 50
chunkSize
integer
default:
250

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

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
webhookUrl
string

Optional webhook URL for notifications

Response

201 - application/json
data
object
status
enum<string>
Available options:
success