List condition sets
list_condition_setsRetrieve condition sets for a Beehiiv publication to inspect dynamic content rules. Supports purpose filtering and pagination.
Instructions
List condition sets. Reads account data. OAuth integrations require condition_sets:read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | **Offset-based pagination (deprecated)**: Page number for offset-based pagination. Please migrate to cursor-based pagination using the `cursor` parameter. If not specified, results 1-10 from page 1 will be returned. | |
| limit | No | A limit on the number of objects to be returned. The limit can range between 1 and 100, and the default is 10. | |
| cursor | No | **Cursor-based pagination (recommended)**: Use this opaque cursor token to fetch the next page of results. When provided, pagination will use cursor-based method which is more efficient and consistent than offset-based pagination. | |
| account | No | Named private account from BEEHIIV_ACCOUNTS. Defaults to BEEHIIV_DEFAULT_ACCOUNT or the first configured account. | |
| purpose | No | Filter condition sets by purpose. When not specified, all active condition sets are returned. | |
| all_pages | No | Read successive cursor pages, bounded by max_items (default 1000). | |
| max_items | No | Maximum records when all_pages=true. Returns continuation cursor and truncation. | |
| publication_id | Yes | The prefixed ID of the publication object |