AI and memory

aiReview.search

Search retained redacted Ask AI conversations in an explicit window of up to 31 days, at most 50 samples. Requires a current operator-issued reviewer grant for each exact chat owner; admins receive no implicit access. Human dashboard or terminal only.

GETPOST/api/v1/accounting/aiReview.search

Permissions

accounting:read

Who can call it

admin, finance, contributor

Retries

Safe to retry: it only reads

MCP

Not offered over MCP: Private redacted chats and human review stay in Oatmilk and its terminal; connected AI apps receive no reviewer access or chat sharing.

Fields

  • fromstring (date-time)Required

    The first date to include, as YYYY-MM-DD.

  • tostring (date-time)Required

    The last date to include, as YYYY-MM-DD.

  • limitinteger

    How many results to return at most.

    1 to 50 · Default 10

  • coverageenum
    completeincompleteunavailable
  • modelstring

    at most 160 characters

  • toolstring

    at most 120 characters

  • errorsOnlyboolean
  • fallbackenum
    observedunavailable

Example

curl -G https://app.getoatmilk.com/api/v1/accounting/aiReview.search \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'from=2026-09-30T14:00:00Z' \
  --data-urlencode 'to=2026-09-30T14:00:00Z'
Response
{
  "data": { … }
}

This action checks your data too, so replace the example values with your own before sending it.

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

GET/api/v1/accounting/aiReview.search
curl -G https://app.getoatmilk.com/api/v1/accounting/aiReview.search \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'from=2026-09-30T14:00:00Z' \
  --data-urlencode 'to=2026-09-30T14:00:00Z'

More in AI and memory.