Skip to main content
DELETE
/
v1
/
memory
Remove memory by text
curl --request DELETE \
  --url https://api.usenaive.ai/v1/memory \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "target": "<string>",
  "agent_id": "<string>"
}
'
{
  "success": true,
  "id": "<string>",
  "removed_content": "<string>"
}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Body

application/json
text
string
required
target
string
agent_id
string

Response

Removed.

success
boolean
id
string
removed_content
string