You are looking at preliminary documentation for a future release. Not what you want? See the current release documentation.
response = client.get_script( id: 'my-stored-script' ) puts response
If the Elasticsearch security features are enabled, you must have the
managecluster privilege to use this API.
- (Required, string) Identifier for the stored script or search template.