Skip to main content
PUT
/
api
/
v1
/
runtime
/
v1
/
memory
/
{memoryId}
Set Memory
curl --request PUT \
  --url https://api.runflow.ai/api/v1/runtime/v1/memory/{memoryId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "messages": [
    {
      "content": "<string>",
      "metadata": {},
      "timestamp": "2023-11-07T05:31:56Z"
    }
  ],
  "metadata": {}
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.runflow.ai/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

memoryId
string
required

Memory identifier (entityType:entityValue or sessionId)

Body

application/json

{ messages: Message[], metadata?: Record<string, any> }

messages
object[]
metadata
object

Response

Memory replaced. Body is empty on success.