EcoSys Gateway can be used to extract object data (records) from a published API into a local flat file. In this mode, the -out {output filename} option is required. The specified output file will be overwritten with all records returned by the given API call. If no objects are returned from the API, the output file will be empty.