> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.minikai.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.minikai.com/_mcp/server.

## Archive and restore Minis

minis

**v1.28.0** Archive a Mini when the person it represents leaves your service, with `POST /api/v1/Minis/{id}/archive`.
Its Records leave Memory, so they stop counting towards your allowance, but you can still open the Mini, chat with it
and read its Records. `POST /api/v1/Minis/{id}/restore` makes an archived or inactive Mini active again and loads its
Records back. Both return the saved Mini. Archiving is turned on per workspace, and these endpoints return `403` where
it isn't.

`GET /api/v1/Minis` now leaves out archived Minis. Pass `states=archived` to list them, or several `states` to list more
than one. Each Mini now has a `state`: `active`, `inactive` or `archived`.