Ledgers
List all ledgers
Returns an array of all ledgers with filtering and sorting capabilities.
GET
List all ledgers
Authorizations
Query Parameters
Comma-separated list of fields to sort by. Prefix with - for descending. Available fields: id, name, created_at, updated_at
Example:
"name,-created_at"
Filter by exact ledger ID (friendly_id)
Filter by name (case-insensitive partial match)
Filter by unit
Filter by system ledger type
Controls response format. default returns paginated data. summary returns count and 10 samples. summary_with_export returns summary and triggers an async export.
Available options:
default, summary, summary_with_export File format for async export (only with response_mode=summary_with_export). Default: csv.
Available options:
csv, json List all ledgers