Skip to navigation

What’s new in the Minikai API.

Archive and restore 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.