v53

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

Finalize detection alert migrations

Spaces method and path for this operation:

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

Refer to Spaces for more information.

DEPRECATED. Completes a legacy alert index migration. Do not automate against this in new code. WARNING: Finalizing swaps read aliases; confirm the migration has finished successfully before calling.

Finalize successful migrations of detection alerts. This replaces the original index's alias with the successfully migrated index's alias. The endpoint is idempotent, so you can poll until a migration finishes and then call this operation once.

post/api/detection_engine/signals/finalize_migration

Request body

migration_idsstring[] required

Array of migration_ids to finalize.

Example request

{
  "migration_ids": [
    "924f7c50-505f-11eb-ae0a-3fa2e626a51d"
  ]
}

Response

Successful response

completedboolean required
destinationIndexstring required
idstring required
sourceIndexstring required
status'success' | 'failure' | 'pending' required
updatedstring date-time required
versionstring required