Skip to main content

Create a scan schedule

POST 

/api/v1/projects/:project_id/schedules

Add a recurring scan schedule to the project.

  • Enum cadence only (weekly / biweekly / monthly + weekday / day-of-month + hour_utc); next_run_at is server-computed.
  • Validated against the assessment registry: a sourceless project cannot schedule a code audit (project_has_no_source); a black-box schedule requires configured blackbox_config target URLs.
  • Gated by the admission-only release_scheduled_scans flag (404 when off) — the same flag the materializer checks before creating runs. Existing schedules stay readable/editable when it flips off.
  • Scope required: projects:update + manager-or-above.
  • Archived projects reject the write (409).

Request

Responses

Successful Response