---
schema_version: "1"
id: c1f0fa79c59978504f853263ef66be24f6bce38f8e9db60b3c72b33cfddb2bc8
title: ConnectApi.FetchFilesOutputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_fetch_files.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_fetch_files.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4f188e06f92c675304422026c2c20c6a222d98c51b05f403acfa7c255a8fc62e
description: Output representation returned by ConnectApi.OptimizationFiles.FetchOptimizationFiles(). Contains a map of the Content Version files created in the org for the optimization request.
---
# ConnectApi.FetchFilesOutputRepresentation

Output representation returned by ConnectApi.OptimizationFiles.FetchOptimizationFiles(). Contains a map of the Content Version files created in the org for the optimization request.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| createdFiles | [Map](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_map.htm#apex_methods_system_map "Contains methods for the Map collection type.")<String, [ConnectApi.CreatedFile](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_CreatedFileRepresentation.htm "Represents a single file created during a FetchOptimizationFiles operation. Contains the ID of the Content Version record created in the org and an indicator of whether the creation succeeded.")\> | A map of filenames to ConnectApi.CreatedFile objects. Each key is the name of a file associated with the optimization request, and each value describes the Content Version record created in the org for that file. | 66.0 |

#### See Also

- [FetchOptimizationFiles(fetchFilesInput)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_OptimizationFiles_static_methods.htm#apex_ConnectAPI_OptimizationFiles_FetchOptimizationFiles_1 "Fetch the files generated for an optimization request in Enhanced Scheduling and Optimization.")