> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.minikai.com/llms.txt.

## Search Minis by state, and deactivate a Mini

minis

**v1.30.0** Pass `states` to `POST /api/v1/Minis/search` to find only Minis that are `active`, `inactive` or `archived`.
Leave it out to search active and inactive Minis.

`POST /api/v1/Minis/{id}/deactivate` takes an active Mini's Records out of Memory. The Mini stays in the Minis list and
becomes active again when it's next messaged.

Writes with an API key to an archived Mini or its Records return `403` until the Mini is restored.

## Filter records on true/false and number fields

records, fix

**v1.29.0** Each `contentFilters` entry on `GET /api/v1/Records` is now a JSON object with a `key` and a typed `value`,
for example `{"key":"Is Current?","value":true}`, so you can filter on true/false and number fields as well as text. A
string value matches that text case-insensitively, and a number or `true`/`false` matches only that JSON value, so send
the type the record's content stores. This change is not backwards compatible: the earlier `Key=Value` form now returns
`400`.