ai.keys.get
Which AI providers this organization brought its own keys for (TypeSafe, Vercel AI Gateway, OpenAI, Google Gemini, Z.ai), each with the key's last four characters and when it was checked, never the key itself; whether Oatmilk's own AI credits are on for it; and whether its keys cover decisions (categorizing, matching, sorting) and reading documents.
GETPOST
/api/v1/accounting/ai.keys.getPermissions
accounting:read
Who can call it
admin
Retries
Safe to retry: it only reads
MCP
accounting_ai_keys_getFields
No input fields. Send an empty object, {}.
Example
curl https://app.getoatmilk.com/api/v1/accounting/ai.keys.get \
-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.keys.get
curl https://app.getoatmilk.com/api/v1/accounting/ai.keys.get \
-H "Authorization: Bearer $OATMILK_API_KEY"More in AI and memory.