agentApiMemories

Store a memory

Stores a new memory entry. The memory will be:

  • Associated with the authenticated agent as the source
  • Scoped to the subject (for cross-agent sharing) or organization (for shared knowledge)

For subject-scoped memories, provide a subject_id to associate the memory with a specific user or agent. For organization-scoped memories, omit subject_id - the memory will be visible to all agents in the org.

post/api/v1/agent/memories

Headers

X-API-Keystring required

Enter your API key for programmatic access

Request body

Response

Created Memory

MemoriesCreateAgentMemoryResponse201 required— unresolved $ref

Changes