Create a Nucleus memory manually
curl --request POST \
--url https://app.auditynow.com/api/nucleus/memories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"subject": "Initech security posture",
"content": "Initech CTO confirmed they will not pursue SOC2 in 2026. Compliance roadmap should focus on HIPAA + PCI only.",
"memoryType": "client",
"projectId": "550e8400-e29b-41d4-a716-446655440000"
}
'import requests
url = "https://app.auditynow.com/api/nucleus/memories"
payload = {
"subject": "Initech security posture",
"content": "Initech CTO confirmed they will not pursue SOC2 in 2026. Compliance roadmap should focus on HIPAA + PCI only.",
"memoryType": "client",
"projectId": "550e8400-e29b-41d4-a716-446655440000"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
subject: 'Initech security posture',
content: 'Initech CTO confirmed they will not pursue SOC2 in 2026. Compliance roadmap should focus on HIPAA + PCI only.',
memoryType: 'client',
projectId: '550e8400-e29b-41d4-a716-446655440000'
})
};
fetch('https://app.auditynow.com/api/nucleus/memories', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.auditynow.com/api/nucleus/memories",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'subject' => 'Initech security posture',
'content' => 'Initech CTO confirmed they will not pursue SOC2 in 2026. Compliance roadmap should focus on HIPAA + PCI only.',
'memoryType' => 'client',
'projectId' => '550e8400-e29b-41d4-a716-446655440000'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.auditynow.com/api/nucleus/memories"
payload := strings.NewReader("{\n \"subject\": \"Initech security posture\",\n \"content\": \"Initech CTO confirmed they will not pursue SOC2 in 2026. Compliance roadmap should focus on HIPAA + PCI only.\",\n \"memoryType\": \"client\",\n \"projectId\": \"550e8400-e29b-41d4-a716-446655440000\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.auditynow.com/api/nucleus/memories")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"subject\": \"Initech security posture\",\n \"content\": \"Initech CTO confirmed they will not pursue SOC2 in 2026. Compliance roadmap should focus on HIPAA + PCI only.\",\n \"memoryType\": \"client\",\n \"projectId\": \"550e8400-e29b-41d4-a716-446655440000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.auditynow.com/api/nucleus/memories")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"subject\": \"Initech security posture\",\n \"content\": \"Initech CTO confirmed they will not pursue SOC2 in 2026. Compliance roadmap should focus on HIPAA + PCI only.\",\n \"memoryType\": \"client\",\n \"projectId\": \"550e8400-e29b-41d4-a716-446655440000\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subject": "<string>",
"content": "<string>",
"confidence": 0.5,
"userId": "<string>",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stakeholderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timesRetrieved": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}Nucleus
Create a Nucleus memory manually
Creates a memory of source type explicit (user-asserted fact). The memory is automatically embedded for semantic search.
Use this when the agent learns something important during a conversation that should persist across sessions.
POST
/
api
/
nucleus
/
memories
Create a Nucleus memory manually
curl --request POST \
--url https://app.auditynow.com/api/nucleus/memories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"subject": "Initech security posture",
"content": "Initech CTO confirmed they will not pursue SOC2 in 2026. Compliance roadmap should focus on HIPAA + PCI only.",
"memoryType": "client",
"projectId": "550e8400-e29b-41d4-a716-446655440000"
}
'import requests
url = "https://app.auditynow.com/api/nucleus/memories"
payload = {
"subject": "Initech security posture",
"content": "Initech CTO confirmed they will not pursue SOC2 in 2026. Compliance roadmap should focus on HIPAA + PCI only.",
"memoryType": "client",
"projectId": "550e8400-e29b-41d4-a716-446655440000"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
subject: 'Initech security posture',
content: 'Initech CTO confirmed they will not pursue SOC2 in 2026. Compliance roadmap should focus on HIPAA + PCI only.',
memoryType: 'client',
projectId: '550e8400-e29b-41d4-a716-446655440000'
})
};
fetch('https://app.auditynow.com/api/nucleus/memories', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.auditynow.com/api/nucleus/memories",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'subject' => 'Initech security posture',
'content' => 'Initech CTO confirmed they will not pursue SOC2 in 2026. Compliance roadmap should focus on HIPAA + PCI only.',
'memoryType' => 'client',
'projectId' => '550e8400-e29b-41d4-a716-446655440000'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.auditynow.com/api/nucleus/memories"
payload := strings.NewReader("{\n \"subject\": \"Initech security posture\",\n \"content\": \"Initech CTO confirmed they will not pursue SOC2 in 2026. Compliance roadmap should focus on HIPAA + PCI only.\",\n \"memoryType\": \"client\",\n \"projectId\": \"550e8400-e29b-41d4-a716-446655440000\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.auditynow.com/api/nucleus/memories")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"subject\": \"Initech security posture\",\n \"content\": \"Initech CTO confirmed they will not pursue SOC2 in 2026. Compliance roadmap should focus on HIPAA + PCI only.\",\n \"memoryType\": \"client\",\n \"projectId\": \"550e8400-e29b-41d4-a716-446655440000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.auditynow.com/api/nucleus/memories")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"subject\": \"Initech security posture\",\n \"content\": \"Initech CTO confirmed they will not pursue SOC2 in 2026. Compliance roadmap should focus on HIPAA + PCI only.\",\n \"memoryType\": \"client\",\n \"projectId\": \"550e8400-e29b-41d4-a716-446655440000\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subject": "<string>",
"content": "<string>",
"confidence": 0.5,
"userId": "<string>",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stakeholderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timesRetrieved": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}Authorizations
A Personal Access Token issued from https://app.auditynow.com/dashboard/settings/api-tokens. Format: aky_<32 random chars>.
Body
application/json
Short label for the memory (e.g., 'Initech security posture').
Required string length:
1 - 200The full memory content.
Required string length:
1 - 2000Available options:
client, pattern, preference Response
Memory created
Available options:
client, pattern, preference Maximum string length:
200Maximum string length:
2000Available options:
explicit, extracted, detected Required range:
0 <= x <= 1⌘I

