# Create a memory entry

> Creates a new entry in the specified memory container. Automatically generates an embedding for semantic search, and skips the write when an existing entry is a near-duplicate (see `duplicate_threshold`). A merely similar fact is stored as its own entry: this path has no agent context and therefore no model to consolidate two facts into one.

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Create a memory entry"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/api/v1/memory-entries"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Creates a new entry in the specified memory container. Automatically generates an embedding for semantic search, and skips the write when an existing entry is a near-duplicate (see `duplicate_threshold`). A merely similar fact is stored as its own entry: this path has no agent context and therefore no model to consolidate two facts into one.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails>
  
</ParamsDetails>

<RequestSchema
  {...require("./create-memory-entry.RequestSchema.json")}
>
  
</RequestSchema>

<StatusCodes
  {...require("./create-memory-entry.StatusCodes.json")}
>
  
</StatusCodes>
