question_bank_list
Lists question banks. Scope "own" (the default) lists the banks of a project - the same ones the Creator shows; pass a projectId to look into another project, omit it for the project the API key is scoped to (your personal ones on a user API key). Paginated {items, page, pageSize, total, hasMore}. Scope "templates" lists the built-in starter banks instead - pre-filled banks anyone can copy with question_bank_manage(action: "duplicate") to get real content immediately instead of starting empty. It takes riddleType and nothing else (a handful of them, nothing to page or search) and answers with id, title, PUBLISHED "itemCount", DRAFT "draftItemCount", which blockTypes those items are (null when that cannot be told yet) and a few example categories out of "categoryCount". A template that was never published reports "itemCount": 0 however many questions it holds - judge its real size by "draftItemCount", the number a duplicate would give you, and read the chosen id with question_bank_get and question_bank_get_items before duplicating. Every write here rejects a template id: a template is only ever changed through a copy of it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1). Scope "own" only. | |
| tags | No | Filter by tag IDs (array of integers), as returned by riddle_tag_list. Omit to ignore tags. Scope "own" only. | |
| scope | No | What to list: "own" (default) for the question banks of a project, "templates" for the built-in starter banks anyone can duplicate. | |
| search | No | Search term to filter banks by title. Scope "own" only. | |
| sortBy | No | Sort field: "createdAt" or "modifiedAt". Defaults to "createdAt". Scope "own" only. | |
| pageSize | No | Items per page (default: 12, max: 50). Scope "own" only. | |
| projectId | No | The project (team) ID whose banks you want, as returned by project_list. Omit for the banks of the project the API key is scoped to (your personal ones on a user API key). Scope "own" only. | |
| sortOrder | No | Sort direction: "ASC" or "DESC". Defaults to "DESC". Scope "own" only. | |
| riddleType | No | Filter by Riddle type ("Quiz" or "Poll"). Omit to list banks of every type. Applies to both scopes. |