Analyze accounts and suggest a Chart of Accounts
Changed onScans all accounts in a ledger, discovers address patterns, and returns a suggested Chart of Accounts. Useful after a mirror import to understand account structure. Requires ledger:read scope.
Request
- Base URLhttp://localhost:9000
- URLhttp://localhost:9000/v3/{ledgerName}/analyze-accounts
- Auth
- HTTP bearer
- or none
Path parameters
Name of the ledger
Query parameters
Max distinct children before classifying as variable (0 = default 10)
Headers
Read consistency. linearizable (the default) runs a Raft ReadIndex barrier and waits for the receiving node to apply up to it. stale serves the read from the receiving node's own store, with no barrier and no forwarding to the leader, so the answer may lag the leader. Matching ignores case and surrounding whitespace. An unknown value, or a repeated or comma-joined header, returns 400 INVALID_REQUEST on every /v3 route, writes included; a valid value has no effect on writes. The gRPC equivalent is the x-consistency request metadata.
Response
Analysis completed successfully
Changes
- info
api operation id
analyzeAccountsremoved and replaced withv3AnalyzeAccounts
- info
- info
added the media type
text/plainfor the response with the status - info
added the media type
text/plainfor the response with the status
- info