Lean Technologies · Capability

Lean Insights API — Cashflows

Lean Insights — cashflow analytics derived from transaction history.

Lean Insights API — Cashflows is a Naftiko capability published by Lean Technologies, one of 19 capabilities the APIs.io network indexes for this provider. It bundles 1 operation across the GET method rooted at /v1/insights/v2/assets/cashflows.

The capability includes 1 read-only operation. Lead operation: Lean Get Cashflows. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Lean, Insights, and Cashflows.

Run with Naftiko LeanInsightsCashflows

What You Can Do

GET
Getcashflows — Lean Get Cashflows
/v1/insights/v2/assets/cashflows

MCP Tools

lean-getcashflows

Lean Get Cashflows

read-only idempotent

Capability Spec

insights-cashflows.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Lean Insights API — Cashflows
  description: 'Lean Insights — cashflow analytics derived from transaction history.'
  tags:
  - Lean
  - Insights
  - Cashflows
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    LEAN_API_TOKEN: LEAN_API_TOKEN
capability:
  consumes:
  - type: http
    namespace: insights-cashflows
    baseUri: https://api2.leantech.me
    description: Lean Insights API — Cashflows business capability backed by Lean Technologies APIs.
    resources:
    - name: cashflows
      path: /insights/v2/assets/cashflows
      operations:
      - name: getCashflows
        method: GET
        description: Lean Get Cashflows
        outputRawFormat: json
        inputParameters: []
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: 'Bearer {{env.LEAN_API_TOKEN}}'
      placement: header
  exposes:
  - type: rest
    namespace: insights-cashflows-rest
    port: 8080
    description: REST adapter for Lean Insights API — Cashflows.
    resources:
    - path: /v1/insights/v2/assets/cashflows
      name: cashflows
      operations:
      - method: GET
        name: getCashflows
        description: Lean Get Cashflows
        call: insights-cashflows.getCashflows
        with: {}
  - type: mcp
    namespace: insights-cashflows-mcp
    port: 9090
    transport: http
    description: MCP adapter for Lean Insights API — Cashflows.
    tools:
    - name: lean-getcashflows
      description: Lean Get Cashflows
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: insights-cashflows.getCashflows
      with: {}