API documentation | API docs for agents | OpenAPI 3.1
GET /api/v1/reports/cash-flow
ark.get_cash_flow_forecast
Returns permissioned cash-flow forecast data with AR/AP aging buckets, daily inflow/outflow projection, and customer/carrier concentration analysis.
- Availability
- Expanded preview
- Scopes
reports:read- ARK permissions
canViewReportscanViewCashFlowForecast- Team visibility
- Required and enforced
- Idempotency-Key
- Not required
- Approval
- No MCP approval on REST API-token calls
- Rate limit
- API credential and organization budgets
Parameters
scenarioquerystring- one of: P25, P50, P75; default: "P50"
modequerystring- one of: historical, terms; default: "historical"
horizon_daysqueryinteger- one of: 30, 60, 90; default: 60
team_idsquerystring- Comma-separated visible team IDs. Omit to use every team available to the credential.
Request body
None.
Example request
Shell
curl 'https://arktms.com/api/v1/reports/cash-flow' \
-H "Authorization: Bearer $ARK_API_TOKEN"Success response
Cash flow forecast
objectstringrequiredokbooleanrequiredapi_versionstringrequiredrequest_idstringrequireddataobjectrequireddata.filtersobjectrequireddata.forecastobjectrequiredErrors
HTTP 400- Invalid request
HTTP 401- Authentication required
HTTP 403- Permission, scope, team, or entitlement denied
HTTP 502- External provider or worker queue could not be reached