Skip to main content
Version: 0.1.21 (Current)

is_accounts_refresh_complete

Type: query

Checks on the status of a prior request to refresh account balances.

Signature

async def is_accounts_refresh_complete(
account_ids: List[str] | None = None
) -> Dict[str, Any]

Parameters

ParameterTypeRequiredDescription
account_ids`List[str]None`No

Returns

  • True if refresh request is completed. - False if refresh request still in progress. Otherwise, throws a RequestFailedException. :param account_ids: The list of accounts IDs to check on the status of. If set to None, all account IDs will be checked.

Example

from monarchmoney import MonarchMoney

mm = MonarchMoney()
await mm.login(email, password)

result = await mm.is_accounts_refresh_complete()
print(result)

GraphQL Operation

Operation Name: ForceRefreshAccountsQuery

GraphQL Query

query ForceRefreshAccountsQuery {
accounts {
id
hasSyncInProgress
__typename
}
}

Try It Out

To test this API method locally:

  1. Install the package: pip install monarchmoney
  2. Create a Python script with the example code above
  3. Replace email and password with your Monarch Money credentials
  4. Run the script

See the Authentication Guide for details on logging in.