Extracted rules vs manual rules
Use extracted rules when your team maintains a Style Guide Markdown file as the source of truth. Use manual rules
for guidelines that live outside any Style Guide, or when you want to add or override individual rules without
uploading a new file.
End-to-end walkthrough
1. Create a Style Guide
Upload a Markdown file using the v2 endpoint with a Content Group ID. The API returns ajobId immediately and
processes the file asynchronously.
2. Poll the create job
status is COMPLETED. The result field contains the created Style Guide.
3. List extracted rules
After the job completes, list the rules that were extracted from the Style Guide. Filter bystyleGuideIds to
retrieve only rules from this guide.
styleGuide reference pointing back to the source:
4. Edit a rule
UsePATCH /api/v1/rules/{id} to update a rule. Only fields present (non-null) in the request body are applied —
omit a field to leave it unchanged.
forceUnlink: true to confirm the unlink and apply the change:
active or aiCheckEnabled, or resubmitting the same scope the rule already has) never unlink the rule,
so forceUnlink is not required for them.
Creating a manual rule
allContentGroups and allLanguages to true and omit
contentGroupIds and languages:
Filtering rules
ThePOST /api/v1/rules/search endpoint supports several filters that can be combined:
Example — find all active rules for the
marketing Content Group in English:
Disabling a rule for AI checks
SetaiCheckEnabled: false to keep a rule in the Style Guide record without using it for AI-powered Quality checks.
This is useful for rules that are aspirational or under review.
"aiCheckEnabled": true.
Deleting a rule
DELETE /api/v1/rules/{id} permanently removes a rule. This does not affect the source Style Guide or any other
extracted rules.
204 No Content.