Documentation Index
Fetch the complete documentation index at: https://docs.maximem.ai/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
Filter to a single entry type. Common values include
"credit" (additions to the wallet) and "debit" (deductions for usage). Omit to return all entry types.Inclusive lower bound on
created_at. Omit to start from the beginning of history.Inclusive upper bound on
created_at. Omit to read up to the present.Maximum number of entries to return in this page.
Number of entries to skip. Combine with
limit to walk the full ledger.Returns
CreditLedgerPage with one page of entries plus pagination metadata.
The ledger rows for this page. Each
CreditLedgerEntry has:ledger_id(string) — stable identifier for the row.entry_type(string) —"credit","debit", or similar.delta(float) — signed credit change (positive for credits added, negative for usage).metric_type(string | None) — the metered metric that produced the entry (e.g."llm_input_tokens"), when applicable.category(string | None) — coarse grouping for the entry (e.g."ingestion","retrieval"), when applicable.created_at(datetime) — when the entry was recorded.
Total number of entries matching the filters (across all pages).
Echo of the
limit used for this page.Echo of the
offset used for this page.Example
Raises
SynapAuthError— when the API key is missing or invalid.SynapValidationError— whenlimitoroffsetare out of range.