--- title: "Export custom rules" slug: "export-custom-rules" tags: ["Reference"] updated: 2026-09-03T18:40:43Z published: 2026-09-03T18:40:43Z canonical: "docs.trellix.com/export-custom-rules" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Export custom rules ### API URL `<ips-api-base>/custom_rules/export` ### Sample curl request `curl -gsvk --header "$c" "https://<host>/wsapis/v2.0.0/ips/custom_rules/export"` ### Authentication Standard WSAPI authentication ### Method `GET` ### Response A simple text file which contains uploaded custom rules ### Response codes - 200 - no errors - 401 - auth error - 500 - internal error :