PUT /zones/{zone_id}/ai-security/custom-topics

Update the custom topic list of the zone, overwriting it entirely with the topics in the request, so include every topic you want to keep. Changes can take up to a minute to propagate.

Each entry has a label, used to reference the topic in rule expressions and analytics, and a topic description, which the classifier scores prompts against while AI Security for Apps is enabled. The following rules apply:

Servers

Path parameters

Name Type Required Description
zone_id String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
topics[] Array No

Custom topic categories for AI Security for Apps content detection.

topics[].topic String Yes

Description of the topic category. Must contain only printable ASCII characters.

topics[].label String Yes

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

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.