ai.models.list
List the decision models the receipt-matching and mail-routing classifiers can run on: AI Gateway's live list of evaluation models (id, name, provider, description, context window, input price per million tokens, whether the provider trains on the data, and whether Oatmilk has tested it), or the install's own model server when it runs local models. Falls back to Oatmilk's tested models when the gateway can't be reached. A model Oatmilk hasn't tested must pass ai.sandbox.evaluate before it is saved.
GETPOST
/api/v1/accounting/ai.models.listPermissions
accounting:read
Who can call it
admin
Retries
Safe to retry: it only reads
MCP
accounting_ai_models_listFields
No input fields. Send an empty object, {}.
Example
curl https://app.getoatmilk.com/api/v1/accounting/ai.models.list \
-H "Authorization: Bearer $OATMILK_API_KEY"{
"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.
GET/api/v1/accounting/ai.models.list
curl https://app.getoatmilk.com/api/v1/accounting/ai.models.list \
-H "Authorization: Bearer $OATMILK_API_KEY"More in AI and memory.