Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Files > File/Directory → Get File/Directory

AI-generated

Summary

Fetch a file or directory from Infomaniak Kdrive.

Inputs

  • authentication — Authentication method for the Infomaniak API. Defaults to OAuth2; API Key is also supported.
  • path_drive_id (required) — Identifier of the drive containing the file or directory.
  • path_file_id (required) — Identifier of the file or directory to retrieve.
  • queryParameters — Optional query parameters to include in the API request. Currently supports a single optional parameter query_with for loading additional resource data.
  • returnFullResponse — If true, returns the complete API response without item extraction. If false (default), the response is processed into n8n items for further workflow use.

Output shape

File or directory metadata from Infomaniak Kdrive. When returnFullResponse is false, the result is formatted as n8n items; otherwise, the raw API response is returned.

The operation makes a GET request to the Infomaniak Kdrive API using the provided drive and file/directory identifiers. Authentication is handled via the selected method (OAuth2 or API Key). Additional data about the resource may be loaded via the optional query_with parameter.

Examples

Example 1: Retrieve a file from a specific drive using OAuth2 authentication.

Set authentication to OAuth2, provide the drive ID and file ID. Leave queryParameters empty and returnFullResponse as false for standard n8n item output.

Links

Discussion