run_saved_filter
Retrieve paginated results from a saved Capsule filter by its ID. Leverages pre-configured sorting to answer 'most recent' queries in one call; find filters with list_saved_filters first.
Instructions
Run a saved filter by id and return its results, paginated. Unlike filter_parties / filter_opportunities / filter_projects (which use the ad-hoc filter endpoint and CANNOT sort), saved filters DO support sort — the orderBy is configured in Capsule's web UI when the filter is created. So 'most recent X by Y' questions are answerable in one call IF a saved filter exists; use list_saved_filters first to find one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The saved filter id (from list_saved_filters). | |
| page | No | ||
| embed | No | Comma-separated embeds. Valid tokens depend on entity — parties: tags, fields, organisation, missingImportantFields; opportunities: tags, fields, party, milestone, missingImportantFields; projects: tags, fields, party, opportunity, missingImportantFields. | |
| entity | Yes | Which entity type the filter operates over. | |
| perPage | No |