Get a script or search template

GET /_scripts/{id}

Retrieves a stored script or search template.

Path parameters

  • id string Required

    Identifier for the stored script or search template.

Query parameters

Responses

GET /_scripts/{id}
curl \
 -X GET http://api.example.com/_scripts/{id}