Skip to content
Start here

Custom Topics

Get the AI Security for Apps custom topics of a zone.
GET/zones/{zone_id}/ai-security/custom-topics
Update the AI Security for Apps custom topics of a zone.
PUT/zones/{zone_id}/ai-security/custom-topics
ModelsExpand Collapse
CustomTopicGetResponse object { topics }
topics: optional array of object { label, topic }

Custom topic categories for AI Security for Apps content detection.

label: string

Unique label identifier. Must contain only lowercase letters (a–z), digits (0–9), and hyphens.

maxLength20
minLength2
topic: string

Description of the topic category. Must contain 2–50 UTF-8 bytes. Text in any language is supported, including spaces, numbers, punctuation, and symbols. Tabs, line breaks, invalid text, and invisible formatting characters are not allowed.

CustomTopicUpdateResponse object { topics }
topics: optional array of object { label, topic }

Custom topic categories for AI Security for Apps content detection.

label: string

Unique label identifier. Must contain only lowercase letters (a–z), digits (0–9), and hyphens.

maxLength20
minLength2
topic: string

Description of the topic category. Must contain 2–50 UTF-8 bytes. Text in any language is supported, including spaces, numbers, punctuation, and symbols. Tabs, line breaks, invalid text, and invisible formatting characters are not allowed.