List Split Jobs
client.Beta.Split.List(ctx, query) (*PaginatedCursor[BetaSplitListResponse], error)
GET/api/v1/beta/split/jobs
List Split Jobs
package main
import (
"context"
"fmt"
"github.com/stainless-sdks/llamacloud-prod-go"
"github.com/stainless-sdks/llamacloud-prod-go/option"
)
func main() {
client := llamacloudprod.NewClient(
option.WithAPIKey("My API Key"),
)
page, err := client.Beta.Split.List(context.TODO(), llamacloudprod.BetaSplitListParams{
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", page)
}
{
"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
}