UiPath Documentation
activities
latest
false
Integration Service activities

Get File Info

Get File Info activity in the Databricks connector.

Project compatibility​

Windows | Cross-platform

Overview​

DescriptionAPI MethodAPI Path
Retrieve the metadata of a single file in a Databricks Unity Catalog volume, without downloading its contents.GET/fs/file_info/{catalog}/{schema}/{volume}/{file_name}

Input​

ParameterDescriptionData Type
File Name *Path of the file inside the volume, relative to the volume root. For example, reports/orders.csv.string
Volume *Name of the Unity Catalog volume. For example, my_volume.string
Catalog *Name of the Unity Catalog catalog that contains the volume. For example, workspace.string
Schema *Name of the schema that contains the volume. For example, default.string

* Required parameter.

Output​

ParameterDescriptionData Type
File NameName of the file whose metadata was retrievedstring
Content LengthSize of the file in bytes, from the Content-Length response headerinteger
Content TypeMIME type of the file, from the Content-Type response headerstring
Last ModifiedTimestamp the file was last modified, from the Last-Modified response headerstring
CatalogUnity Catalog catalog containing the volumestring
SchemaUnity Catalog schema containing the volumestring
VolumeUnity Catalog volume containing the filestring
Note:

You might see variations in the output depending on where you run the activity. In API workflows and Maestro Flow, a single response object containing all the fields is returned. In RPA workflows, not all fields are exposed, but you can still retrieve them from the exposed response object.

  • Project compatibility​
  • Overview​
  • Input​
  • Output​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated