Infomaniak Kchat icon

Infomaniak Kchat

Interact with Infomaniak Kchat API

Actions173

Files → Get Metadata For A File

AI-generated

Summary

Retrieve metadata for a specific file in an Infomaniak kChat team.

Inputs

  • authentication — Authentication method to use for the API request. Defaults to OAuth2 if not specified. Select 'OAuth2' or 'API Key'.
  • teamName (required) — Your kChat team name (the subdomain in https://.kchat.infomaniak.com). This is a mandatory parameter.
  • path_file_id (required) — The ID of the file info to retrieve metadata for.
  • returnFullResponse — If set to true, returns the full API response body. If false (default), returns extracted data relevant to the operation.

Output shape

object

Returns file metadata from the Infomaniak kChat API on success, or an error object if the request fails. The exact returned structure depends on the API response and the returnFullResponse setting.

Examples

Example 1: Basic metadata retrieval using OAuth2

authentication: OAuth2, teamName: my-team, path_file_id: abc123, returnFullResponse: false

Links

Discussion