optionality_list_journal
Server-side sorted, grouped, paginated list of the caller's journal.
Sorting and grouping are done in SQL, so each page is a slice of the
fully-ordered dataset. Returns {total, page, page_size, groups, entries}; groups carries per-group counts over the whole set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | No | Required. Your Nostr public key (npub1...) for credit billing. | |
| page | No | 0-indexed page number. | |
| status | No | Optional. ``open`` | ``submitted`` | ``evaluated`` | ``abandoned``. | |
| group_by | No | ``none`` | ``historicity`` | ``difficulty`` | ``symbol``. | none |
| sort_col | No | ``created`` | ``updated`` | ``symbol`` | ``historicity`` | ``difficulty`` | ``grade`` | ``score`` | ``status``. | created |
| sort_dir | No | Row order, ``asc`` | ``desc``. | desc |
| page_size | No | Rows per page (1..200, default 25). | |
| dpop_token | No | ||
| group_sort | No | Group order, ``asc`` | ``desc``. | asc |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||