---
title: "Precompute category suggestions for uncoded feed transactions"
method: POST
path: "/bank-transactions/suggestions/precompute"
tags: ["Banking"]
---

# Precompute category suggestions for uncoded feed transactions

`POST /bank-transactions/suggestions/precompute`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/bank-transactions/suggestions/precompute`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Warms the fast-coding suggestion cache for the organization's feeds with uncoded rows, so the client drawer serves suggestions with no searches when opened. Feeds whose cache is already fresh are skipped. Fire-and-forget safe: per-feed failures are reported, never thrown.

## Request body

- object
  - `bankAccountIds` string[]: Feeds to warm. Defaults to every feed in the organization holding uncoded rows.

## Response `200`

Warm summary

- object
  - `warmed` string[]
  - `skipped` string[]
  - `failed` object[]
    - `bankAccountId` string, uuid
    - `error` string

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
