Read and write memory items programmatically. Use this API to integrate Neutrally with any tool, agent, or workflow.
All requests require a Bearer token in the Authorization header. Use your CLI token (from npx neutrally setup) or a Supabase JWT.
Authorization: Bearer ntrl_your_token_hereEach memory item has a type, title, content, optional metadata (JSON), and can be pinned.
/api/v1/memoryList all memory items. Filter by type with ?type=project
Query params
?type=project|decision|preference|fact|noteResponse
{ items: [...], count: 5 }/api/v1/memoryCreate a new memory item.
Request body
{ "type": "decision", "title": "Use Supabase", "content": "Chose Supabase for fast iteration" }Response
{ id, type, title, content, ... }/api/v1/memoryUpdate an existing memory item.
Request body
{ "id": "uuid", "title": "Updated title", "content": "New content" }Response
{ id, type, title, content, ... }/api/v1/memory?id=uuidDelete a memory item by ID.
Response
{ deleted: true }curl -X POST https://neutrally.app/api/v1/memory \
-H "Authorization: Bearer ntrl_your_token" \
-H "Content-Type: application/json" \
-d '{
"type": "decision",
"title": "Database: Supabase",
"content": "Chose Supabase over Firebase for RLS and Postgres support"
}'Base URL: https://neutrally.app