Get agent memory
curl --request GET \
--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: 'GET', 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.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"name": "<string>",
"content": "<string>",
"trigger": "<string>",
"rationale": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "FEATURE_DISABLED"
}{
"error": "AUTHENTICATION_REQUIRED"
}{
"error": "AGENT_NOT_FOUND"
}{
"error": "RATE_LIMITED"
}{
"error": "<string>",
"message": "<string>",
"available": 123,
"required": 123,
"retryAfterSeconds": 123
}Agent Memory
Get agent memory
Read long-term memory items for a personal CREAO agent.
GET
/
v1
/
agents
/
{agent_id}
/
memory
Get agent memory
curl --request GET \
--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: 'GET', 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.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"name": "<string>",
"content": "<string>",
"trigger": "<string>",
"rationale": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "FEATURE_DISABLED"
}{
"error": "AUTHENTICATION_REQUIRED"
}{
"error": "AGENT_NOT_FOUND"
}{
"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_.
Path Parameters
Personal CREAO agent whose memory to read.
Query Parameters
Optional filter. Comma-separated list of pending, approved, rejected, or all.
Maximum items to return (default 500, max 1000).
Required range:
1 <= x <= 1000Response
Agent memory items.
Show child attributes
Show child attributes