Get File Data
AI-generatedSummary
Fetches file data from the Fox File API using a specified file ID.
Inputs
- fileId (required) — The ID of the file whose data you want to retrieve.
- outputKey (required) — The name of the binary key to which the file data will be copied, supporting dot-notation for nested keys.
Output shape
a binary file containing the requested file data along with its metadata.
Includes the file ID, MIME type, and size. The data is stored in the specified binary key.
Examples
Example 1: Retrieve the binary data of a file and store it under the key 'myFileData' using fileId '12345'.
fileId: '12345', outputKey: 'myFileData'