Accepts either a rule_id to load an existing rule, or an inline rule
definition (conditions + actions). Provide an array of transaction_ids
to test against — each transaction must belong to the authenticated user.
No data is persisted.
Action values support Liquid templates for dynamic expressions.
Use {{ transaction.field_name }} to reference fields and Liquid filters
(remove, regex_capture, date_add, remove_at, keep_at, etc.)
to transform values. Plain strings are treated as literal values.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Synci API","description":"Fetch, transform, and transfer banking and financial data with the Synci API.","colors":{"primary":"#202020","light":"#65cfa0","dark":"#202020"},"logo":{"light":"https://mintcdn.com/synci/6HoxVjb_wmNxVtbF/logo/light.svg?fit=max\u0026auto=format\u0026n=6HoxVjb_wmNxVtbF\u0026q=85\u0026s=0d2b9ee1337fd0bec1fe8a9e9fccec80","dark":"https://mintcdn.com/synci/6HoxVjb_wmNxVtbF/logo/dark.svg?fit=max\u0026auto=format\u0026n=6HoxVjb_wmNxVtbF\u0026q=85\u0026s=59cf18a61b2bc59cf0bfc4713f0611ae","href":"https://synci.io"},"favicon":"https://mintcdn.com/synci/6HoxVjb_wmNxVtbF/favicon.svg?fit=max\u0026auto=format\u0026n=6HoxVjb_wmNxVtbF\u0026q=85\u0026s=feecb7ee405b94d707a26995dd7b7442","api":{"params":{"expanded":"closed"},"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","javascript","python","php","go"]}},"background":{"color":{"light":"#f7f7f6","dark":"#1c1b19"}},"navbar":{"links":[{"href":"https://help.synci.io","label":"Help center"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.synci.io"}},"footer":{"socials":{"website":"https://synci.io","github":"https://github.com/synciio","bluesky":"https://bsky.app/profile/synci.io","reddit":"https://www.reddit.com/r/synci"},"links":[{"header":"Product","items":[{"label":"Synci","href":"https://synci.io"},{"label":"Dashboard","href":"https://app.synci.io"},{"label":"Help center","href":"https://help.synci.io"}]},{"header":"Developers","items":[{"label":"Authentication","href":"/guides/authentication"},{"label":"Building OAuth apps","href":"/guides/oauth"},{"label":"Webhooks","href":"/guides/webhooks"}]}]},"search":{"prompt":"Search the Synci API docs"},"seo":{"indexing":"navigable"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode","download-spec"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Help center","icon":"life-buoy","href":"https://help.synci.io"},{"anchor":"Dashboard","icon":"layout-dashboard","href":"https://app.synci.io"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"synci","hasAudioNarration":false,"actualSubdomain":"synci","customDomains":["docs.synci.io"],"gitSource":{"type":"github","owner":"matiastonning","repo":"synci-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeba0587d81581225f1e596","collectionId":"087f8e1d-ebef-4eaa-beea-44378417faf5","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeba0587d81581225f1e596"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{},"buildId":"6aee3d73c83575df2e255938","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API reference","count":167},{"language":"default","tag":"Destinations","count":58},{"language":"default","tag":"Rules","count":36},{"language":"default","tag":"Finance","count":30},{"language":"default","tag":"Endpoints","count":24},{"language":"default","tag":"Accounts","count":20},{"language":"default","tag":"Managed Users API","count":17},{"language":"default","tag":"YNAB","count":14},{"language":"default","tag":"Google Sheets","count":13},{"language":"default","tag":"Notion","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".dark{--primary-dark: 101 207 160}.dark #topbar-cta-button .text-white,.dark #topbar-cta-button [class*=\"text-white\"]{color:#183324}[role=\"tooltip\"]{background-color:#272a28!important;color:#f7f7f6!important;border-color:transparent!important;border-radius:8px!important}.dark [role=\"tooltip\"]{background-color:#f1efea!important;color:#1c1b19!important}h1{letter-spacing:-0.035em}h2,h3{letter-spacing:-0.02em}"}],"page":{"pagePath":"api-reference/rules/preview-a-rule-against-transactions-dry-run","slug":"/api-reference/rules/preview-a-rule-against-transactions-dry-run","pageMetadata":{"title":"Preview a rule against transactions (dry-run)","description":"Accepts either a `rule_id` to load an existing rule, or an inline `rule`\ndefinition (conditions + actions). Provide an array of `transaction_ids`\nto test against — each transaction must belong to the authenticated user.\nNo data is persisted.\n\nAction values support **Liquid templates** for dynamic expressions.\nUse `{{ transaction.field_name }}` to reference fields and Liquid filters\n(`remove`, `regex_capture`, `date_add`, `remove_at`, `keep_at`, etc.)\nto transform values. Plain strings are treated as literal values.","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /rules/preview","href":"/api-reference/rules/preview-a-rule-against-transactions-dry-run","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Accepts either a \", _jsx(_components.code, {\n children: \"rule_id\"\n }), \" to load an existing rule, or an inline \", _jsx(_components.code, {\n children: \"rule\"\n }), \"\\ndefinition (conditions + actions). Provide an array of \", _jsx(_components.code, {\n children: \"transaction_ids\"\n }), \"\\nto test against — each transaction must belong to the authenticated user.\\nNo data is persisted.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Action values support \", _jsx(_components.strong, {\n children: \"Liquid templates\"\n }), \" for dynamic expressions.\\nUse \", _jsx(_components.code, {\n children: \"{{ transaction.field_name }}\"\n }), \" to reference fields and Liquid filters\\n(\", _jsx(_components.code, {\n children: \"remove\"\n }), \", \", _jsx(_components.code, {\n children: \"regex_capture\"\n }), \", \", _jsx(_components.code, {\n children: \"date_add\"\n }), \", \", _jsx(_components.code, {\n children: \"remove_at\"\n }), \", \", _jsx(_components.code, {\n children: \"keep_at\"\n }), \", etc.)\\nto transform values. Plain strings are treated as literal values.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Preview a rule against transactions (dry-run)","description":"Accepts either a `rule_id` to load an existing rule, or an inline `rule`\ndefinition (conditions + actions). Provide an array of `transaction_ids`\nto test against — each transaction must belong to the authenticated user.\nNo data is persisted.\n\nAction values support **Liquid templates** for dynamic expressions.\nUse `{{ transaction.field_name }}` to reference fields and Liquid filters\n(`remove`, `regex_capture`, `date_add`, `remove_at`, `keep_at`, etc.)\nto transform values. Plain strings are treated as literal values.","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /rules/preview","href":"/api-reference/rules/preview-a-rule-against-transactions-dry-run","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"rules.preview","description":"Accepts either a `rule_id` to load an existing rule, or an inline `rule`\ndefinition (conditions + actions). Provide an array of `transaction_ids`\nto test against — each transaction must belong to the authenticated user.\nNo data is persisted.\n\nAction values support **Liquid templates** for dynamic expressions.\nUse `{{ transaction.field_name }}` to reference fields and Liquid filters\n(`remove`, `regex_capture`, `date_add`, `remove_at`, `keep_at`, etc.)\nto transform values. Plain strings are treated as literal values.","summary":"Preview a rule against transactions (dry-run)","tags":["Rules"],"requestBody":"b2445e45-26f6-4efd-b921-488523a632a4","responses":{"200":"b6a6ebd2-acd3-4786-ae47-559c4a30b770","401":"b0370dd6-bccc-473a-ae44-a4ac61b430d6","403":"90846f52-30e4-4856-ada6-896ca2d5c8b1","422":"da011d50-c3a2-44af-93d3-ae04d7619336"},"method":"post","type":"path","servers":["37c70f9a-0e07-48f7-937e-6244f9672adb"],"security":["be4df1be-1553-41cf-8b1c-a9bb23885d5d","e7910d1e-fa5e-4070-950a-eebec40d5e5d"],"path":"/rules/preview","baseUrlOptions":["https://api.synci.io/api/v1"],"title":"Preview a rule against transactions (dry-run)","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","php","go"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"rule":{"oneOf":[{"type":"object","description":"Inline rule definition (required when rule_id is absent)","properties":{"trigger_on_any_condition":{"oneOf":[{"type":"boolean","uniqueKey":"rule.oneOf.0.trigger_on_any_condition.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"rule.oneOf.0.trigger_on_any_condition.oneOf.1","typeLabel":"null"}],"uniqueKey":"rule.oneOf.0.trigger_on_any_condition","typeLabel":"boolean | null"},"conditions":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"field_name":{"type":"string","uniqueKey":"rule.oneOf.0.conditions.oneOf.0.items.[INDEX].field_name","typeLabel":"string"},"operator":{"type":"string","description":"The comparison operator a rule condition uses to compare a transaction field against the condition's value.\n","enum":["EQUALS","DOES_NOT_EQUAL","CONTAINS","DOES_NOT_CONTAIN","STARTS_WITH","DOES_NOT_START_WITH","ENDS_WITH","DOES_NOT_END_WITH","GREATER_THAN","GREATER_THAN_OR_EQUAL","LESS_THAN","LESS_THAN_OR_EQUAL","MATCHES_REGEX"],"title":"RuleOperatorEnum","uniqueKey":"rule.oneOf.0.conditions.oneOf.0.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"string","maxLength":10000,"uniqueKey":"rule.oneOf.0.conditions.oneOf.0.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":10000,"uniqueKey":"rule.oneOf.0.conditions.oneOf.0.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"uniqueKey":"rule.oneOf.0.conditions.oneOf.0.items.[INDEX].value","typeLabel":"string | null"},"transaction_type":{"oneOf":[{"type":"string","title":"TransactionTypeEnum","enum":["BANK","YNAB"],"uniqueKey":"rule.oneOf.0.conditions.oneOf.0.items.[INDEX].transaction_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"rule.oneOf.0.conditions.oneOf.0.items.[INDEX].transaction_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"rule.oneOf.0.conditions.oneOf.0.items.[INDEX].transaction_type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"rule.oneOf.0.conditions.oneOf.0.items.[INDEX]","typeLabel":"object"},"maxItems":10,"uniqueKey":"rule.oneOf.0.conditions.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"field_name":{"type":"string"},"operator":{"type":"string","description":"The comparison operator a rule condition uses to compare a transaction field against the condition's value.\n","enum":["EQUALS","DOES_NOT_EQUAL","CONTAINS","DOES_NOT_CONTAIN","STARTS_WITH","DOES_NOT_START_WITH","ENDS_WITH","DOES_NOT_END_WITH","GREATER_THAN","GREATER_THAN_OR_EQUAL","LESS_THAN","LESS_THAN_OR_EQUAL","MATCHES_REGEX"],"title":"RuleOperatorEnum"},"value":{"oneOf":[{"type":"string","maxLength":10000},{"type":"null","maxLength":10000}]},"transaction_type":{"oneOf":[{"type":"string","title":"TransactionTypeEnum","enum":["BANK","YNAB"]},{"type":"null"}]}}},"maxItems":10,"uniqueKey":"rule.oneOf.0.conditions.oneOf.1","typeLabel":"null"}],"uniqueKey":"rule.oneOf.0.conditions","typeLabel":"object[] | null"},"actions":{"type":"array","items":{"type":"object","properties":{"action_type":{"type":"string","description":"The kind of change a rule action performs when the rule's conditions are met.\n| |\n|---|\n| `SET_DESTINATION_FIELD` \u003cbr/> Set a destination transaction field, resolved against the attached transfer link's destination. Only available for transfer rules. |\n| `SET_OUTPUT_FIELD` \u003cbr/> Set a canonical transaction field on the outgoing copy, read by canonical-output channels (spreadsheet destinations today). Only available for transfer rules. |\n| `SET_YNAB_FIELD` \u003cbr/> Set a field on the YNAB transaction. Legacy alias of SET_DESTINATION_FIELD with a YNAB field. |\n| `SET_LUNCH_MONEY_FIELD` \u003cbr/> Set a field on the Lunch Money transaction. Legacy alias of SET_DESTINATION_FIELD with a Lunch Money field. |\n| `SET_FIELD` \u003cbr/> Set a field on the transaction. |\n| `CHANGE_YNAB_FIELD` \u003cbr/> |\n| `APPLY_REGEX` \u003cbr/> |\n| `STOP_TRANSFER` \u003cbr/> Prevent the transaction from being transferred to the destination. Only available for transfer link rules. |","enum":["SET_DESTINATION_FIELD","SET_OUTPUT_FIELD","SET_YNAB_FIELD","SET_LUNCH_MONEY_FIELD","SET_FIELD","CHANGE_YNAB_FIELD","APPLY_REGEX","STOP_TRANSFER"],"title":"RuleActionTypeEnum","isRequired":true,"uniqueKey":"rule.oneOf.0.actions.items.[INDEX].action_type","typeLabel":"enum\u003cstring>"},"field_name":{"oneOf":[{"type":"string","uniqueKey":"rule.oneOf.0.actions.items.[INDEX].field_name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"rule.oneOf.0.actions.items.[INDEX].field_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"rule.oneOf.0.actions.items.[INDEX].field_name","typeLabel":"string | null"},"value":{"oneOf":[{"type":"string","description":"Action value. Supports Liquid templates, e.g. `{{ transaction.creditor.name | remove: \"PREFIX \" }}`.","maxLength":10000,"uniqueKey":"rule.oneOf.0.actions.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Action value. Supports Liquid templates, e.g. `{{ transaction.creditor.name | remove: \"PREFIX \" }}`.","maxLength":10000,"uniqueKey":"rule.oneOf.0.actions.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"uniqueKey":"rule.oneOf.0.actions.items.[INDEX].value","typeLabel":"string | null"},"order":{"oneOf":[{"type":"integer","uniqueKey":"rule.oneOf.0.actions.items.[INDEX].order.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"rule.oneOf.0.actions.items.[INDEX].order.oneOf.1","typeLabel":"null"}],"uniqueKey":"rule.oneOf.0.actions.items.[INDEX].order","typeLabel":"integer | null"}},"required":["action_type"],"uniqueKey":"rule.oneOf.0.actions.items.[INDEX]","typeLabel":"object"},"maxItems":10,"uniqueKey":"rule.oneOf.0.actions","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"rule.oneOf.0","typeLabel":"object"},{"type":"null","description":"Inline rule definition (required when rule_id is absent)","properties":{"trigger_on_any_condition":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"conditions":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"field_name":{"type":"string"},"operator":{"type":"string","description":"The comparison operator a rule condition uses to compare a transaction field against the condition's value.\n","enum":["EQUALS","DOES_NOT_EQUAL","CONTAINS","DOES_NOT_CONTAIN","STARTS_WITH","DOES_NOT_START_WITH","ENDS_WITH","DOES_NOT_END_WITH","GREATER_THAN","GREATER_THAN_OR_EQUAL","LESS_THAN","LESS_THAN_OR_EQUAL","MATCHES_REGEX"],"title":"RuleOperatorEnum"},"value":{"oneOf":[{"type":"string","maxLength":10000},{"type":"null","maxLength":10000}]},"transaction_type":{"oneOf":[{"type":"string","title":"TransactionTypeEnum","enum":["BANK","YNAB"]},{"type":"null"}]}}},"maxItems":10},{"type":"null","items":{"type":"object","properties":{"field_name":{"type":"string"},"operator":{"type":"string","description":"The comparison operator a rule condition uses to compare a transaction field against the condition's value.\n","enum":["EQUALS","DOES_NOT_EQUAL","CONTAINS","DOES_NOT_CONTAIN","STARTS_WITH","DOES_NOT_START_WITH","ENDS_WITH","DOES_NOT_END_WITH","GREATER_THAN","GREATER_THAN_OR_EQUAL","LESS_THAN","LESS_THAN_OR_EQUAL","MATCHES_REGEX"],"title":"RuleOperatorEnum"},"value":{"oneOf":[{"type":"string","maxLength":10000},{"type":"null","maxLength":10000}]},"transaction_type":{"oneOf":[{"type":"string","title":"TransactionTypeEnum","enum":["BANK","YNAB"]},{"type":"null"}]}}},"maxItems":10}]},"actions":{"type":"array","items":{"type":"object","properties":{"action_type":{"type":"string","description":"The kind of change a rule action performs when the rule's conditions are met.\n| |\n|---|\n| `SET_DESTINATION_FIELD` \u003cbr/> Set a destination transaction field, resolved against the attached transfer link's destination. Only available for transfer rules. |\n| `SET_OUTPUT_FIELD` \u003cbr/> Set a canonical transaction field on the outgoing copy, read by canonical-output channels (spreadsheet destinations today). Only available for transfer rules. |\n| `SET_YNAB_FIELD` \u003cbr/> Set a field on the YNAB transaction. Legacy alias of SET_DESTINATION_FIELD with a YNAB field. |\n| `SET_LUNCH_MONEY_FIELD` \u003cbr/> Set a field on the Lunch Money transaction. Legacy alias of SET_DESTINATION_FIELD with a Lunch Money field. |\n| `SET_FIELD` \u003cbr/> Set a field on the transaction. |\n| `CHANGE_YNAB_FIELD` \u003cbr/> |\n| `APPLY_REGEX` \u003cbr/> |\n| `STOP_TRANSFER` \u003cbr/> Prevent the transaction from being transferred to the destination. Only available for transfer link rules. |","enum":["SET_DESTINATION_FIELD","SET_OUTPUT_FIELD","SET_YNAB_FIELD","SET_LUNCH_MONEY_FIELD","SET_FIELD","CHANGE_YNAB_FIELD","APPLY_REGEX","STOP_TRANSFER"],"title":"RuleActionTypeEnum"},"field_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"value":{"oneOf":[{"type":"string","description":"Action value. Supports Liquid templates, e.g. `{{ transaction.creditor.name | remove: \"PREFIX \" }}`.","maxLength":10000},{"type":"null","description":"Action value. Supports Liquid templates, e.g. `{{ transaction.creditor.name | remove: \"PREFIX \" }}`.","maxLength":10000}]},"order":{"oneOf":[{"type":"integer"},{"type":"null"}]}},"required":["action_type"]},"maxItems":10}},"isRequired":true,"uniqueKey":"rule.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"rule","typeLabel":"object | null"},"transaction_ids":{"type":"array","description":"The IDs of the transactions to preview the rule against. The transactions must belong to the authenticated user. Maximum 25 per request.","items":{"type":"string","uniqueKey":"transaction_ids.items.[INDEX]","typeLabel":"string"},"minItems":1,"maxItems":25,"isRequired":true,"uniqueKey":"transaction_ids","typeLabel":"string[]"},"rule_id":{"oneOf":[{"type":"integer","description":"The ID of an existing rule to preview. Omit to provide an inline rule definition instead.","uniqueKey":"rule_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The ID of an existing rule to preview. Omit to provide an inline rule definition instead.","uniqueKey":"rule_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"rule_id","typeLabel":"integer | null"}},"required":["rule","transaction_ids"],"title":"PreviewRuleRequest","uniqueKey":"","typeLabel":"PreviewRuleRequest · object"},"examples":{"Example":{"title":"Example","value":{"rule":{"trigger_on_any_condition":true,"conditions":[{"field_name":"\u003cstring>","value":"\u003cstring>"}],"actions":[{"field_name":"\u003cstring>","value":"\u003cstring>","order":123}]},"transaction_ids":["\u003cstring>"],"rule_id":123}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b6a6ebd2-acd3-4786-ae47-559c4a30b770":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"transaction_id":{"type":"string","isRequired":true,"uniqueKey":"results.items.[INDEX].transaction_id","typeLabel":"string"},"conditions_matched":{"type":"boolean","isRequired":true,"uniqueKey":"results.items.[INDEX].conditions_matched","typeLabel":"boolean"},"transaction_summary":{"type":"object","properties":{"payee":{"oneOf":[{"isRequired":true}],"isRequired":true,"uniqueKey":"results.items.[INDEX].transaction_summary.payee","typeLabel":"any"},"payee_logo":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"results.items.[INDEX].transaction_summary.payee_logo.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"results.items.[INDEX].transaction_summary.payee_logo.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"results.items.[INDEX].transaction_summary.payee_logo","typeLabel":"string | null"},"amount":{"type":"string","isRequired":true,"uniqueKey":"results.items.[INDEX].transaction_summary.amount","typeLabel":"string"},"currency":{"type":"string","isRequired":true,"uniqueKey":"results.items.[INDEX].transaction_summary.currency","typeLabel":"string"},"date":{"oneOf":[{"isRequired":true}],"isRequired":true,"uniqueKey":"results.items.[INDEX].transaction_summary.date","typeLabel":"any"},"description":{"type":"string","isRequired":true,"uniqueKey":"results.items.[INDEX].transaction_summary.description","typeLabel":"string"}},"required":["payee","payee_logo","amount","currency","date","description"],"isRequired":true,"uniqueKey":"results.items.[INDEX].transaction_summary","typeLabel":"object"},"changes":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"results.items.[INDEX].changes.items.[INDEX].field","typeLabel":"string"},"before":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"results.items.[INDEX].changes.items.[INDEX].before.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"results.items.[INDEX].changes.items.[INDEX].before.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"results.items.[INDEX].changes.items.[INDEX].before","typeLabel":"string | null"},"after":{"type":"string","isRequired":true,"uniqueKey":"results.items.[INDEX].changes.items.[INDEX].after","typeLabel":"string"}},"required":["field","before","after"],"uniqueKey":"results.items.[INDEX].changes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"results.items.[INDEX].changes","typeLabel":"object[]"},"error":{"type":"string","isRequired":true,"uniqueKey":"results.items.[INDEX].error","typeLabel":"string"}},"required":["transaction_id","conditions_matched","transaction_summary","changes","error"],"uniqueKey":"results.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"results","typeLabel":"object[]"},"missing_transaction_ids":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"missing_transaction_ids.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"missing_transaction_ids","typeLabel":"any[]"}},"required":["results","missing_transaction_ids"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"results":[{"transaction_id":"\u003cstring>","conditions_matched":true,"transaction_summary":{"payee":"\u003cunknown>","payee_logo":"\u003cstring>","amount":"\u003cstring>","currency":"\u003cstring>","date":"\u003cunknown>","description":"\u003cstring>"},"changes":[{"field":"\u003cstring>","before":"\u003cstring>","after":"\u003cstring>"}],"error":"\u003cstring>"}],"missing_transaction_ids":["\u003cunknown>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"b0370dd6-bccc-473a-ae44-a4ac61b430d6":{"description":"Unauthenticated","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Error overview.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"90846f52-30e4-4856-ada6-896ca2d5c8b1":{"description":"Authorization error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Error overview.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"da011d50-c3a2-44af-93d3-ae04d7619336":{"description":"Validation error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Errors overview.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"type":"object","description":"A detailed description of each field that failed validation.","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"isRequired":true,"uniqueKey":"errors","typeLabel":"object"}},"required":["message","errors"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","errors":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"be4df1be-1553-41cf-8b1c-a9bb23885d5d":{"oauth2":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://api.synci.io/oauth/authorize","tokenUrl":"https://api.synci.io/oauth/token","scopes":{"profile:read":"View your name, email, and profile details","accounts:read":"View your connected financial accounts and balances","accounts:write":"Update, sync, and remove your financial accounts, and change their settings","transactions:read":"View your transactions","transactions:write":"Create, update, and delete your transactions","sensitive:read":"See sensitive identifiers like account numbers and account holder names","transfer-links:read":"View your transfer links and their transfer history","transfer-links:write":"Create, update, and delete transfer links, and undo transfers","rules:read":"View your rules and rule activity","rules:write":"Create, update, and delete rules, and undo rule actions","webhooks:read":"View your webhook endpoints","webhooks:write":"Create, update, and delete webhook endpoints, and rotate their secrets","destinations:read":"View your connected destinations","destinations:write":"Connect, update, and remove destinations","financial-connections:read":"View your connected institutions","financial-connections:write":"Manage your connected institutions"}}},"scopes":[],"schemeName":"oauth2"}},"e7910d1e-fa5e-4070-950a-eebec40d5e5d":{"http":{"type":"http","description":"Bearer token (personal access token or OAuth access token)","scheme":"bearer","scopes":[],"schemeName":"http"}}},"servers":{"37c70f9a-0e07-48f7-937e-6244f9672adb":{"url":"https://api.synci.io/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://api.synci.io/oauth/authorize","tokenUrl":"https://api.synci.io/oauth/token","scopes":{"profile:read":"View your name, email, and profile details","accounts:read":"View your connected financial accounts and balances","accounts:write":"Update, sync, and remove your financial accounts, and change their settings","transactions:read":"View your transactions","transactions:write":"Create, update, and delete your transactions","sensitive:read":"See sensitive identifiers like account numbers and account holder names","transfer-links:read":"View your transfer links and their transfer history","transfer-links:write":"Create, update, and delete transfer links, and undo transfers","rules:read":"View your rules and rule activity","rules:write":"Create, update, and delete rules, and undo rule actions","webhooks:read":"View your webhook endpoints","webhooks:write":"Create, update, and delete webhook endpoints, and rotate their secrets","destinations:read":"View your connected destinations","destinations:write":"Connect, update, and remove destinations","financial-connections:read":"View your connected institutions","financial-connections:write":"Manage your connected institutions"}}},"scopes":[],"schemeName":"oauth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"The access token received from the authorization server in the OAuth 2.0 flow.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"oauth2","name":"Authorization"}],"title":"oauth2"},{"schemes":[{"scheme":{"type":"http","description":"Bearer token (personal access token or OAuth access token)","scheme":"bearer","scopes":[],"schemeName":"http"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token (personal access token or OAuth access token)","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"http","name":"Authorization"}],"title":"http"}]},"originalFileLocation":"openapi/v1.json"},"subdomain":"synci","siteName":"Synci API","title":"Preview a rule against transactions (dry-run) - Synci API","navMaps":{"firstHrefInVersion":{"v1":{"href":"/api-reference/rules/preview-a-rule-against-transactions-dry-run","matchLevel":0},"v2":{"href":"/api-reference/v2/introduction","matchLevel":3}},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T20:50:28.651Z","originalFileLocation":"api-reference/rules/preview-a-rule-against-transactions-dry-run.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Accepts either a rule_id to load an existing rule, or an inline rule definition (conditions + actions). Provide an array of transaction_ids to test against — each transaction must belong to the authenticated user. No data is persisted. Action values support Liquid templates for dynamic expressions. Use {{ transaction.field_name }} to reference fields and Liquid filters (remove, regex_capture, date_add, remove_at, keep_at, etc.) to transform values. Plain strings are treated as literal values.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Synci API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/synci/_F7xK8wI5Zq_eYiI/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/synci/_F7xK8wI5Zq_eYiI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/synci/_F7xK8wI5Zq_eYiI/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/synci/_F7xK8wI5Zq_eYiI/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/synci/_F7xK8wI5Zq_eYiI/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/synci/_F7xK8wI5Zq_eYiI/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/synci/_F7xK8wI5Zq_eYiI/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/synci/_F7xK8wI5Zq_eYiI/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/synci/_F7xK8wI5Zq_eYiI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Preview a rule against transactions (dry-run) - Synci API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Accepts either a rule_id to load an existing rule, or an inline rule definition (conditions + actions). Provide an array of transaction_ids to test against — each transaction must belong to the authenticated user. No data is persisted. Action values support Liquid templates for dynamic expressions. Use {{ transaction.field_name }} to reference fields and Liquid filters (remove, regex_capture, date_add, remove_at, keep_at, etc.) to transform values. Plain strings are treated as literal values.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Synci API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.synci.io/api-reference/rules/preview-a-rule-against-transactions-dry-run\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://synci.mintlify.site/_mintlify/api/og/v2?division=Rules\u0026amp;title=Preview+a+rule+against+transactions+%28dry-run%29\u0026amp;description=Accepts+either+a+%60rule_id%60+to+load+an+existing+rule%2C+or+an+inline+%60rule%60%0Adefinition+%28conditions+%2B+actions%29.+Provide+an+array+of+%60transaction_ids%60%0Ato+test+agains\u0026amp;theme=90b174a997ab814bdabb5584\u0026amp;signature=5d29b91fa551110e81e3bd11d0cf6b28171244d8c9a57c371d1791f5ae70ca4c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Preview a rule against transactions (dry-run) - Synci API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Accepts either a rule_id to load an existing rule, or an inline rule definition (conditions + actions). Provide an array of transaction_ids to test against — each transaction must belong to the authenticated user. No data is persisted. Action values support Liquid templates for dynamic expressions. Use {{ transaction.field_name }} to reference fields and Liquid filters (remove, regex_capture, date_add, remove_at, keep_at, etc.) to transform values. Plain strings are treated as literal values.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://synci.mintlify.site/_mintlify/api/og/v2?division=Rules\u0026amp;title=Preview+a+rule+against+transactions+%28dry-run%29\u0026amp;description=Accepts+either+a+%60rule_id%60+to+load+an+existing+rule%2C+or+an+inline+%60rule%60%0Adefinition+%28conditions+%2B+actions%29.+Provide+an+array+of+%60transaction_ids%60%0Ato+test+agains\u0026amp;theme=90b174a997ab814bdabb5584\u0026amp;signature=5d29b91fa551110e81e3bd11d0cf6b28171244d8c9a57c371d1791f5ae70ca4c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/synci/_F7xK8wI5Zq_eYiI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Synci API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#202020\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.synci.io/api-reference/rules/preview-a-rule-against-transactions-dry-run\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/rules/preview-a-rule-against-transactions-dry-run.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.synci.io/#organization\",\"name\":\"Synci API\",\"url\":\"https://docs.synci.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/synci/6HoxVjb_wmNxVtbF/logo/light.svg?fit=max\u0026auto=format\u0026n=6HoxVjb_wmNxVtbF\u0026q=85\u0026s=0d2b9ee1337fd0bec1fe8a9e9fccec80\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.synci.io#website\",\"name\":\"Synci API\",\"url\":\"https://docs.synci.io\",\"publisher\":{\"@id\":\"https://docs.synci.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.synci.io/api-reference/rules/preview-a-rule-against-transactions-dry-run#webpage\",\"url\":\"https://docs.synci.io/api-reference/rules/preview-a-rule-against-transactions-dry-run\",\"name\":\"Preview a rule against transactions (dry-run)\",\"description\":\"Accepts either a rule_id to load an existing rule, or an inline rule definition (conditions + actions). Provide an array of transaction_ids to test against — each transaction must belong to the authenticated user. No data is persisted. Action values support Liquid templates for dynamic expressions. Use {{ transaction.field_name }} to reference fields and Liquid filters (remove, regex_capture, date_add, remove_at, keep_at, etc.) to transform values. Plain strings are treated as literal values.\",\"dateModified\":\"2026-11-06T20:50:28.651Z\",\"isPartOf\":{\"@id\":\"https://docs.synci.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.synci.io/api-reference/rules/preview-a-rule-against-transactions-dry-run#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.synci.io/api-reference/rules/preview-a-rule-against-transactions-dry-run#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Rules\",\"item\":\"https://docs.synci.io/api-reference/rules/list-all-rules\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rules\",\"item\":\"https://docs.synci.io/api-reference/rules/list-all-rules\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Preview a rule against transactions (dry-run)\",\"item\":\"https://docs.synci.io/api-reference/rules/preview-a-rule-against-transactions-dry-run\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.synci.io/api-reference/rules/preview-a-rule-against-transactions-dry-run#apireference\",\"headline\":\"Preview a rule against transactions (dry-run)\",\"name\":\"Preview a rule against transactions (dry-run)\",\"description\":\"Accepts either a rule_id to load an existing rule, or an inline rule definition (conditions + actions). Provide an array of transaction_ids to test against — each transaction must belong to the authenticated user. No data is persisted. Action values support Liquid templates for dynamic expressions. Use {{ transaction.field_name }} to reference fields and Liquid filters (remove, regex_capture, date_add, remove_at, keep_at, etc.) to transform values. Plain strings are treated as literal values.\",\"url\":\"https://docs.synci.io/api-reference/rules/preview-a-rule-against-transactions-dry-run\",\"mainEntityOfPage\":{\"@id\":\"https://docs.synci.io/api-reference/rules/preview-a-rule-against-transactions-dry-run#webpage\"},\"dateModified\":\"2026-11-06T20:50:28.651Z\",\"publisher\":{\"@id\":\"https://docs.synci.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.synci.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Synci API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Synci API","nav":{"global":{"anchors":[{"anchor":"Help center","icon":"life-buoy","href":"https://help.synci.io"},{"anchor":"Dashboard","icon":"layout-dashboard","href":"https://app.synci.io"}]},"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","icon":"code","versions":[{"version":"v1","default":true,"tag":"Stable","groups":[{"group":"Finance","pages":[{"group":"Connections","pages":[{"title":"List all financial connections","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/connections","href":"/api-reference/connections/list-all-financial-connections"},{"title":"Create a new financial connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/connections","href":"/api-reference/connections/create-a-new-financial-connection"},{"title":"Get financial connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/connections/{connectionId}","href":"/api-reference/connections/get-financial-connection"},{"title":"Delete financial connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /finance/connections/{connectionId}","href":"/api-reference/connections/delete-financial-connection"},{"title":"Disable financial connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /finance/connections/{connectionId}/disable","href":"/api-reference/connections/disable-financial-connection"},{"title":"Reconfirm the consent of a financial connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /finance/connections/{connectionId}/reauthorize","href":"/api-reference/connections/reconfirm-the-consent-of-a-financial-connection"},{"title":"Choose the accounts to keep","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /finance/connections/{connectionId}/setup/accounts","href":"/api-reference/connections/choose-the-accounts-to-keep"},{"title":"Complete the setup","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/connections/{connectionId}/setup/complete","href":"/api-reference/connections/complete-the-setup"}]},{"group":"Accounts","pages":[{"title":"List all financial accounts","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/accounts","href":"/api-reference/accounts/list-all-financial-accounts"},{"title":"Get financial account","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/accounts/{accountId}","href":"/api-reference/accounts/get-financial-account"},{"title":"Update financial account","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /finance/accounts/{accountId}","href":"/api-reference/accounts/update-financial-account"},{"title":"Delete financial account","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /finance/accounts/{accountId}","href":"/api-reference/accounts/delete-financial-account"},{"title":"Bulk delete financial accounts","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/accounts/bulk-delete","href":"/api-reference/accounts/bulk-delete-financial-accounts"},{"title":"Sync financial account data","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/accounts/{accountId}/sync","href":"/api-reference/accounts/sync-financial-account-data"},{"title":"Reset financial account config to defaults","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /finance/accounts/{accountId}/reset-config","href":"/api-reference/accounts/reset-financial-account-config-to-defaults"},{"title":"List all account balance entries","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/accounts/{accountId}/balances","href":"/api-reference/accounts/list-all-account-balance-entries"},{"title":"Get account balance entry","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/accounts/{accountId}/balances/{balanceId}","href":"/api-reference/accounts/get-account-balance-entry"},{"title":"List account holdings","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/accounts/{accountId}/holdings","href":"/api-reference/accounts/list-account-holdings"},{"title":"Get account holding","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/accounts/{accountId}/holdings/{holdingId}","href":"/api-reference/accounts/get-account-holding"},{"title":"Get enrichment backfill status","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/accounts/{accountId}/enrichment-status","href":"/api-reference/accounts/get-enrichment-backfill-status"}]},{"group":"Transactions","pages":[{"title":"List all transactions","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/transactions","href":"/api-reference/transactions/list-all-transactions"},{"title":"Create a new transaction","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/transactions","href":"/api-reference/transactions/create-a-new-transaction"},{"title":"Get transaction","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/transactions/{transactionId}","href":"/api-reference/transactions/get-transaction"},{"title":"Update transaction","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /finance/transactions/{transactionId}","href":"/api-reference/transactions/update-transaction"},{"title":"Delete transaction","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /finance/transactions/{transactionId}","href":"/api-reference/transactions/delete-transaction"},{"title":"Bulk delete transactions","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/transactions/bulk-delete","href":"/api-reference/transactions/bulk-delete-transactions"},{"title":"Pairing candidates","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/transactions/{transactionId}/pairing-candidates","href":"/api-reference/transactions/pairing-candidates"}]},{"group":"Institutions","pages":[{"title":"Get supported countries","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/institutions/countries","href":"/api-reference/institutions/get-supported-countries"},{"title":"List all supported institutions","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/institutions","href":"/api-reference/institutions/list-all-supported-institutions"},{"title":"Get supported institution","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/institutions/{institutionId}","href":"/api-reference/institutions/get-supported-institution"}]}]},{"group":"Loans","pages":[{"title":"Create a manual account","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/accounts/manual","href":"/api-reference/loans/create-a-manual-account"},{"title":"Update loan terms","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /finance/accounts/{accountId}/loan","href":"/api-reference/loans/update-loan-terms"},{"title":"Add a rate period","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/accounts/{accountId}/loan/rate-periods","href":"/api-reference/loans/add-a-rate-period"},{"title":"Remove a rate period","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /finance/accounts/{accountId}/loan/rate-periods/{effectiveFrom}","href":"/api-reference/loans/remove-a-rate-period"},{"title":"Verify the balance","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/accounts/{accountId}/loan/checkpoints","href":"/api-reference/loans/verify-the-balance"},{"title":"Dismiss a payment change","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/accounts/{accountId}/loan/dismiss-payment-change","href":"/api-reference/loans/dismiss-a-payment-change"},{"title":"Suggest loan payments","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/accounts/{accountId}/loan/candidate-payments","href":"/api-reference/loans/suggest-loan-payments"},{"title":"Derived loan balance on a date","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/accounts/{accountId}/loan/balance","href":"/api-reference/loans/derived-loan-balance-on-a-date"}]},{"group":"Manual accounts","pages":[{"title":"Derived balance on a date","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/accounts/{accountId}/balance","href":"/api-reference/manual-accounts/derived-balance-on-a-date"},{"title":"Verify the balance","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/accounts/{accountId}/balance-checkpoints","href":"/api-reference/manual-accounts/verify-the-balance"}]},{"group":"Investments","pages":[{"title":"List positions","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/accounts/{accountId}/positions","href":"/api-reference/investments/list-positions"},{"title":"Add a position","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/accounts/{accountId}/positions","href":"/api-reference/investments/add-a-position"},{"title":"Update investment settings","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /finance/accounts/{accountId}/investment","href":"/api-reference/investments/update-investment-settings"},{"title":"Rebuild the value history","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/accounts/{accountId}/investment/rebuild-history","href":"/api-reference/investments/rebuild-the-value-history"},{"title":"Update a position","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /finance/accounts/{accountId}/positions/{positionId}","href":"/api-reference/investments/update-a-position"},{"title":"Remove a position","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /finance/accounts/{accountId}/positions/{positionId}","href":"/api-reference/investments/remove-a-position"},{"title":"Record a trade","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/accounts/{accountId}/trades","href":"/api-reference/investments/record-a-trade"},{"title":"Update a trade","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /finance/accounts/{accountId}/trades/{tradeId}","href":"/api-reference/investments/update-a-trade"},{"title":"Delete a trade","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /finance/accounts/{accountId}/trades/{tradeId}","href":"/api-reference/investments/delete-a-trade"},{"title":"Search securities","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/securities/search","href":"/api-reference/investments/search-securities"},{"title":"Security filter options","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/securities/filters","href":"/api-reference/investments/security-filter-options"},{"title":"Verify a security","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/securities/resolve","href":"/api-reference/investments/verify-a-security"}]},{"group":"Imports","pages":[{"title":"List imports","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/accounts/{accountId}/imports","href":"/api-reference/imports/list-imports"},{"title":"Upload a statement file","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/accounts/{accountId}/imports","href":"/api-reference/imports/upload-a-statement-file"},{"title":"Get an import","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/accounts/{accountId}/imports/{importId}","href":"/api-reference/imports/get-an-import"},{"title":"Discard an import","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /finance/accounts/{accountId}/imports/{importId}","href":"/api-reference/imports/discard-an-import"},{"title":"List an import's rows","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /finance/accounts/{accountId}/imports/{importId}/rows","href":"/api-reference/imports/list-an-imports-rows"},{"title":"Change the CSV mapping","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /finance/accounts/{accountId}/imports/{importId}/mapping","href":"/api-reference/imports/change-the-csv-mapping"},{"title":"Commit an import","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/accounts/{accountId}/imports/{importId}/commit","href":"/api-reference/imports/commit-an-import"},{"title":"Undo an import","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /finance/accounts/{accountId}/imports/{importId}/undo","href":"/api-reference/imports/undo-an-import"}]},{"group":"Destinations","pages":[{"group":"YNAB","pages":[{"title":"List all YNAB connections","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/ynab/connections","href":"/api-reference/ynab/list-all-ynab-connections"},{"title":"Create new YNAB connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/ynab/connections","href":"/api-reference/ynab/create-new-ynab-connection"},{"title":"Get YNAB connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/ynab/connections/{connectionId}","href":"/api-reference/ynab/get-ynab-connection"},{"title":"Update YNAB connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /destinations/ynab/connections/{connectionId}","href":"/api-reference/ynab/update-ynab-connection"},{"title":"Delete YNAB connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /destinations/ynab/connections/{connectionId}","href":"/api-reference/ynab/delete-ynab-connection"},{"title":"Refresh YNAB connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/ynab/connections/{connectionId}/refresh","href":"/api-reference/ynab/refresh-ynab-connection"},{"title":"List all YNAB budgets","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/ynab/connections/{connectionId}/budgets","href":"/api-reference/ynab/list-all-ynab-budgets"},{"title":"Get YNAB budget","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/ynab/connections/{connectionId}/budgets/{budgetId}","href":"/api-reference/ynab/get-ynab-budget"},{"title":"Update YNAB budget","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /destinations/ynab/connections/{connectionId}/budgets/{budgetId}","href":"/api-reference/ynab/update-ynab-budget"},{"title":"Delete YNAB budget","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /destinations/ynab/connections/{connectionId}/budgets/{budgetId}","href":"/api-reference/ynab/delete-ynab-budget"},{"title":"List all YNAB budget accounts","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/ynab/connections/{connectionId}/budgets/{budgetId}/accounts","href":"/api-reference/ynab/list-all-ynab-budget-accounts"},{"title":"Create YNAB budget account","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/ynab/connections/{connectionId}/budgets/{budgetId}/accounts","href":"/api-reference/ynab/create-ynab-budget-account"},{"title":"Get YNAB budget account","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/ynab/connections/{connectionId}/budgets/{budgetId}/accounts/{budgetAccountId}","href":"/api-reference/ynab/get-ynab-budget-account"},{"title":"Delete YNAB budget account","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /destinations/ynab/connections/{connectionId}/budgets/{budgetId}/accounts/{budgetAccountId}","href":"/api-reference/ynab/delete-ynab-budget-account"}]},{"group":"Lunch Money","pages":[{"title":"List all Lunch Money connections","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/lunch-money/connections","href":"/api-reference/lunch-money/list-all-lunch-money-connections"},{"title":"Create new Lunch Money connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/lunch-money/connections","href":"/api-reference/lunch-money/create-new-lunch-money-connection"},{"title":"Get Lunch Money connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/lunch-money/connections/{connectionId}","href":"/api-reference/lunch-money/get-lunch-money-connection"},{"title":"Update Lunch Money connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /destinations/lunch-money/connections/{connectionId}","href":"/api-reference/lunch-money/update-lunch-money-connection"},{"title":"Delete Lunch Money connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /destinations/lunch-money/connections/{connectionId}","href":"/api-reference/lunch-money/delete-lunch-money-connection"},{"title":"Refresh Lunch Money connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/lunch-money/connections/{connectionId}/refresh","href":"/api-reference/lunch-money/refresh-lunch-money-connection"},{"title":"List all Lunch Money accounts","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/lunch-money/connections/{connectionId}/accounts","href":"/api-reference/lunch-money/list-all-lunch-money-accounts"},{"title":"Create Lunch Money account","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/lunch-money/connections/{connectionId}/accounts","href":"/api-reference/lunch-money/create-lunch-money-account"},{"title":"Get Lunch Money account","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/lunch-money/connections/{connectionId}/accounts/{accountId}","href":"/api-reference/lunch-money/get-lunch-money-account"},{"title":"Delete Lunch Money account","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /destinations/lunch-money/connections/{connectionId}/accounts/{accountId}","href":"/api-reference/lunch-money/delete-lunch-money-account"}]},{"group":"Google Sheets","pages":[{"title":"List all Google Sheets connections","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/google-sheets/connections","href":"/api-reference/google-sheets/list-all-google-sheets-connections"},{"title":"Create new Google Sheets connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/google-sheets/connections","href":"/api-reference/google-sheets/create-new-google-sheets-connection"},{"title":"Get Google Sheets connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/google-sheets/connections/{connectionId}","href":"/api-reference/google-sheets/get-google-sheets-connection"},{"title":"Update Google Sheets connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /destinations/google-sheets/connections/{connectionId}","href":"/api-reference/google-sheets/update-google-sheets-connection"},{"title":"Delete Google Sheets connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /destinations/google-sheets/connections/{connectionId}","href":"/api-reference/google-sheets/delete-google-sheets-connection"},{"title":"Refresh Google Sheets connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/google-sheets/connections/{connectionId}/refresh","href":"/api-reference/google-sheets/refresh-google-sheets-connection"},{"title":"List destination spreadsheets for a connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/google-sheets/connections/{connectionId}/sheets","href":"/api-reference/google-sheets/list-destination-spreadsheets-for-a-connection"},{"title":"Register a destination spreadsheet","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/google-sheets/connections/{connectionId}/sheets","href":"/api-reference/google-sheets/register-a-destination-spreadsheet"},{"title":"Get a destination spreadsheet","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/google-sheets/connections/{connectionId}/sheets/{sheetId}","href":"/api-reference/google-sheets/get-a-destination-spreadsheet"},{"title":"Update a destination spreadsheet","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /destinations/google-sheets/connections/{connectionId}/sheets/{sheetId}","href":"/api-reference/google-sheets/update-a-destination-spreadsheet"},{"title":"Delete a destination spreadsheet","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /destinations/google-sheets/connections/{connectionId}/sheets/{sheetId}","href":"/api-reference/google-sheets/delete-a-destination-spreadsheet"},{"title":"List the worksheets (tabs) of a spreadsheet","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/google-sheets/connections/{connectionId}/sheets/{sheetId}/tabs","href":"/api-reference/google-sheets/list-the-worksheets-tabs-of-a-spreadsheet"},{"title":"Create a new worksheet (tab) in a spreadsheet","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/google-sheets/connections/{connectionId}/sheets/{sheetId}/tabs","href":"/api-reference/google-sheets/create-a-new-worksheet-tab-in-a-spreadsheet"}]},{"group":"SimpleFIN","pages":[{"title":"List all SimpleFIN connections","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/simplefin/connections","href":"/api-reference/simplefin/list-all-simplefin-connections"},{"title":"Create new SimpleFIN connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/simplefin/connections","href":"/api-reference/simplefin/create-new-simplefin-connection"},{"title":"Get SimpleFIN connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/simplefin/connections/{connectionId}","href":"/api-reference/simplefin/get-simplefin-connection"},{"title":"Update SimpleFIN connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /destinations/simplefin/connections/{connectionId}","href":"/api-reference/simplefin/update-simplefin-connection"},{"title":"Delete SimpleFIN connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /destinations/simplefin/connections/{connectionId}","href":"/api-reference/simplefin/delete-simplefin-connection"},{"title":"Regenerate setup token","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/simplefin/connections/{connectionId}/regenerate-token","href":"/api-reference/simplefin/regenerate-setup-token"},{"title":"Revoke access credentials","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/simplefin/connections/{connectionId}/revoke","href":"/api-reference/simplefin/revoke-access-credentials"},{"title":"List accounts observed syncing","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/simplefin/connections/{connectionId}/accounts","href":"/api-reference/simplefin/list-accounts-observed-syncing"}]},{"group":"Notion","pages":[{"title":"List all Notion connections","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/notion/connections","href":"/api-reference/notion/list-all-notion-connections"},{"title":"Create new Notion connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/notion/connections","href":"/api-reference/notion/create-new-notion-connection"},{"title":"Get Notion connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/notion/connections/{connectionId}","href":"/api-reference/notion/get-notion-connection"},{"title":"Update Notion connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /destinations/notion/connections/{connectionId}","href":"/api-reference/notion/update-notion-connection"},{"title":"Delete Notion connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /destinations/notion/connections/{connectionId}","href":"/api-reference/notion/delete-notion-connection"},{"title":"Refresh Notion connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/notion/connections/{connectionId}/refresh","href":"/api-reference/notion/refresh-notion-connection"},{"title":"Search pages shared with Synci","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/notion/connections/{connectionId}/pages","href":"/api-reference/notion/search-pages-shared-with-synci"},{"title":"Search databases shared with Synci","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/notion/connections/{connectionId}/data-sources","href":"/api-reference/notion/search-databases-shared-with-synci"},{"title":"List destination databases for a connection","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/notion/connections/{connectionId}/databases","href":"/api-reference/notion/list-destination-databases-for-a-connection"},{"title":"Register a destination database","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /destinations/notion/connections/{connectionId}/databases","href":"/api-reference/notion/register-a-destination-database"},{"title":"Get a destination database","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /destinations/notion/connections/{connectionId}/databases/{databaseId}","href":"/api-reference/notion/get-a-destination-database"},{"title":"Update a destination database","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /destinations/notion/connections/{connectionId}/databases/{databaseId}","href":"/api-reference/notion/update-a-destination-database"},{"title":"Delete a destination database","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /destinations/notion/connections/{connectionId}/databases/{databaseId}","href":"/api-reference/notion/delete-a-destination-database"}]}]},{"group":"Account","pages":[{"group":"Webhooks","pages":[{"title":"List all webhook events","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /webhooks/events","href":"/api-reference/webhooks/list-all-webhook-events"},{"title":"List all webhook endpoints","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /webhooks","href":"/api-reference/webhooks/list-all-webhook-endpoints"},{"title":"Create new webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /webhooks","href":"/api-reference/webhooks/create-new-webhook-endpoint"},{"title":"Get webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /webhooks/{webhookEndpointId}","href":"/api-reference/webhooks/get-webhook-endpoint"},{"title":"Update webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /webhooks/{webhookEndpointId}","href":"/api-reference/webhooks/update-webhook-endpoint"},{"title":"Delete webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /webhooks/{webhookEndpointId}","href":"/api-reference/webhooks/delete-webhook-endpoint"},{"title":"Test webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /webhooks/{webhookEndpointId}/test","href":"/api-reference/webhooks/test-webhook-endpoint"},{"title":"Rotate webhook secret","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /webhooks/{webhookEndpointId}/rotate-secret","href":"/api-reference/webhooks/rotate-webhook-secret"}]},{"group":"User","pages":[{"title":"Get the authenticated user","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /user","href":"/api-reference/user/get-the-authenticated-user"}]}]},{"group":"Rules","pages":[{"group":"Rules","pages":[{"title":"List all rules","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /rules","href":"/api-reference/rules/list-all-rules"},{"title":"Create a new rule","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /rules","href":"/api-reference/rules/create-a-new-rule"},{"title":"Get rule","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /rules/{ruleId}","href":"/api-reference/rules/get-rule"},{"title":"Update rule","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /rules/{ruleId}","href":"/api-reference/rules/update-rule"},{"title":"Delete rule","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /rules/{ruleId}","href":"/api-reference/rules/delete-rule"},{"title":"Reorder rules for a financial account","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /rules/{ruleId}/accounts/{financialAccountId}","href":"/api-reference/rules/reorder-rules-for-a-financial-account"},{"title":"Attach rule to a financial account","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /rules/{ruleId}/accounts/{financialAccountId}","href":"/api-reference/rules/attach-rule-to-a-financial-account"},{"title":"Detach rule from financial account","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /rules/{ruleId}/accounts/{financialAccountId}","href":"/api-reference/rules/detach-rule-from-financial-account"},{"title":"Reorder rules for a transfer link","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /rules/{ruleId}/transfer-links/{transferLinkId}","href":"/api-reference/rules/reorder-rules-for-a-transfer-link"},{"title":"Attach rule to transfer link","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /rules/{ruleId}/transfer-links/{transferLinkId}","href":"/api-reference/rules/attach-rule-to-transfer-link"},{"title":"Detach rule from transfer link","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /rules/{ruleId}/transfer-links/{transferLinkId}","href":"/api-reference/rules/detach-rule-from-transfer-link"},{"title":"Suggest an internal-transfer rule from examples","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /rules/suggest","href":"/api-reference/rules/suggest-an-internal-transfer-rule-from-examples"},{"title":"Apply a rule to existing transactions","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /rules/{ruleId}/apply","href":"/api-reference/rules/apply-a-rule-to-existing-transactions"},{"title":"Get a rule application","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /rules/{ruleId}/applications/{applicationId}","href":"/api-reference/rules/get-a-rule-application"},{"title":"Rule field catalog","description":"Returns the fields a rule action can set, grouped by reach, one entry per\nrule scope (`BANK`, `TRANSFER`). Each group carries the `action_type` to\nsubmit and the destinations it reaches, so the editor can render a single\ngrouped field picker and derive the action type from the chosen field —\nthe user never picks an action type directly.\n\nThe catalog is static (not per-rule); render the entry matching the rule\nbeing edited. For transfer rules being attached to a bank account as\noutput rules, restrict to groups where `output_compatible` is true.","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /rules/field-catalog","href":"/api-reference/rules/rule-field-catalog"},{"title":"Preview a rule against transactions (dry-run)","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /rules/preview","href":"/api-reference/rules/preview-a-rule-against-transactions-dry-run"}]},{"group":"Rule Logs","pages":[{"title":"List all rule logs","description":"Rule logs are created any time Synci attempts to apply a rule to a bank transaction.\nEach rule log references both the rule and the bank transaction, so you can use this endpoint to get all rule logs for a specific rule or bank transaction.","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /rule-logs","href":"/api-reference/rule-logs/list-all-rule-logs"},{"title":"Get rule log","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /rule-logs/{logId}","href":"/api-reference/rule-logs/get-rule-log"},{"title":"Undo multiple rule actions","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /rule-logs/undo-bulk","href":"/api-reference/rule-logs/undo-multiple-rule-actions"},{"title":"Undo a rule action","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /rule-logs/{logId}/undo","href":"/api-reference/rule-logs/undo-a-rule-action"}]}]},{"group":"Transfers","pages":[{"group":"Transfer Links","pages":[{"title":"List all transfer links","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /transfer-links","href":"/api-reference/transfer-links/list-all-transfer-links"},{"title":"Create a new transfer link","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /transfer-links","href":"/api-reference/transfer-links/create-a-new-transfer-link"},{"title":"Get transfer link","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /transfer-links/{transferLinkId}","href":"/api-reference/transfer-links/get-transfer-link"},{"title":"Update transfer link","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /transfer-links/{transferLinkId}","href":"/api-reference/transfer-links/update-transfer-link"},{"title":"Delete transfer link","deprecated":null,"version":null,"openapi":"/openapi/v1.json delete /transfer-links/{transferLinkId}","href":"/api-reference/transfer-links/delete-transfer-link"},{"title":"Retry transfers for all transfer links","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /transfer-links/retry-transfers","href":"/api-reference/transfer-links/retry-transfers-for-all-transfer-links"},{"title":"Retry transfers for a specific transfer link","deprecated":null,"version":null,"openapi":"/openapi/v1.json post /transfer-links/{transferLinkId}/retry-transfers","href":"/api-reference/transfer-links/retry-transfers-for-a-specific-transfer-link"}]},{"group":"Transfer Logs","pages":[{"title":"List all transfer logs","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /transfer-logs","href":"/api-reference/transfer-logs/list-all-transfer-logs"},{"title":"Get transfer log","deprecated":null,"version":null,"openapi":"/openapi/v1.json get /transfer-logs/{transferLogId}","href":"/api-reference/transfer-logs/get-transfer-log"},{"title":"Undo a transfer","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /transfer-logs/{transferLogId}/undo","href":"/api-reference/transfer-logs/undo-a-transfer"},{"title":"Undo multiple transfers","deprecated":null,"version":null,"openapi":"/openapi/v1.json put /transfer-logs/undo-bulk","href":"/api-reference/transfer-logs/undo-multiple-transfers"}]}]}]},{"version":"v2","tag":"Alpha","pages":[{"title":"v2","href":"/api-reference/v2/introduction"}]}]},{"tab":"Managed Users API","icon":"users","pages":[{"title":"Managed Users API","href":"/api-reference/managed/introduction"}]}]},"basePath":"","title":"Preview a rule against transactions (dry-run) - Synci API","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}