API ReferenceSplitting
Get Splits
List all split operations for a splitter
GET
/api/v1/split/{splitterId}/splitsLists all split operations for a given splitter with pagination and filtering support.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
splitterId | string | path | Yes | The splitter ID |
page | integer | query | No | Page number(default: 1) |
limit | integer | query | No | Results per page (1-500)(default: 100) |
status | string | query | No | Filter by status: PROCESSING, COMPLETED, or FAILED |
order | string | query | No | Sort order: asc or desc(default: desc) |
Request
const res = await fetch(
"https://app.limai.io/api/v1/split/spl_abc123/splits?page=1&limit=50&status=COMPLETED",
{
headers: {
Authorization: "Bearer YOUR_API_TOKEN",
},
}
);
const { data, pagination } = await res.json();Response
Response200
{
"data": [
{
"splitId": "split_001",
"status": "COMPLETED",
"sourceFileName": "batch.pdf",
"segmentCount": 5,
"createdAt": "2025-01-15T10:30:00.000Z"
}
],
"pagination": {
"currentPage": 1,
"limit": 50,
"totalPages": 1,
"totalSplits": 1
}
}