# Sky flats **GET /flats/skyflat** Start capturing sky flats. This requires the camera and mount to be connected. 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 - **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 - **dither** (boolean) Whether to dither the flats - **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 ## 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)