dataSources.schema
Read a database's columns with their types, options, number formats (and the currency they imply), related databases, and the columns suggested for a first view. Columns whose names say they hold payment or tax details list no options and can't be sorted or searched by.
GETPOST
/api/v1/accounting/dataSources.schemaPermissions
accounting:read
Who can call it
admin, finance
Retries
Safe to retry: it only reads
MCP
accounting_data_sources_schemaFields
sourceenumRequiredWhere the record came from.
notiongoogle_driveonedrivedatabaseIdstringRequired1–200 characters · Matches ^[A-Za-z0-9_.:-]+$
Example
curl -G https://app.getoatmilk.com/api/v1/accounting/dataSources.schema \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'source=notion' \
--data-urlencode 'databaseId=database_id'{
"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/dataSources.schema
curl -G https://app.getoatmilk.com/api/v1/accounting/dataSources.schema \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'source=notion' \
--data-urlencode 'databaseId=database_id'More in Connectors and webhooks.