Docs · REST
BetaThe REST API.
The same memory the MCP tools use, over plain HTTPS with a personal access token or an OAuth token. The web app and the Claude Code hooks run on these endpoints.
StorForge Memory is in open beta: create a free account, connect Claude, Claude Code, Cursor or any MCP client, and your assistants share one memory today. Free during the beta, no credit card, export everything. Base URL https://storforge.com. Tokens: create a personal access token on the Connections page (sfp_, scoped to spaces, read or write), or use the access token an OAuth connection holds. Rate limits are per token; 429 carries Retry-After.
two callsbash
curl -s "https://storforge.com/v1/context?purpose=planning%20my%20week&budget_tokens=1200" \
-H "Authorization: Bearer sfp_..."
curl -s -X POST https://storforge.com/v1/memories \
-H "Authorization: Bearer sfp_..." -H "Content-Type: application/json" \
-d '{"content": "Prefers tables over prose in reports.", "type": "preference", "space": "work"}'Endpoints
What is there.
| Endpoint | What it does | Auth |
|---|---|---|
| GET /v1/context | The Context Pack: purpose, budget_tokens (200 to 8000), spaces, subject. Returns markdown, tokens, pack id and memory ids. | token |
| GET /v1/memories | Browse: q, space, type, status (active, superseded), limit, offset. | token |
| GET /v1/memories/search | Hybrid keyword and semantic search: q, spaces, types, since, limit, include_superseded. | token |
| POST /v1/memories | Store one memory: content, type, title, space, tags, importance, durability, confidence, subject, conversation_ref. | token (write) |
| GET, PATCH, DELETE /v1/memories/{id} | Read with history, correct (keeps the old version, marked superseded), forget (tombstone). | token |
| POST /v1/memories/{id}/revert | Make an earlier version current again. | token (write) |
| POST /v1/memories/{id}/promote | Propose a sandbox memory into a governed space; it waits in review. | token (write) |
| POST /v1/session-notes | An episodic summary of a working session: summary, space, decisions, open_items, conversation_ref. | token (write) |
| GET /v1/spaces | The spaces this token may read and write, with kind, owns and uses. | token |
| GET /v1/subjects, /v1/subjects/{ref}, /v1/subjects/{ref}/briefing | Systems and other subjects, the dossier of one, and its briefing (format=claude-md writes a CLAUDE.storforge.md). | token |
| GET /v1/landscape | The organization as tiers, teams, apps and sandboxes, with people and assistants per space. | token |
| GET /v1/timeline, /v1/memories/{id}/chain | Who changed what and when; the version chain of one memory. | token |
| GET /v1/export | Everything as a zip of Memory File Format files. No plan check, by design. | token |
| GET /v1/admin/overview, /v1/admin/agents, /v1/admin/tokens, /v1/admin/review, /v1/admin/audit, /v1/admin/import/* | Owner operations behind the web app: counts and onboarding state, connections and their grants, personal access tokens, the review queue, the audit log, the import flow. | web session |
| POST /v1/public/import/parse, /v1/public/import/export | Stateless: parse a pasted memory export into memory items and a preview briefing, or render the items as a zip of files. Nothing is stored. | none |
| GET /v1/public/demo, /v1/public/demo/context, /v1/public/demo/briefing | The seeded demo person and company: memories, a live context pack, one system briefing. Read only, rate limited. | none |
Errors come back as JSON with a code the caller can act on: forbidden_space, read_only_token, secret_rejected, not_found, pending_review, rate_limited. The same codes are documented on the MCP reference.
Conventions
Shapes and rules.
- Memory records carry id (ULID), type, space, title, content, source (agent, model, method, captured_at), importance, durability, status and supersedes.
- Space references are a slug (personal, work) or org/space for an organization vault; ?vault=<org slug> binds a request to one organization.
- Every write is versioned and attributed to the token's connection. Credential-like content is refused with secret_rejected.
- Export has no tier check on any plan, including Free.
Build on it.
Create a free account, create a token, call the endpoint. Developers who connect an in-house agent early shape the SDKs.