dataSources.search
Search a data source for databases and pages shared with Oatmilk, most recently edited first. Supply source, optional query, kind (database, page, file or any), cursor and limit. For google_drive it searches file and folder names across My Drive and shared drives (kind file leaves folders out; Drive has no databases).
/api/v1/accounting/dataSources.searchPermissions
Who can call it
Retries
MCP
accounting_data_sources_searchFields
sourceenumRequiredWhere the record came from.
notiongoogle_driveonedrivequerystringText to search for.
at most 200 characters
kindenumWhich kind of record or job this is.
databasepagefileanyDefault "any"
cursorstringWhere the next page starts: the nextCursor value from the previous response.
1–500 characters
limitintegerHow many results to return at most.
1 to 50 · Default 20
Example
curl -G https://app.getoatmilk.com/api/v1/accounting/dataSources.search \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'source=notion'{
"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.search \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'source=notion'More in Connectors and webhooks.