Archive memory
Archive a stale, superseded, or no-longer-relevant memory.
Base URL
POST
Archive a stale, superseded, or no-longer-relevant memory.
bearerAuth memories:writeheader
AuthorizationBearer <token>API key authentication. Use your API key as the bearer token.
Scope: memories:write
memory_id*stringapplication/json- body
reason?Memories.MemoryArchiveReasonLength
1 <= length <= 500Archived memory
application/json- response
data*curl -X POST 'https://app.inspect.com/api/v2/memories/Kq8vN2xLm4pR7tYc3hWzA/archive' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "data": { "memory": { "id": "Kq8vN2xLm4pR7tYc3hWzA", "title": "Run oxfmt before committing", "content": "Format changed files with `bun oxfmt` before every commit. Do not use prettier in this repository.", "description": "Use oxfmt, not prettier, to format files before committing in acme/web.", "memory_type": "directive", "archived_at": null, "archived_reason": null } }}