GET
/_scripts/{id}
Console
GET _scripts/my-search-template
resp = client.get_script(
id="my-search-template",
)
const response = await client.getScript({
id: "my-search-template",
});
response = client.get_script(
id: "my-search-template"
)
$resp = $client->getScript([
"id" => "my-search-template",
]);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_scripts/my-search-template"