Assertion Rules Glossary
17 assertion rules you can test against any URL with the SEODiff Agentic Evaluation API. Each rule is a building block — combine them to create custom quality gates for your pSEO, CI/CD, or AI agent workflows.
Use these assertions with POST /api/v1/agent/evaluate. Pass an array of URLs and rules — SEODiff evaluates them all and returns a pass/fail verdict. Full API docs →
no_placeholders
Find template variables like {{city}} or [TBD] that leaked into production HTML.
has_schema
Ensure every page has valid JSON-LD schema markup for rich results.
selector_count
Verify a minimum number of matching elements on each page.
integer (minimum match count)has_h1
Ensure every page has exactly one H1 heading tag.
has_meta_description
Ensure every page has a non-empty meta description tag.
no_noindex
Ensure pages are indexable and don't have stray noindex directives.
max_js_ghost_ratio
Flag pages where content is rendered client-side and invisible to crawlers.
float 0–1