Memory

Ingest content into memory system (async embedding)

post/api/memory/index

Request body

agentIdstring
contentstring required
namestring required
scope'agent' | 'swarm' required
source'manual' | 'file_index' | 'session_summary' | 'task_completion' required
sourceTaskIdstring uuid
sourcePathstring
tagsstring[]
persistMemoryboolean
contextKeystring

Response

Content queued for embedding

queuedboolean required
memoryIdsstring[] required
skippedstring
editedboolean

Changes

Changed in 2 of the 104 revisions of this API.3

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added

    • the request property format was generalized from uuid to no format

      request-property-type-generalized