Copy a saved query

Server: https://{kibana_url}
  • POST /api/osquery/saved_queries/{id}/copy
  • POST /s/{space_id}/api/osquery/saved_queries/{id}/copy

Refer to Spaces for more information.

Create a copy of a saved query with a unique name by appending a _copy suffix. If the name already exists, a numeric suffix is added (e.g., _copy_2).

Path Parameters

id string required

The ID of the saved query to copy.

Response