Tags
A tag is a named collection of domains. Domains can belong to many tags, and a tag can contain many domains.
Tags are the shared grouping concept for:
- selecting domains for a batch with
from_tag - labeling domains and resulting runs with
tags - filtering domains, runs, and entries
- backing public analysis cohorts
- choosing a default stored profile for tagged work
Membership
Adding domains to a tag creates missing domain records and links existing records without duplication.
gonemaster-client tags create tld --description "Top-level domains"
gonemaster-client tags add-domains tld --file tlds.txtOther input forms:
cat tlds.txt | gonemaster-client tags add-domains tld --stdin
gonemaster-client tags add-domains municipalities-se stockholm.se malmo.se goteborg.seDeleting a tag removes the memberships. It does not delete domains, runs, entries, batches, or cohort snapshots.
Batch Use
from_tag selects input domains:
gonemaster-client jobs batch --from-tag tld --wait--tag applies tags to the submitted domains and resulting runs:
gonemaster-client jobs batch --file domains.txt --tag tld --waitFor a normal rerun of a tag, use both:
gonemaster-client jobs batch --from-tag tld --tag tld --waitThat command reads domains from the current tld membership and writes new run
records linked back to tld.
Queries
gonemaster-client tags list
gonemaster-client tags domains tld
gonemaster-client tags summary tld
gonemaster-client domains list --tag tld --level ERROR
gonemaster-client entries query --tag tld --module DNSSEC --latestAdmin API equivalents:
GET /api/v1/tags
GET /api/v1/tags/tld/domains
GET /api/v1/tags/tld/summary
GET /api/v1/domains?tag=tld&level=ERROR
GET /api/v1/entries?tag=tld&module=DNSSEC&latest=trueDefault Profiles
A tag may have a default stored profile. Jobs and batches that use that tag can inherit the profile unless they explicitly choose another profile.
If multiple tags imply different default profiles, the server rejects the ambiguous request and asks the caller to choose a profile explicitly.
API entry points:
PUT /api/v1/tags/{name}/profile
DELETE /api/v1/tags/{name}/profileCohorts
A cohort is backed by one source tag. Changing tag membership affects future cohort rebuilds and future snapshot-intent batches. Captured snapshots remain immutable.
See cohorts.md and snapshots.md .
Batch History
The admin UI tag detail view can show earlier batches for a tag. This is the operator path for answering “what did we run for this tag recently?” and for opening batch deletion previews.
API entry point:
GET /api/v1/tags/{name}/batches