Save a page group or keyword cluster
Save a page group or keyword cluster for a site's Search Console data, as a new segment at version 1 or, with id and expected_version, as the next version of one (any change of name, rules or priority is a new version and expires the gsc_table_get cursors read under the old one). Save only what your human asked for; preview the rules first with gsc_segments_preview. Rules past the limits (5 conditions, 50 values in total, RE2 patterns) are VALIDATION_FAILED naming what, as is a name another segment of the same dimension holds; at most 100 of a role per site. A version written since is VERSION_CONFLICT. A new version reads the segment through site first (search:read): another site's is NOT_FOUND. Paid (segments): on a site that is not paid for, BILLING_REQUIRED.
Request
- Base URL: https://frontshelf.io/api
- URL: https://frontshelf.io/api/v1/sites/{site}/search/segments
- Auth: HTTP bearer
Path parameters
Site ID (site_…), origin (https://example.com), or bare domain, resolved server-side; the response carries the canonical ID.
Request body
Response
Save a page group or keyword cluster
Changes
No recorded changes to this operation across all 1 revision of this API.