Get your API key, store a memory with automatic PII redaction, retrieve it with tenant isolation, and verify the audit trail.
Sign up at tracecontinuity.com/pricing — your key is provisioned instantly after checkout. It starts with mnm_ and looks like this:
mnm_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6
# Set it as an env var for the rest of this guide
export TC_API_KEY="mnm_your_key_here"
# .env file (add to .gitignore)
TC_API_KEY=mnm_your_key_here
# In your code:
import os
API_KEY = os.environ["TC_API_KEY"]
// .env file (add to .gitignore)
TC_API_KEY=mnm_your_key_here
// In your code:
const API_KEY = process.env.TC_API_KEY;
POST to /v1/memories with content and a tenant_id. PII is automatically tokenized before storage — you don't need to pre-process anything.
curl -X POST https://tracecontinuity.com/v1/memories \
-H "Authorization: Bearer $TC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "Patient Jane Doe (SSN 123-45-6789) prefers morning appointments",
"tenant_id": "agent_clinical_01"
}'
import requests, os
response = requests.post(
"https://tracecontinuity.com/v1/memories",
headers={
"Authorization": f"Bearer {os.environ['TC_API_KEY']}",
"Content-Type": "application/json",
},
json={
"content": "Patient Jane Doe (SSN 123-45-6789) prefers morning appointments",
"tenant_id": "agent_clinical_01",
}
)
memory = response.json()
print(memory["id"], memory["content"])
const res = await fetch("https://tracecontinuity.com/v1/memories", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.TC_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
content: "Patient Jane Doe (SSN 123-45-6789) prefers morning appointments",
tenant_id: "agent_clinical_01",
}),
});
const memory = await res.json();
console.log(memory.id, memory.content);
{
"id": 2847,
"content": "Patient [PII_NAME:a7f3] (SSN [PII_SSN:b2e1]) prefers morning appointments",
"tenant_id": "agent_clinical_01",
"created_at": "2026-05-18T11:42:00.000Z",
"governance": {
"pii_detected": true,
"tokens_applied": 2,
"types": ["NAME", "SSN"]
}
}
Query memories scoped to a tenant. Each API key can only access memories belonging to its authorized tenants — cross-tenant access is blocked at the infrastructure level.
curl "https://tracecontinuity.com/v1/memories?tenant_id=agent_clinical_01" \
-H "Authorization: Bearer $TC_API_KEY"
response = requests.get(
"https://tracecontinuity.com/v1/memories",
headers={"Authorization": f"Bearer {os.environ['TC_API_KEY']}"},
params={"tenant_id": "agent_clinical_01"}
)
memories = response.json()["memories"]
for m in memories:
print(m["content"])
const res = await fetch(
"https://tracecontinuity.com/v1/memories?tenant_id=agent_clinical_01",
{ headers: { "Authorization": `Bearer ${process.env.TC_API_KEY}` } }
);
const { memories } = await res.json();
memories.forEach(m => console.log(m.content));
{
"memories": [
{
"id": 2847,
"content": "Patient [PII_NAME:a7f3] (SSN [PII_SSN:b2e1]) prefers morning appointments",
"tenant_id": "agent_clinical_01",
"created_at": "2026-05-18T11:42:00.000Z"
}
],
"total": 1
}
Check your usage dashboard to see governance events — every PII detection, tokenization, and access check is logged with timestamps and tenant context.
curl https://tracecontinuity.com/v1/usage \
-H "Authorization: Bearer $TC_API_KEY"
response = requests.get(
"https://tracecontinuity.com/v1/usage",
headers={"Authorization": f"Bearer {os.environ['TC_API_KEY']}"}
)
usage = response.json()
print(f"Memories: {usage['total_memories']}")
print(f"Governance events: {usage['governance_events']}")
print(f"Tier: {usage['tier']}")
const res = await fetch("https://tracecontinuity.com/v1/usage", {
headers: { "Authorization": `Bearer ${process.env.TC_API_KEY}` }
});
const usage = await res.json();
console.log(`Memories: ${usage.total_memories}`);
console.log(`Governance events: ${usage.governance_events}`);
console.log(`Tier: ${usage.tier}`);
{
"total_memories": 1,
"api_calls_today": 3,
"governance_events": 2,
"tier": "business",
"rate_limit": {
"max": 1000,
"remaining": 997
}
}
Your agent now has governed memory with automatic PII redaction, audit logging, and tenant isolation. Here's where to go from here:
Tell us what you're building and we'll get you set up. Healthcare, legal, and fintech use cases prioritized.