# Auto Exposure Flats **GET /flats/auto-exposure** Start capturing auto exposure flats. This requires the camera to be connected. NINA will pick the best exposure time for a fixed flat panel brightness. Any omitted parameter will default to the instruction default. ## Servers - V2 api server: http://localhost:1888/v2/api (V2 api server) ## Parameters ### Query parameters - **count** (integer) The number of flats to capture - **brightness** (number) The flat panel brightness - **minExposure** (number) The minimum exposure time to use for the flats, in seconds - **maxExposure** (number) The maximum exposure time to use for the flats, in seconds - **histogramMean** (number) The mean to use for the histogram - **meanTolerance** (number) The tolerance to use for the histogram - **filterId** (integer) The filter to use for the flats. The current filter will be used if this is not specified - **binning** (string) The binning to use for the flats - **gain** (integer) The gain to use for the flats. The camera gain will be used if this is not specified - **offset** (integer) The offset to use for the flats. The camera offset will be used if this is not specified - **keepClosed** (boolean) Whether to keep the flat panel closed after taking the flats ## Responses ### 200 Successful response #### Body: application/json (object) - **Response** (string) - **Error** (string) - **StatusCode** (integer) - **Success** (boolean) - **Type** (string) ### 400 Could not start the process #### Body: application/json (object) - **Response** (string | array[string]) - **Error** (string) - **StatusCode** (integer) - **Success** (boolean) - **Type** (string) ### 500 Internal server error, Unknown error #### Body: application/json (object) - **Response** (string) - **Error** (string) - **StatusCode** (integer) - **Success** (boolean) - **Type** (string) [Powered by Bump.sh](https://bump.sh)