Codat · Capability

Bank Feeds — Managed bank feeds

Bank Feeds — Managed bank feeds. 3 operations. Lead operation: Run ad-hoc sync. Self-contained Naftiko capability covering one Codat business surface.

Run with Naftiko CodatManaged bank feeds

What You Can Do

POST
Runmanagedbankfeedadhocsync — Run ad-hoc sync
/v1/companies/{companyid}/connections/{connectionid}/bankfeedaccounts/{sourceaccountid}/managedbankfeeds/syncs
GET
Getlatestmanagedbankfeedsync — Get latest sync
/v1/companies/{companyid}/connections/{connectionid}/bankfeedaccounts/{sourceaccountid}/managedbankfeeds/syncs/latest
GET
Getmanagedbankfeedsync — Get sync
/v1/companies/{companyid}/connections/{connectionid}/bankfeedaccounts/{sourceaccountid}/managedbankfeeds/syncs/{syncid}

MCP Tools

run-ad-hoc-sync

Run ad-hoc sync

get-latest-sync

Get latest sync

read-only idempotent
get-sync

Get sync

read-only idempotent

Capability Spec

bank-feeds-managed-bank-feeds.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Bank Feeds — Managed bank feeds
  description: 'Bank Feeds — Managed bank feeds. 3 operations. Lead operation: Run ad-hoc sync. Self-contained Naftiko capability
    covering one Codat business surface.'
  tags:
  - Codat
  - Managed bank feeds
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CODAT_API_KEY: CODAT_API_KEY
capability:
  consumes:
  - type: http
    namespace: bank-feeds-managed-bank-feeds
    baseUri: https://api.codat.io
    description: Bank Feeds — Managed bank feeds business capability. Self-contained, no shared references.
    resources:
    - name: companies-companyId-connections-connectionId-bankFeedAccounts-sourceAccountId-ma
      path: /companies/{companyId}/connections/{connectionId}/bankFeedAccounts/{sourceAccountId}/managedBankFeeds/syncs
      operations:
      - name: runmanagedbankfeedadhocsync
        method: POST
        description: Run ad-hoc sync
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: companies-companyId-connections-connectionId-bankFeedAccounts-sourceAccountId-ma
      path: /companies/{companyId}/connections/{connectionId}/bankFeedAccounts/{sourceAccountId}/managedBankFeeds/syncs/latest
      operations:
      - name: getlatestmanagedbankfeedsync
        method: GET
        description: Get latest sync
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: companies-companyId-connections-connectionId-bankFeedAccounts-sourceAccountId-ma
      path: /companies/{companyId}/connections/{connectionId}/bankFeedAccounts/{sourceAccountId}/managedBankFeeds/syncs/{syncId}
      operations:
      - name: getmanagedbankfeedsync
        method: GET
        description: Get sync
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.CODAT_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: bank-feeds-managed-bank-feeds-rest
    port: 8080
    description: REST adapter for Bank Feeds — Managed bank feeds. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/companies/{companyid}/connections/{connectionid}/bankfeedaccounts/{sourceaccountid}/managedbankfeeds/syncs
      name: companies-companyid-connections-connectionid-bankfeedaccounts-sourceaccountid-ma
      description: REST surface for companies-companyId-connections-connectionId-bankFeedAccounts-sourceAccountId-ma.
      operations:
      - method: POST
        name: runmanagedbankfeedadhocsync
        description: Run ad-hoc sync
        call: bank-feeds-managed-bank-feeds.runmanagedbankfeedadhocsync
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/companies/{companyid}/connections/{connectionid}/bankfeedaccounts/{sourceaccountid}/managedbankfeeds/syncs/latest
      name: companies-companyid-connections-connectionid-bankfeedaccounts-sourceaccountid-ma
      description: REST surface for companies-companyId-connections-connectionId-bankFeedAccounts-sourceAccountId-ma.
      operations:
      - method: GET
        name: getlatestmanagedbankfeedsync
        description: Get latest sync
        call: bank-feeds-managed-bank-feeds.getlatestmanagedbankfeedsync
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/companies/{companyid}/connections/{connectionid}/bankfeedaccounts/{sourceaccountid}/managedbankfeeds/syncs/{syncid}
      name: companies-companyid-connections-connectionid-bankfeedaccounts-sourceaccountid-ma
      description: REST surface for companies-companyId-connections-connectionId-bankFeedAccounts-sourceAccountId-ma.
      operations:
      - method: GET
        name: getmanagedbankfeedsync
        description: Get sync
        call: bank-feeds-managed-bank-feeds.getmanagedbankfeedsync
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bank-feeds-managed-bank-feeds-mcp
    port: 9090
    transport: http
    description: MCP adapter for Bank Feeds — Managed bank feeds. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: run-ad-hoc-sync
      description: Run ad-hoc sync
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: bank-feeds-managed-bank-feeds.runmanagedbankfeedadhocsync
      outputParameters:
      - type: object
        mapping: $.
    - name: get-latest-sync
      description: Get latest sync
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bank-feeds-managed-bank-feeds.getlatestmanagedbankfeedsync
      outputParameters:
      - type: object
        mapping: $.
    - name: get-sync
      description: Get sync
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bank-feeds-managed-bank-feeds.getmanagedbankfeedsync
      outputParameters:
      - type: object
        mapping: $.