SoulCore Memory Chat Router
This repository exposes a thin skill layer for the qclaw-skill FastAPI backend.
Entry Rule
If your platform imports only one SKILL.md, use this root file as the entry point.
Primary detailed docs:
qclaw-thin-skill/SKILL.mdqclaw-thin-skill/references/api_spec.md
Backend Base URL
- Local default:
http://127.0.0.1:8000 - Replace with deployed URL in cloud environments.
For local-first users, start backend with:
qclaw-skill/start_local.bat(Windows double-click)- or
qclaw-skill/start_local.ps1 -Mode noauth
Auth Rule
- If
GET /v1/healthreturnsauth_enabled=false, nox-api-keyneeded. - If
auth_enabled=true, send headerx-api-key: <SOULCORE_API_KEY>.
Minimal Call Sequence
GET /v1/healthPOST /v1/chat- Optional memory and diagnostics endpoints as needed
Core Endpoints
POST /v1/chatPOST /v1/memory/writePOST /v1/memory/recallGET /v1/memory/listPOST /v1/memory/pinPOST /v1/memory/deleteGET /v1/memory/exportPOST /v1/memory/importGET /v1/diagnostics/last
Error Handling
401: verifyx-api-keyandauth_enabled422: fix payload fields and retry once5xx/timeout: return graceful fallback, avoid infinite retries