Security Attack discovery API
Update Attack Discovery schedule
Spaces method and path for this operation:
<div><span class="operation-verb put">put</span> <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
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
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"
}
}
}