Agent Memory
Create Agent memory
Create Agent memory. The request enforces Agent memory roles, scope, ownership, and lifecycle state.
POST
/
api
/
v1
/
agents
/
memory
Create Agent memory
curl --request POST \
--url https://api.revoengine.com/api/v1/agents/memory \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"kind": "digest",
"name": "Billing source",
"summary": "The billing reconciliation workspace uses Stripe as the payment source of truth."
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
kind: 'digest',
name: 'Billing source',
summary: 'The billing reconciliation workspace uses Stripe as the payment source of truth.'
})
};
fetch('https://api.revoengine.com/api/v1/agents/memory', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/agents/memory"
payload = {
"kind": "digest",
"name": "Billing source",
"summary": "The billing reconciliation workspace uses Stripe as the payment source of truth."
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Body
application/json
Response
201
⌘I
Create Agent memory
curl --request POST \
--url https://api.revoengine.com/api/v1/agents/memory \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"kind": "digest",
"name": "Billing source",
"summary": "The billing reconciliation workspace uses Stripe as the payment source of truth."
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
kind: 'digest',
name: 'Billing source',
summary: 'The billing reconciliation workspace uses Stripe as the payment source of truth.'
})
};
fetch('https://api.revoengine.com/api/v1/agents/memory', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/agents/memory"
payload = {
"kind": "digest",
"name": "Billing source",
"summary": "The billing reconciliation workspace uses Stripe as the payment source of truth."
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
