List Split Jobs
client.beta.split.list(SplitListParams { created_at_on_or_after, created_at_on_or_before, job_ids, 5 more } query?, RequestOptionsoptions?): PaginatedCursor<SplitListResponse { id, categories, document_input, 8 more } >
GET/api/v1/beta/split/jobs
List Split Jobs
import LlamaCloud from '@llamaindex/llama-cloud';
const client = new LlamaCloud({
apiKey: process.env['LLAMA_CLOUD_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const splitListResponse of client.beta.split.list()) {
console.log(splitListResponse.id);
}{
"items": [
{
"id": "id",
"categories": [
{
"name": "x",
"description": "x"
}
],
"document_input": {
"type": "type",
"value": "value"
},
"project_id": "project_id",
"status": "status",
"user_id": "user_id",
"configuration_id": "configuration_id",
"created_at": "2019-12-27T18:11:19.117Z",
"error_message": "error_message",
"result": {
"segments": [
{
"category": "category",
"confidence_category": "confidence_category",
"pages": [
0
]
}
]
},
"updated_at": "2019-12-27T18:11:19.117Z"
}
],
"next_page_token": "next_page_token",
"total_size": 0
}Returns Examples
{
"items": [
{
"id": "id",
"categories": [
{
"name": "x",
"description": "x"
}
],
"document_input": {
"type": "type",
"value": "value"
},
"project_id": "project_id",
"status": "status",
"user_id": "user_id",
"configuration_id": "configuration_id",
"created_at": "2019-12-27T18:11:19.117Z",
"error_message": "error_message",
"result": {
"segments": [
{
"category": "category",
"confidence_category": "confidence_category",
"pages": [
0
]
}
]
},
"updated_at": "2019-12-27T18:11:19.117Z"
}
],
"next_page_token": "next_page_token",
"total_size": 0
}