/api/v1, on the same data plane as /cowork/memory, with the signed-in session. cloud-api is not involved.
GET /bot-hub/:id/summary
Same authorization as the workspace file routes (the bot must be yours, else 404). Any value without a real source isnull.
GET /memory-map
?bot=<id> scopes to one bot; omit it for the whole account. At most 500 items; truncated: true when capped. Each item is {id, kind, label, uses, last_at, ref} with kind one of skill, memory, thread, routine, artifact, soul, entity (artifact is reserved, not emitted yet). Links are {from, to, kind} with kind one of uses, learned_from, updates, contradicts, mentions. from depends on to.
uses is a count only for skills (and threads, as skill uses in the thread); it is null elsewhere.
Workspace files: one Soul
GET/PUT /agents/:id/workspace/file treat the workspace root as canonical for SOUL.md, USER.md, AGENTS.md, TOOLS.md and HEARTBEAT.md. A read or write of .allternit/bot/<file> is served from the root file, so old clients keep working. On the first workspace access, legacy copies move to the root; when both exist the newer mtime wins and the other is kept as .allternit/bot/<file>.pre-unify. Migration is idempotent and never fails a read or a chat.
GETreturns{path, hash, content},hashbeing the sha256 hex of the content.PUTtakes an optionalexpected_hash. On mismatch the response is409 {"error":"changed_elsewhere","hash","content"}with the current values; omitted means overwrite, as before. A successfulPUTreturns the newhash.
SOUL.md, then the instruction files (AGENTS.md, GIZZI.md, .claude/CLAUDE.md, SYSTEM_LAW.md), then USER.md.
Skill use
Tableskill_use (migration V284, allternit-api SQLite): user_id, agent_id, skill, session_id, call_id, used_at, unique on (session_id, call_id). A row is written by the agent-chat bridge when gizzi’s skill tool call starts. Runs that do not pass through the agent-chat bridge (direct gizzi sessions, POST /skills/:id/run) are not recorded.