dataSources.rows
Read rows of a database with readable, typed values for every column: text, numbers with their format, dates, options, people, related page titles, checkboxes, links and attached files. Supports search, sort by a column, only rows with files, and cursor paging. With target, files already imported there are marked. File download addresses are never returned. Columns whose names say they hold payment or tax details (bank, account, transit, institution and routing numbers, IBAN, SWIFT/BIC, Wise or Interac addresses, SIN, SSN, business or tax numbers) read as [hidden], what they hold is hidden anywhere else in the rows too, and they're never searched or sorted by.
/api/v1/accounting/dataSources.rowsPermissions
Who can call it
Retries
MCP
accounting_data_sources_rowsFields
sourceenumRequiredWhere the record came from.
notiongoogle_driveonedrivedatabaseIdstringRequired1–200 characters · Matches ^[A-Za-z0-9_.:-]+$
cursorstringWhere the next page starts: the nextCursor value from the previous response.
1–500 characters
limitintegerHow many results to return at most.
1 to 100 · Default 50
searchstringText to search for.
at most 100 characters
sortBystringWhich field to sort by.
1–200 characters
sortDirectionenumasc for oldest or smallest first, desc for newest or largest first.
ascendingdescendingDefault "descending"
withFilesbooleantargetenumreceiptstax_sourcessigning_filesexecuted_agreementscontractor_agreementscompany_documents
Example
curl -G https://app.getoatmilk.com/api/v1/accounting/dataSources.rows \
-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.
curl -G https://app.getoatmilk.com/api/v1/accounting/dataSources.rows \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'source=notion' \
--data-urlencode 'databaseId=database_id'More in Connectors and webhooks.