seo_list_keyword_ids
Get keyword IDs matching any filter in a single call, then use them for bulk delete or bulk edit operations.
Instructions
Return just the ids of every SeoScoredKeyword matching a filter — unpaginated, no keyword data attached. Housekeeping op — not part of the main flow. Accepts the same filter set as seo_list_keywords: source, intent, clusterId, q, hasTag, volumeMin/volumeMax, kdMin/kdMax, relevanceMin/relevanceMax, priorityMin/priorityMax, includeDeleted, excludedFromClustering. Use to select "all keywords matching filter X" in one call, then feed the returned ids into seo_bulk_delete_keywords or seo_bulk_edit_keywords. Example: filter relevanceMax=0.2 to find low-relevance keywords, then bulk-delete or bulk-edit them. Or hasTag="geo:us-mn" to select every Minnesota-tagged keyword after seo_tag_geography.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Substring search over the keyword text | |
| kdMax | No | Maximum keyword difficulty (inclusive) | |
| kdMin | No | Minimum keyword difficulty (inclusive) | |
| hasTag | No | CSV of userTags to filter by (OR match), e.g. "geo:us-mn" or "geo:us-mn,geo:us-tx" | |
| intent | No | CSV of search-intent labels to filter by (informational, commercial, navigational, transactional) | |
| source | No | CSV of keyword sources to filter by (e.g. "seed,expanded") | |
| brandId | No | Brand ID (defaults to active brand) | |
| clusterId | No | Filter by cluster ID, or "none" for unclustered, or "any" for any clustered keyword | |
| volumeMax | No | Maximum search volume (inclusive) | |
| volumeMin | No | Minimum search volume (inclusive) | |
| priorityMax | No | Maximum priority score in [0,1] (inclusive) | |
| priorityMin | No | Minimum priority score in [0,1] (inclusive) | |
| relevanceMax | No | Maximum relevance score in [0,1] (inclusive) | |
| relevanceMin | No | Minimum relevance score in [0,1] (inclusive) | |
| includeDeleted | No | Include soft-deleted keywords (default: excluded) | |
| excludedFromClustering | No | Filter to keywords with this excludedFromClustering value |