Retrieve the status of detection alert migrations Deprecated

View as Markdown
POST /api/detection_engine/signals/migration_status

Spaces method and path for this operation:

post /s/{space_id}/api/detection_engine/signals/migration_status

Refer to Spaces for more information.

Retrieve indices that contain detection alerts of a particular age, along with migration information for each of those indices.

Query parameters

  • from string(date-math) Required

    Maximum age of qualifying detection alerts

Responses

  • 200 application/json

    Successful response

    Hide response attribute Show response attribute object
    • indices array[object] Required
      Hide indices attributes Show indices attributes object
      • index string(nonempty) Required

        A string that does not contain only whitespace characters

        Minimum length is 1.

      • is_outdated boolean Required
      • migrations array[object] Required
        Hide migrations attributes Show migrations attributes object
        • id string(nonempty) Required

          A string that does not contain only whitespace characters

          Minimum length is 1.

        • status string Required

          Values are success, failure, or pending.

        • updated string(date-time) Required
        • version integer Required
      • signal_versions array[object] Required
        Hide signal_versions attributes Show signal_versions attributes object
        • count integer Required
        • version integer Required
      • version integer Required
  • 400 application/json

    Invalid input data response

    One of:
  • 401 application/json

    Unsuccessful authentication response

    Hide response attributes Show response attributes object
    • error string Required
    • message string Required
    • statusCode integer Required
  • 500 application/json

    Internal server error response

    Hide response attributes Show response attributes object
    • message string Required
    • status_code integer Required
POST /api/detection_engine/signals/migration_status
curl \
 --request POST 'https://localhost:5601/api/detection_engine/signals/migration_status?from=string' \
 --header "Authorization: $API_KEY"