About this endpoint
What it does
Splits each uploaded Excel file into separate workbooks based on the values found in a chosen column on a chosen sheet. The response returns a batch identifier and a list of child jobs created for the split operation.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| files | String Array | Yes | Excel files to split. Accepted file types: .xlsx, .xlsm. |
| sheet_index | String Array | No | Sheet number per uploaded file, 1-based. Provide one value per file. |
| target_column_index | String Array | No | Column number to split by per uploaded file, 1-based. Provide one value per file. |
Response
Returns a JSON object with a required batch_id string field and a required jobs array field. Each item in jobs is an object describing a child job, including job_id, filename, status, progress, and, when present, batch_id, sheet_index, and target_column_index.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| batch_id | String | Yes | Parent batch id for the split operation. |
| jobs | Object Array | Yes | Child jobs created for the batch. Each item includes job_id, filename, status, and progress, and may also include batch_id, sheet_index, and target_column_index. |
| jobs[].job_id | String | Yes | Identifier of the child job. |
| jobs[].filename | String | Yes | Filename associated with the child job. |
| jobs[].status | String | Yes | Status of the child job. |
| jobs[].progress | Integer | Yes | Progress value for the child job. |
| jobs[].batch_id | String | No | Parent batch id this child belongs to. |
| jobs[].sheet_index | Integer | No | Sheet index used for the source file, 1-based. |
| jobs[].target_column_index | Integer | No | Target column index used to split the file, 1-based. |