AgentVault

docs / api

API reference

Every endpoint, grouped. The machine-readable contract is served by the API itself.

OpenAPI 3.1: https://api.useagentvault.com/v1/openapi.json. All requests take Authorization: Bearer <api key or session token> unless marked public.

Memories and search

methodpathwhat it doesauth
POST/v1/memoriesRemember: creates, merges a repeat, or supersedes by keykey or session
GET/v1/memoriesList, newest first; filter by space, subject, tags, key, writer, status, time, as_ofkey or session
GET/v1/memories/:idOne memory with every version and every writerkey or session
PATCH/v1/memories/:idEdit: stores a new versionkey or session
DELETE/v1/memories/:idForget (history kept), or erase with ?hard=truekey or session
POST/v1/searchHybrid search with per-signal scores and weightskey or session
POST/v1/recallSearch plus prompt-ready contextkey or session

Spaces and members

methodpathwhat it doesauth
GET/v1/spacesSpaces you (or the key) can readkey or session
POST/v1/spacesCreate a team or public spacesession
GET/v1/spaces/:idA space, with your role and permissionskey or session
PATCH/v1/spaces/:idRename, describe, change settingssession
DELETE/v1/spaces/:idDelete a space and its memoriessession
GET/v1/spaces/:id/membersMembers and roleskey or session
PATCH/v1/spaces/:id/members/:userIdChange a rolesession
DELETE/v1/spaces/:id/members/:userIdRemove a membersession
GET · POST/v1/spaces/:id/invitesList or send invitessession
POST/v1/invites/acceptAccept an invite by tokensession

Keys, agents, usage, account

methodpathwhat it doesauth
GET · POST/v1/keysList keys, or create one scoped to spaces (secret shown once)session
DELETE/v1/keys/:idRevoke a keysession
GET/v1/agentsEvery agent reading and writing, most recent firstkey or session
GET/v1/usageWrites, reads, searches and forgets by day, source or modelkey or session
GET/v1/meThe caller: account, spaces, pending inviteskey or session
POST/v1/auth/signup · /login · /logoutEmail + password accounts (self-hosted)public
GET/health · /readyLiveness and readinesspublic