{"templateId":"api_docs","sharedDataIds":{"apiDocsStore":"api-docs-rest-v1.yaml","sidebar":"sidebar-sidebar.yaml__rest-v1"},"props":{"definitionId":"rest-v1.yaml","settings":{"baseUrlPath":"/help/audience/engineering/rest-v1"},"disableAutoScroll":true,"seo":{"title":"Add a custom detection","description":"Creates a custom detection from the name, detection logic and rules you send. The detection event type is derived from the name, returned in the response, and cannot be changed afterwards. Rules are evaluated in the order you send them, and the first rule that matches wins."},"dynamicMarkdocComponents":[],"metadata":{"subType":"openapi-operation"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"push-security-prd-ba8f0f76-a2d2-42f5-aea2-d421.redocly.app","port":4000,"ipAddress":"216.73.216.150"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"main"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/rest-v1/custom-detections/post-controls-customdetections","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}