Type to search.

Get the latest Attack Discovery generations metadata for the current user

Base URL
https://{kibana_url}
  • GET /api/attack_discovery/generations
  • GET /s/{space_id}/api/attack_discovery/generations
Auth

Get the latest Attack Discovery generations metadata (that are not dismissed) for the current user. This endpoint retrieves generation metadata including execution status and statistics for Attack Discovery generations.

Path parameters

space_id string optional

An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.

Query parameters

end string

End of the time range for filtering generations. Accepts absolute timestamps (ISO 8601) or relative date math (e.g. "now", "now-24h").

Example: now
size number · min: 1 · default: 50

The maximum number of generations to retrieve

scheduled boolean

Whether to filter by scheduled or ad-hoc attack discovery generations. If omitted, both types are returned. Use true to return only scheduled generations or false to return only ad-hoc (interactive or action-triggered) generations.

start string

Start of the time range for filtering generations. Accepts absolute timestamps (ISO 8601) or relative date math (e.g. "now-7d").

Example: now-24h

Responses

Indicates a successful call.

application/json
generations object[] required

List of Attack Discovery generations

alerts_context_count number

The number of alerts sent as context (max kibana.alert.rule.execution.metrics.alert_counts.active) to the LLM for the generation

connector_id string required

The connector id (event.dataset) for this generation

conversation_id string

Identifier of the persisted Agent Builder conversation for skill-based alert retrieval (optional; present only when the skill retrieval mode ran)

discoveries number required

The number of new Attack discovery alerts (max kibana.alert.rule.execution.metrics.alert_counts.new) for this generation

duplicates_dropped_count integer

The number of attack discoveries dropped as duplicates during the persist step

end string

When generation ended (max event.end)

error_category string

Structured error category from server classification (optional; absent for successful generations)

execution_uuid string required

The unique identifier (kibana.alert.rule.execution.uuid) for the generation

failed_workflow_id string

Workflow ID that caused the failure (optional; absent for successful generations)

generated_count integer

The number of attack discoveries generated before deduplication and hallucination filtering

hallucinations_filtered_count integer

The number of attack discoveries filtered as hallucinations during the validation step

loading_message string

Generation loading message (kibana.alert.rule.execution.status)

persisted_count integer

The number of attack discoveries successfully persisted after deduplication and hallucination filtering

reason string

Reason for failed generations (event.reason)

start string required

When generation started (min event.start)

status enum required

The status of the attack discovery generation

Values: canceled dismissed failed started succeeded
step_event_actions string[]

Synthesized per-step lifecycle markers (e.g. step-start, step-complete, step-fail) derived from raw event.action values. The array is ordered by step sequence (alert retrieval, generation, validation), with each step contributing 0-2 tokens that indicate its execution status.

workflow_id string

The workflow definition ID for deep linking

workflow_run_id string

The workflow execution ID for monitoring