Skip to main content
POST
/
api
/
v1
/
runtime
/
v1
/
memory
/
{memoryId}
/
summarize
Summarize Memory
curl --request POST \
  --url https://api.runflow.ai/api/v1/runtime/v1/memory/{memoryId}/summarize \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "model": "gpt-4o-mini",
  "provider": "openai"
}
'

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

Body

application/json
prompt
string

Custom summarization prompt

model
string
default:gpt-4o-mini

Model to use for summarization

provider
enum<string>
default:openai

Provider

Available options:
openai,
anthropic,
bedrock

Response

Summary text (string). Returns { success: false } if session not found or empty.