Skip to main content

Overview

Tags are predefined classification labels applied to articles and requirements. They enable cross-framework filtering by topic — for example, finding all content related to "data-breach" across GDPR, NIS2, and the CRA.

Methods

list()

Returns a page of all tags.
Parameters
ParameterTypeDefaultDescription
pageint1Page number
per_pageint20Items per page (1–100)
Returns Page[Tag]

get()

Fetch a single tag by its slug.
Parameters
ParameterTypeDescription
slugstrTag slug, e.g. "data-breach"
Returns Tag

iter()

Iterate over all tags.
Returns Iterator[Tag]

Model

Tag

FieldTypeDescription
idintInternal numeric ID
slugstrURL-safe identifier, e.g. "data-breach"
namestrHuman-readable label
descriptionstr | NoneWhat this tag covers
keywordslist[str]Keywords used to auto-tag content
colorstr | NoneHex color code for UI display
created_atstrISO 8601 creation timestamp

Examples

Look up a tag’s keywords

Find all articles tagged with a given label

Build a tag index across all frameworks

Tag slugs are stable — safe to hardcode in application logic or store in databases as foreign keys.