Skip to main content
POST
Create a scan

Authorizations

better-auth.session_token
string
cookie
required

Browser session cookie set by Better Auth sign-in.

Body

application/json
target
string
required
Minimum string length: 1
name
string
Minimum string length: 1
scanType
string
default:full
workflowSteps
object[]
scope
object[]
scheduleType
enum<string>
default:now
Available options:
now,
once,
recurring
runAt
string
cron
string
recurringInterval
enum<string>
Available options:
daily,
weekly,
monthly,
every_n_days,
custom
intervalDays
integer
Required range: x <= 9007199254740991
jsMonitoring
object
metadata
object
mode
enum<string>
default:pipeline
Available options:
pipeline,
hackbot

Response