Skip to main content
PUT
/
api
/
v1
/
memory
Update memory
curl --request PUT \
  --url http://localhost:3000/api/v1/memory \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>"
}
'
{
  "ok": true,
  "data": {
    "saved": true
  }
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Configure via the apiKeys field in polpo.json or the POLPO_API_KEY environment variable.

Body

application/json
content
string
required

Response

200 - application/json

Memory updated

ok
boolean
required
data
object
required