Documentation
Everything you need to deploy DataSec, configure detection rules, and integrate the API.
Quick start
Most customers are in monitor mode within 48 hours. Start with CDN integration — no origin server changes required.
# 1. Add your domain
curl -X POST https://api.datasec.sh/v1/domains \
-H "Authorization: Bearer $DS_API_KEY" \
-d '{"domain": "yoursite.com", "mode": "monitor"}'
# 2. Update your DNS CNAME to route through DataSec
yoursite.com CNAME edge.datasec.sh
# 3. Check detection events
curl https://api.datasec.sh/v1/events?domain=yoursite.com \
-H "Authorization: Bearer $DS_API_KEY"
Getting Started
Quick Start Guide
Deploy DataSec in 15 minutes with our CDN integration.
How It Works
Understand the detection pipeline before integrating.
Proof of Concept Setup
Configure monitor-only mode to evaluate before blocking.
Integration
CDN Integration
Route traffic through DataSec at the edge layer.
Nginx / Apache Module
Reverse proxy integration for self-hosted setups.
REST API Reference
Full API documentation for programmatic control.
Mobile SDK (iOS / Android)
Add device attestation to native app traffic.
Configuration
Detection Rules
Configure per-threat-type detection sensitivity.
Allowlist & Blocklist
Manage custom allow/block rules for bots and IPs.
Response Actions
Configure block, challenge, rate-limit, or honeypot responses.
AI Crawler Policy
Control access for GPTBot, ClaudeBot, and other AI crawlers.
API Reference
Authentication
API key setup and request signing.
Events API
Retrieve detection events and bot session data.
Rules API
Programmatically manage detection rules.
Reporting API
Export traffic and detection data for custom analytics.
Can't find what you need?
Talk to an engineer