Connectors and webhooks

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).

GETPOST/api/v1/accounting/dataSources.search

Permissions

accounting:read

Who can call it

admin, finance

Retries

Safe to retry: it only reads

MCP

accounting_data_sources_search

Fields

  • sourceenumRequired

    Where the record came from.

    notiongoogle_driveonedrive
  • querystring

    Text to search for.

    at most 200 characters

  • kindenum

    Which kind of record or job this is.

    databasepagefileany

    Default "any"

  • cursorstring

    Where the next page starts: the nextCursor value from the previous response.

    1–500 characters

  • limitinteger

    How 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'
Response
{
  "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.search
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.