CloudConvert icon

CloudConvert

Use CloudConvert to convert files, create thumbnails, merge files, add watermarks and more!

Metadata → Get Metadata

AI-generated

Summary

Extract metadata from a file by uploading it to CloudConvert and retrieving its metadata information.

Inputs

  • Authentication — Choose between OAuth2 (recommended) or API Key authentication methods.
  • Binary Input Data — Toggle to indicate if the input file is taken from a binary field in the incoming data (default: true).
  • Input Binary Property Name (required) — Specify the name of the binary property that contains the file data when using binary input.
  • Input File Contents (required) — Provide the text content of the file when not using binary input.
  • Input File Name (required) — Specify the input filename including its extension when not using binary input.

Output shape

a list of items each containing JSON metadata extracted from the input files

Each output item corresponds to an input item. The metadata is available in the JSON body of the output item. No binary output is returned for this operation.

Examples

Example 1: Extract metadata from a PDF file provided as binary data

Set authentication method, ensure Binary Input Data is true and provide the binary property name containing the file.

Example 2: Extract metadata from a text file content

Set authentication method, disable Binary Input Data, provide the file contents and input filename manually.

Links

Discussion