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

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.

Path Parameters

agentName
string
required

Body

application/json
content
string
required

Response

200 - application/json

Agent memory updated

ok
boolean
required
data
object
required