Create a memory
$ ant beta:memory-stores:memories createPOST/v1/memory_stores/{memory_store_id}/memories
Create a memory
Parameters
Header param: Optional header to specify the beta version(s) you want to use.
Returns
Create a memory
ant beta:memory-stores:memories create \
--api-key my-anthropic-api-key \
--memory-store-id memory_store_id \
--content content \
--path xx{
"id": "id",
"content_sha256": "content_sha256",
"content_size_bytes": 0,
"created_at": "2019-12-27T18:11:19.117Z",
"memory_store_id": "memory_store_id",
"memory_version_id": "memory_version_id",
"path": "path",
"type": "memory",
"updated_at": "2019-12-27T18:11:19.117Z",
"content": "content"
}Returns Examples
{
"id": "id",
"content_sha256": "content_sha256",
"content_size_bytes": 0,
"created_at": "2019-12-27T18:11:19.117Z",
"memory_store_id": "memory_store_id",
"memory_version_id": "memory_version_id",
"path": "path",
"type": "memory",
"updated_at": "2019-12-27T18:11:19.117Z",
"content": "content"
}