> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# /show/files

```
URL: http://<db.host>:<db.port>/show/files
```

Shows information about files in [KiFS](../../tools/kifs/). Can be used
for individual files, or to show all files in a given directory.

## Input Parameter Description

<ParamField body="paths" type="array of strings">
  File paths to show. Each path can be a KiFS directory name, or a full path to a KiFS file. File paths may contain wildcard characters after the KiFS directory delimiter.

  Accepted wildcard characters are asterisk (\*) to represent any string of zero or more characters, and question mark (?) to indicate a single character.
</ParamField>

<ParamField body="options" type="map of string to strings">
  Optional parameters.

  The default value is an empty map ( \{} ).
</ParamField>

## Output Parameter Description

The Kinetica server embeds the endpoint response inside a standard response structure which contains status information and the actual response to the query.  Here is a description of the various fields of the wrapper:

<ResponseField name="status" type="String">
  'OK' or 'ERROR'
</ResponseField>

<ResponseField name="message" type="String">
  Empty if success or an error message
</ResponseField>

<ResponseField name="data_type" type="String">
  'show\_files\_response' or 'none' in case of an error
</ResponseField>

<ResponseField name="data" type="String">
  Empty string
</ResponseField>

<ResponseField name="data_str" type="JSON or String">
  This embedded JSON represents the result of the /show/files endpoint:

  <Expandable title="data_str">
    <ResponseField name="file_names" type="array of strings">
      A listing of files in the paths specified.
    </ResponseField>

    <ResponseField name="sizes" type="array of longs">
      Size of each file, in bytes.
    </ResponseField>

    <ResponseField name="users" type="array of strings">
      User that created the file.
    </ResponseField>

    <ResponseField name="creation_times" type="array of longs">
      Creation time for each file, in milliseconds since epoch.
    </ResponseField>

    <ResponseField name="info" type="map of string to strings">
      Additional information.

      <Expandable title="info">
        <ResponseField name="multipart_uploads">
          JSON-encoded information about multipart uploads in progress.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>

  Empty string in case of an error.
</ResponseField>
