v53

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

Update Attack Discovery schedule

Spaces method and path for this operation:

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

Refer to Spaces for more information.

Updates an existing Attack Discovery schedule with new configuration. All schedule properties can be modified including name, parameters, interval, and actions. The update operation replaces the entire schedule configuration with the provided values.

put/api/attack_discovery/schedules/{id}

Path parameters

idstring nonempty required

A string that does not contain only whitespace characters.

Example:I am a string

The unique identifier (UUID) of the Attack Discovery schedule to update. This ID is returned when creating a schedule and can be found in schedule listings.

Request body

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

Successfully updated Attack Discovery schedule with the new configuration and metadata

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"
    }
  }
}