--- title: metadata layout: command version: 0.59.0 --- Get the metadata for items in the stream ## Signature ```> metadata (expression)``` ## Parameters - `expression`: the expression you want metadata for ## Examples Get the metadata of a variable ```shell > metadata $a ``` Get the metadata of the input ```shell > ls | metadata ```