v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
Security Attack discovery API

Create Attack Discovery schedule

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/attack_discovery/schedules</span></div>

Refer to Spaces for more information.

Creates a new Attack Discovery schedule that analyzes security alerts at specified intervals. The schedule defines when and how Attack Discovery analysis should run, including which alerts to analyze, which AI connector to use, and what actions to take when discoveries are found.

post/api/attack_discovery/schedules

Request body

enabledboolean

Indicates whether the schedule is enabled

namestring required

The name of the schedule

Example request

{
  "actions": [
    {
      "frequency": {
        "throttle": "1h"
      },
      "uuid": "I am a string"
    }
  ],
  "params": {
    "api_config": {
      "actionTypeId": "actionType456",
      "connectorId": "connector123",
      "defaultSystemPromptId": "systemPrompt001",
      "model": "gpt-4",
      "provider": "OpenAI"
    }
  }
}

Response

The Attack Discovery schedule was successfully created.

created_atstring date-time required

The date the schedule was created

created_bystring required

The name of the user that created the schedule

enabledboolean required

Indicates whether the schedule is enabled

idstring required

UUID of Attack Discovery schedule

namestring required

The name of the schedule

updated_atstring date-time required

The date the schedule was updated

updated_bystring required

The name of the user that updated the schedule

Example response

{
  "actions": [
    {
      "frequency": {
        "throttle": "1h"
      },
      "uuid": "I am a string"
    }
  ],
  "params": {
    "api_config": {
      "actionTypeId": "actionType456",
      "connectorId": "connector123",
      "defaultSystemPromptId": "systemPrompt001",
      "model": "gpt-4",
      "provider": "OpenAI"
    }
  }
}