Action required: Entity management is moving from Workspaces to Projects. Migrate your entities now. See how to move entities in our guide.
curl --request POST \
--url https://api.orq.ai/v2/memory-stores/{memory_store_key}/memories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entity_id": "<string>"
}
'{
"_id": "<string>",
"entity_id": "<string>",
"created": "<string>",
"updated": "<string>",
"store_id": "<string>",
"workspace_id": "<string>",
"documents_count": 123,
"created_by_id": "<string>",
"updated_by_id": "<string>"
}Creates a new memory in the specified memory store.
curl --request POST \
--url https://api.orq.ai/v2/memory-stores/{memory_store_key}/memories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entity_id": "<string>"
}
'{
"_id": "<string>",
"entity_id": "<string>",
"created": "<string>",
"updated": "<string>",
"store_id": "<string>",
"workspace_id": "<string>",
"documents_count": 123,
"created_by_id": "<string>",
"updated_by_id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique key identifier of the memory store
Unique identifier for the entity this memory is associated with (e.g., user ID, session ID, conversation ID).
1 - 64Memory successfully created.
This property have been deprecated and moved to _id. Please refer to _id for future operations
1 - 64The number of memories in the entity
Was this page helpful?