Delete one memory item (an example or a note); batches already started keep their snapshot
DELETE
/v1/studio/memory/{item_id}
const url = 'http://localhost:8300/v1/studio/memory/example';const options = { method: 'DELETE', headers: {'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:8300/v1/studio/memory/example \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”item_id
required
string
Memory item UUID (unknown, another user’s or malformed = 404)
Responses
Section titled “Responses”Deleted
Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}Not found
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}Retryable
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}