Skip to main content

List schedules

curl -X GET "https://app.strix.ai/api/v1/schedules" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>"
Required scope: schedules:read

Create a schedule

Requires cron_expression, timezone, and at least one target (domain_ids or repository_ids).
curl -X POST "https://app.strix.ai/api/v1/schedules" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Weekly production pentest",
    "cron_expression": "0 9 * * 1",
    "timezone": "America/New_York",
    "domain_ids": ["<DOMAIN_ID>"],
    "also_run_now": false
  }'
Required scope: schedules:write

Get schedule detail

curl -X GET "https://app.strix.ai/api/v1/schedules/<SCHEDULE_ID>" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>"
Required scope: schedules:read

Pause a schedule

curl -X PATCH "https://app.strix.ai/api/v1/schedules/<SCHEDULE_ID>" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"action": "pause"}'
To resume, use {"action": "resume"}. You can also update the schedule configuration (name, cron_expression, timezone, targets) in the same PATCH request. Required scope: schedules:write

Delete a schedule

curl -X DELETE "https://app.strix.ai/api/v1/schedules/<SCHEDULE_ID>" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>"
Required scope: schedules:write

Trigger a schedule immediately

Run a scheduled pentest configuration right now without waiting for the next cron interval:
curl -X POST "https://app.strix.ai/api/v1/schedules/<SCHEDULE_ID>/trigger" \
  -H "Authorization: Bearer <YOUR_API_TOKEN>"
Required scope: schedules:write