riddle_list
Returns a paginated list of Riddles. With the default scope "project" they come from a single project - use projectId to name it, or omit it for the personal project. With scope "account" they come from the entire account instead: the personal project and every team project the user has access to, in one list - the account-wide listing is this scope, not a tool of its own; projectId and notType do not apply there and are rejected rather than ignored. Every other filter works the same in both scopes. Answers with {items, page, pageSize, total, hasMore}, where "total" is how many Riddles match the filters in total and "hasMore" whether another page follows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-indexed, 12 Riddles per page (default: 1). Zero or negative is rejected with a VALIDATION_ERROR rather than clamped. | |
| tags | No | Filter by tag IDs (array of integers). Omit to ignore tags. | |
| type | No | Filter by Riddle type (array of strings). Valid values: "Quiz", "Poll", "Form", "Personality", "Predictor", "Minigame", "Leaderboard", "Placeholder", "Story". Omit to include all types. | |
| scope | No | What to list: "project" (default) for the Riddles of a single project, "account" for every Riddle of the account at once. | |
| origin | No | Filter by how the Riddle was created: "api" (Riddle Builder API or Riddle AI, so riddle_delete/riddle_builder_update/palette_customize work on it) or "manual" (built by hand in the Creator, where those three are rejected). Omit for both. A filter value only - the "origin" returned per Riddle is {builder, aiGenerated, apiManageable}. | |
| search | No | Search term to filter Riddles by title | |
| sortBy | No | Sort field: "created", "published", or "modified" | |
| status | No | Filter by status: "published", "modified", or "draft". Omit to include all statuses. | |
| notType | No | Exclude specific Riddle types (array of strings, same valid values as type). Omit to exclude nothing. Scope "project" only - the account list has no exclusion filter. | |
| projectId | No | Filter by project ID; omit or null for the authenticated user's personal project. Scope "project" only. | |
| sortOrder | No | Sort direction: "ASC" or "DESC" |