200Successful Response
Schema: SuccessEnvelope_TransactionReviewByFilterResponse_
successbooleanmessagestringcodestringdataTransactionReviewByFilterResponse
/api/v1/transactions/batch/mark-reviewed-by-filterMark every unreviewed transaction a machine categorized (bank rule, counterparty rule, merchant pattern, history, AI) that matches a filter as reviewed: by who categorized it, a confidence floor, counterparties, an amount ceiling or a date range. Rows a person categorized, transfers and uncategorized rows are never selected. dry_run returns the count and a sample. The ids-based PATCH /batch/review-status is unchanged.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: TransactionReviewByFilterRequest
categorized_byarray · stringWho categorized the row (default: any machine layer). rules = a bank rule, counterparty_default = a counterparty rule, merchant = a known merchant pattern, the rest are learned or AI guesses.
min_confidencenumberGuesses (AI, history, similarity) need a stored confidence at or above this; bank rules, merchant patterns and counterparty defaults are exact matches and always pass.
counterpartiesarray · stringOnly these counterparties (case-insensitive exact names).
min_amount_centsintegerOnly rows of at least this absolute amount.
max_amount_centsintegerOnly rows of at most this absolute amount.
date_fromstring · dateEarliest transaction date.
date_tostring · dateLatest transaction date.
limitintegerMost transactions to mark in one call.
dry_runbooleanReturn the count, amount and a sample; change nothing.
Schema: SuccessEnvelope_TransactionReviewByFilterResponse_
successbooleanmessagestringcodestringdataTransactionReviewByFilterResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.