Events awaiting review
get_unreviewed_eventsLists classified events the rules engine could not confidently categorise (needs_review = true, not yet synced to the ledger), newest first. The pipeline is PAUSED for each of these until someone approves a category — they are missing from P&L reports and the ledger. Every item carries what an approver needs to decide without further queries: the source system, event type, amount in cents, currency, direction (inbound = money in, outbound = money out), when it occurred, the counterparty, the category the classifier suggested, and flagged_reason explaining why it was flagged. Resolve an item by calling approve_classification with its classified_event_id and the correct category. Paginate via next_cursor; total_count is the full queue size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Events per page, default 20, max 100. | |
| cursor | No | The next_cursor value from the previous page (last seen event id). | |
| org_id | No | Optional. Defaults to the organisation the authenticated API key is bound to, so you normally omit it and never need to ask the user for their organisation UUID. If provided, it must match the key’s org or the request is rejected. | 0e91146d-511c-469f-bdee-5c867b26ae0d |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | ||
| next_cursor | Yes | ||
| total_count | Yes |