Save an AI memory
curl --request POST \
--url https://app.hookie.ai/admin/api/data-workspace/memories \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"content": "<string>",
"tags": [
"<string>"
],
"memory_key": "<string>",
"project_id": "<string>",
"visibility": "private"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
content: '<string>',
tags: ['<string>'],
memory_key: '<string>',
project_id: '<string>',
visibility: 'private'
})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/memories', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/memories"
payload = {
"title": "<string>",
"content": "<string>",
"tags": ["<string>"],
"memory_key": "<string>",
"project_id": "<string>",
"visibility": "private"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Data workspace
Save an AI memory
Requires write access. Saves a memory artifact in the caller’s personal context. The source app is taken from the connected agent’s OAuth registration (Claude, Claude Code, ChatGPT, Codex). client is used only when the registration does not say, and console saves are console. With a memory_key, saving again from the same source updates that artifact (200) instead of creating another (201). Private unless visibility is team. At most 2,000 memories per member and 32,768 characters each.
POST
/
admin
/
api
/
data-workspace
/
memories
Save an AI memory
curl --request POST \
--url https://app.hookie.ai/admin/api/data-workspace/memories \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"content": "<string>",
"tags": [
"<string>"
],
"memory_key": "<string>",
"project_id": "<string>",
"visibility": "private"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
content: '<string>',
tags: ['<string>'],
memory_key: '<string>',
project_id: '<string>',
visibility: 'private'
})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/memories', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/memories"
payload = {
"title": "<string>",
"content": "<string>",
"tags": ["<string>"],
"memory_key": "<string>",
"project_id": "<string>",
"visibility": "private"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Body
application/json
Response
Successful operation
The response is of type object.