investigations.review.run
Run the second opinion now on one bank line (entryId) with an idempotencyKey: an agent with read-only lookups of the organization's transactions, hotel holds, trips, receipts and memory decides what the line is, pairs money back with the hold it gives back, or writes one specific question. Its answer is checked before Autopilot applies it, and its reasoning is kept in the transaction's activity. Administrators only.
/api/v1/accounting/investigations.review.runPermissions
Who can call it
Retries
MCP
accounting_investigations_review_runFields
entryIdstring (ID)RequiredThe ID of an accounting entry, from entries.list or attention.mine.
idempotencyKeystringRequiredAny unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match.
8–200 characters
Example
curl https://app.getoatmilk.com/api/v1/accounting/investigations.review.run \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"entryId": "7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10"
}'{
"data": { … }
}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.
curl https://app.getoatmilk.com/api/v1/accounting/investigations.review.run \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"entryId": "7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10"
}'More in Transactions.