API
REST API
Call MAGLA Memory from any language that can send HTTPS and JSON.
Base URL
https://magla-memory.5-180-47-236.sslip.io
Send the project key as Authorization: Bearer <MAGLA_MEMORY_API_KEY>.
Check status
curl -sS https://magla-memory.5-180-47-236.sslip.io/v1/status \ -H "Authorization: Bearer $MAGLA_MEMORY_API_KEY"
Start or resume work
curl -sS https://magla-memory.5-180-47-236.sslip.io/v1/preflight \
-H "Authorization: Bearer $MAGLA_MEMORY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"task":"Prepare Acme proposal","current_context":"","limit":5,"scope_lock":"sales-acme"}'Keep the returned work_receipt. Verified outcome and failure writes require it.
Routes
GET /v1/statusPOST /v1/preflightPOST /v1/contextPOST /v1/outcomesPOST /v1/failures