List Spreadsheet Jobs
client.Beta.Sheets.List(ctx, query) (*PaginatedCursor[SheetsJob], error)
GET/api/v1/beta/sheets/jobs
List spreadsheet parsing jobs. Experimental: This endpoint is not yet ready for production use and is subject to change at any time.
List Spreadsheet 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.Sheets.List(context.TODO(), llamacloudprod.BetaSheetListParams{
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", page)
}
{
"items": [
{
"id": "id",
"config": {
"extraction_range": "extraction_range",
"flatten_hierarchical_tables": true,
"generate_additional_metadata": true,
"include_hidden_cells": true,
"sheet_names": [
"string"
],
"specialization": "specialization",
"table_merge_sensitivity": "strong",
"use_experimental_processing": true
},
"created_at": "created_at",
"file_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"status": "PENDING",
"updated_at": "updated_at",
"user_id": "user_id",
"errors": [
"string"
],
"file": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"name": "x",
"project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created_at": "2019-12-27T18:11:19.117Z",
"data_source_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"expires_at": "2019-12-27T18:11:19.117Z",
"external_file_id": "external_file_id",
"file_size": 0,
"file_type": "x",
"last_modified_at": "2019-12-27T18:11:19.117Z",
"permission_info": {
"foo": {
"foo": "bar"
}
},
"purpose": "purpose",
"resource_info": {
"foo": {
"foo": "bar"
}
},
"updated_at": "2019-12-27T18:11:19.117Z"
},
"regions": [
{
"location": "location",
"region_type": "region_type",
"sheet_name": "sheet_name",
"description": "description",
"region_id": "region_id",
"title": "title"
}
],
"success": true,
"worksheet_metadata": [
{
"sheet_name": "sheet_name",
"description": "description",
"title": "title"
}
]
}
],
"next_page_token": "next_page_token",
"total_size": 0
}Returns Examples
{
"items": [
{
"id": "id",
"config": {
"extraction_range": "extraction_range",
"flatten_hierarchical_tables": true,
"generate_additional_metadata": true,
"include_hidden_cells": true,
"sheet_names": [
"string"
],
"specialization": "specialization",
"table_merge_sensitivity": "strong",
"use_experimental_processing": true
},
"created_at": "created_at",
"file_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"status": "PENDING",
"updated_at": "updated_at",
"user_id": "user_id",
"errors": [
"string"
],
"file": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"name": "x",
"project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created_at": "2019-12-27T18:11:19.117Z",
"data_source_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"expires_at": "2019-12-27T18:11:19.117Z",
"external_file_id": "external_file_id",
"file_size": 0,
"file_type": "x",
"last_modified_at": "2019-12-27T18:11:19.117Z",
"permission_info": {
"foo": {
"foo": "bar"
}
},
"purpose": "purpose",
"resource_info": {
"foo": {
"foo": "bar"
}
},
"updated_at": "2019-12-27T18:11:19.117Z"
},
"regions": [
{
"location": "location",
"region_type": "region_type",
"sheet_name": "sheet_name",
"description": "description",
"region_id": "region_id",
"title": "title"
}
],
"success": true,
"worksheet_metadata": [
{
"sheet_name": "sheet_name",
"description": "description",
"title": "title"
}
]
}
],
"next_page_token": "next_page_token",
"total_size": 0
}