Clear agent memory
curl --request DELETE \
--url https://developer.creao.ai/v1/agents/{agent_id}/memory \
--header 'Authorization: Bearer <token>'const url = 'https://developer.creao.ai/v1/agents/{agent_id}/memory';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://developer.creao.ai/v1/agents/{agent_id}/memory"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"ok": true,
"deleted_count": 1
}{
"error": "<string>",
"message": "<string>",
"available": 123,
"required": 123,
"retryAfterSeconds": 123
}{
"error": "AUTHENTICATION_REQUIRED"
}{
"error": "<string>",
"message": "<string>",
"available": 123,
"required": 123,
"retryAfterSeconds": 123
}{
"error": "RATE_LIMITED"
}{
"error": "<string>",
"message": "<string>",
"available": 123,
"required": 123,
"retryAfterSeconds": 123
}Agent Memory
Clear agent memory
Delete all long-term memory items for a personal CREAO agent.
DELETE
/
v1
/
agents
/
{agent_id}
/
memory
Clear agent memory
curl --request DELETE \
--url https://developer.creao.ai/v1/agents/{agent_id}/memory \
--header 'Authorization: Bearer <token>'const url = 'https://developer.creao.ai/v1/agents/{agent_id}/memory';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://developer.creao.ai/v1/agents/{agent_id}/memory"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"ok": true,
"deleted_count": 1
}{
"error": "<string>",
"message": "<string>",
"available": 123,
"required": 123,
"retryAfterSeconds": 123
}{
"error": "AUTHENTICATION_REQUIRED"
}{
"error": "<string>",
"message": "<string>",
"available": 123,
"required": 123,
"retryAfterSeconds": 123
}{
"error": "RATE_LIMITED"
}{
"error": "<string>",
"message": "<string>",
"available": 123,
"required": 123,
"retryAfterSeconds": 123
}Authorizations
bearerAuthapiKeyQuery
Account API key from Developer Console. Keys start with cr_sk_.