Skip to main content
POST
Start network scan (async)

授权

Authorization
string
header
必填

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

请求体

application/json
subnet
string
示例:

"192.168.1.0/24"

target_ips
string[]
exclude_ips
string[]
timeout_seconds
integer
默认值:30
max_concurrent
integer
默认值:50
profile
enum<string>
默认值:passive
可用选项:
passive,
active

响应

200 - application/json

Scan started

scan_id
string
status
enum<string>
可用选项:
running,
completed,
cancelled,
failed
profile
string
subnet
string
target_ips
string[]
exclude_ips
string[]
devices
object[]
started_at
string<date-time>
progress
object