201Successful Response
Schema: SuccessEnvelope_AnalyzeCashFlowResponse_
successbooleanmessagestringcodestringdataAnalyzeCashFlowResponse
/api/v1/businesses/{business_id}/cash-flow/analyzeUses AI to analyze the cash flow statement for the given period and return structured insights.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
business_idstringrequiredSchema: AnalyzeCashFlowRequest
start_datestringrequiredStart date (YYYY-MM-DD)
end_datestringrequiredEnd date (YYYY-MM-DD)
Schema: SuccessEnvelope_AnalyzeCashFlowResponse_
successbooleanmessagestringcodestringdataAnalyzeCashFlowResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject