# Run multiple UAPI functions in order This function combines calls for multiple UAPI functions and performs them in order. * If a function call in the list fails, the function does not run further function calls in the list. * Due to the potential length of calls of this function, we recommend that you use the HTTP POST method for extremely long batch commands. Endpoint: GET /Batch/strict Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `command` (array, required) A UAPI function call, encoded as a JSON array with two or three items: * The UAPI module. * The UAPI function. * A JSON object containing the parameters to pass to this function. You can omit this value if you do not pass any parameters to the function. To submit multiple commands, duplicate the parameter name, or index all parameter names and increment the index for each one. * When using the cPanel LiveAPI PHP Library, you increment the parameter name when you submit the arguments in an associative array. For example: use , , and . * When using the cPanel LiveAPI Perl Library, you increment the parameter name when you submit the arguments in a hash. For example: use , , and . * You do need to add an index to parameters for query string calls of this function. ## Response 200 fields (application/json): - `apiversion` (integer) The version of the API. Example: 3 - `func` (string) The name of the method called. Example: "strict" - `module` (string) The name of the module called. Example: "Batch" - `result` (object) - `result.data` (array) An array of objects that contain function output. Each object contains the output data and metadata from one of the parameter's functions. For more information about UAPI return data and metadata, read our [UAPI - Return Data](https://go.cpanel.net/UAPIReturnData) documentation. Example: [{"data":{"strength":65},"errors":null,"messages":null,"metadata":{},"status":1,"warnings":null},{"data":{"port":22},"errors":null,"messages":null,"metadata":{},"status":1,"warnings":null}] - `result.data.data` (object) The data returned by an individual UAPI call invoked through this call. - `result.data.errors` (array,null) List of errors if the API failed. - `result.data.messages` (array,null) List of messages generated by the API. - `result.data.metadata` (object) - `result.data.metadata.transformed` (integer) Post-processing may have transformed the data. Enum: 1 - `result.data.status` (integer) - 1 - Success - 0 - Failed: Check the errors field for more details. Enum: 0, 1 - `result.data.warnings` (array,null) List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running an API.