Actions178
- Drive Actions
- Drive > Activity Actions
- Drive > Activity > Report Actions
- Drive > Files Actions
- Drive > Files > Action Actions
- Drive > Files > Archive Actions
- Drive > Files > Category Actions
- Drive > Files > Category > Right Actions
- Drive > Files > Dropbox Actions
- Drive > Files > External Import Actions
- Drive > Files > Favorite Actions
- Drive > Files > File/Directory Actions
- Drive > Files > File/Directory > Access Actions
- Drive > Files > File/Directory > Access > Invitation Actions
- Drive > Files > File/Directory > Access > Request Actions
- Drive > Files > File/Directory > Access > Teams Actions
- Drive > Files > File/Directory > Access > Users Actions
- Drive > Files > File/Directory > Comment Actions
- Drive > Files > File/Directory > Upload Actions
- Drive > Files > File/Directory > Upload > Session Actions
- Drive > Files > File/Directory > Version Actions
- Drive > Files > Search Actions
- Drive > Files > Share Link > Archive Actions
- Drive > Files > Share Link > Manage Actions
- Drive > Files > Trash Actions
- Drive > Invitations Actions
- Drive > Settings Actions
- Drive > Statistics Actions
- Drive > Users Actions
- Others Actions
- Users Actions
Drive > Files > File/Directory → Count Element In Directory
AI-generatedSummary
Counts elements within a specified Infomaniak Kdrive directory.
Inputs
- authentication — Authentication method to use for the Infomaniak API call. Defaults to OAuth2 if not specified. Select 'API Key' to use static API key authentication instead.
- path_drive_id (required) — Unique identifier of the Infomaniak Kdrive. Must be provided as a numeric value; default is 0 when not set.
- path_file_id (required) — Identifier of the target directory/file within the drive. Must be provided as a numeric value; default is 0 when not set.
- queryParameters — Optional additional query parameters to append to the API request. Supports a 'depth' parameter with values 'folder' (count only immediate children) or 'unlimited' (recursive count). Default is an empty object.
- returnFullResponse — Boolean flag indicating whether the full API response should be returned as n8n items. When enabled, the raw response body is passed through; otherwise, only the structured count result is returned. Defaults to false.
Output shape
The operation does not declare a specific return shape in the provided source or properties. Use the returnFullResponse parameter to control whether the complete API payload is emitted as n8n items or if only the count result is passed through.
Both
path_drive_idandpath_file_idare marked as required for this operation. ThequeryParameterscollection allows optional depth control viaquery_depth(folder vs unlimited). All parameter defaults and option values are as declared in the node's UI properties.