Skip to content
Framework Docs

Beta

BetaIndexes

Get Index
IndexGetResponse beta().indexes().get(IndexGetParamsparams = IndexGetParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/indexes/{index_id}
Delete Index
beta().indexes().delete(IndexDeleteParamsparams = IndexDeleteParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
DELETE/api/v1/indexes/{index_id}
Create Index
IndexCreateResponse beta().indexes().create(IndexCreateParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/indexes
Sync Index
JsonValue beta().indexes().sync(IndexSyncParamsparams = IndexSyncParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/indexes/{index_id}/sync
List Indexes
IndexListPage beta().indexes().list(IndexListParamsparams = IndexListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/indexes

BetaRetrieval

Retrieve
RetrievalRetrieveResponse beta().retrieval().retrieve(RetrievalRetrieveParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/retrieval/retrieve
Find Files
RetrievalFindPage beta().retrieval().find(RetrievalFindParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/retrieval/files/find
Grep File
RetrievalGrepPage beta().retrieval().grep(RetrievalGrepParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/retrieval/files/grep
Read File
RetrievalReadResponse beta().retrieval().read(RetrievalReadParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/retrieval/files/read

BetaChat

List Sessions
ChatListPage beta().chat().list(ChatListParamsparams = ChatListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/chat
Create Session
ChatCreateResponse beta().chat().create(ChatCreateParamsparams = ChatCreateParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/chat
Get Full Session
ChatRetrieveResponse beta().chat().retrieve(ChatRetrieveParamsparams = ChatRetrieveParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/chat/{session_id}
Delete Session
beta().chat().delete(ChatDeleteParamsparams = ChatDeleteParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
DELETE/api/v1/chat/{session_id}
Get Session Summary
ChatGetSummaryResponse beta().chat().getSummary(ChatGetSummaryParamsparams = ChatGetSummaryParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/chat/{session_id}/summary
Stream Messages
JsonValue beta().chat().stream(ChatStreamParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/chat/{session_id}/messages/stream

BetaAgent Data

Get Agent Data
AgentData beta().agentData().get(AgentDataGetParamsparams = AgentDataGetParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/beta/agent-data/{item_id}
Update Agent Data
AgentData beta().agentData().update(AgentDataUpdateParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
PUT/api/v1/beta/agent-data/{item_id}
Delete Agent Data
AgentDataDeleteResponse beta().agentData().delete(AgentDataDeleteParamsparams = AgentDataDeleteParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
DELETE/api/v1/beta/agent-data/{item_id}
Create Agent Data
AgentData beta().agentData().create(AgentDataCreateParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/beta/agent-data
Search Agent Data
AgentDataSearchPage beta().agentData().search(AgentDataSearchParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/beta/agent-data/:search
Aggregate Agent Data
AgentDataAggregatePage beta().agentData().aggregate(AgentDataAggregateParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/beta/agent-data/:aggregate
Delete Agent Data By Query
AgentDataDeleteByQueryResponse beta().agentData().deleteByQuery(AgentDataDeleteByQueryParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/beta/agent-data/:delete
ModelsExpand Collapse
class AgentData:

API Result for a single agent data item

Data data
String deploymentName
Optional<String> id
Optional<String> collection
Optional<LocalDateTime> createdAt
Optional<String> projectId
Optional<LocalDateTime> updatedAt

BetaSheets

Create Spreadsheet Job
SheetsJob beta().sheets().create(SheetCreateParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/beta/sheets/jobs
List Spreadsheet Jobs
SheetListPage beta().sheets().list(SheetListParamsparams = SheetListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/beta/sheets/jobs
Get Spreadsheet Job
SheetsJob beta().sheets().get(SheetGetParamsparams = SheetGetParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/beta/sheets/jobs/{spreadsheet_job_id}
Get Result Region
PresignedUrl beta().sheets().getResultTable(SheetGetResultTableParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/beta/sheets/jobs/{spreadsheet_job_id}/regions/{region_id}/result/{region_type}
Delete Spreadsheet Job
JsonValue beta().sheets().deleteJob(SheetDeleteJobParamsparams = SheetDeleteJobParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
DELETE/api/v1/beta/sheets/jobs/{spreadsheet_job_id}
ModelsExpand Collapse
class SheetsJob:

A spreadsheet parsing job.

String id

The ID of the job

SheetsParsingConfig configuration

Configuration applied to the parsing job (inline or resolved from a saved preset).

Optional<String> extractionRange

A1 notation of the range to extract a single region from. If None, the entire sheet is used.

Optional<Boolean> flattenHierarchicalTables

Return a flattened dataframe when a detected table is recognized as hierarchical.

Optional<Boolean> generateAdditionalMetadata

Whether to generate additional metadata (title, description) for each extracted region.

Optional<Boolean> includeHiddenCells

Whether to include hidden cells when extracting regions from the spreadsheet.

Optional<List<String>> sheetNames

The names of the sheets to extract regions from. If empty, all sheets will be processed.

Optional<String> specialization

Optional specialization mode for domain-specific extraction. Supported values: ‘financial-standard’, ‘financial-enhanced’, ‘financial-precise’. Default None uses the general-purpose pipeline.

Optional<TableMergeSensitivity> tableMergeSensitivity

Influences how likely similar-looking regions are merged into a single table. Useful for spreadsheets that either have sparse tables (strong merging) or many distinct tables close together (weak merging).

One of the following:
STRONG("strong")
WEAK("weak")
Optional<Boolean> useExperimentalProcessing

Enables experimental processing. Accuracy may be impacted.

String createdAt

When the job was created

Optional<String> fileId

The ID of the input file

formatuuid
String projectId

The ID of the project

formatuuid
Status status

The status of the parsing job

One of the following:
PENDING("PENDING")
SUCCESS("SUCCESS")
ERROR("ERROR")
PARTIAL_SUCCESS("PARTIAL_SUCCESS")
CANCELLED("CANCELLED")
String updatedAt

When the job was last updated

String userId

The ID of the user

DeprecatedOptional<SheetsParsingConfig> config

Configuration for spreadsheet parsing and region extraction

Optional<String> extractionRange

A1 notation of the range to extract a single region from. If None, the entire sheet is used.

Optional<Boolean> flattenHierarchicalTables

Return a flattened dataframe when a detected table is recognized as hierarchical.

Optional<Boolean> generateAdditionalMetadata

Whether to generate additional metadata (title, description) for each extracted region.

Optional<Boolean> includeHiddenCells

Whether to include hidden cells when extracting regions from the spreadsheet.

Optional<List<String>> sheetNames

The names of the sheets to extract regions from. If empty, all sheets will be processed.

Optional<String> specialization

Optional specialization mode for domain-specific extraction. Supported values: ‘financial-standard’, ‘financial-enhanced’, ‘financial-precise’. Default None uses the general-purpose pipeline.

Optional<TableMergeSensitivity> tableMergeSensitivity

Influences how likely similar-looking regions are merged into a single table. Useful for spreadsheets that either have sparse tables (strong merging) or many distinct tables close together (weak merging).

One of the following:
STRONG("strong")
WEAK("weak")
Optional<Boolean> useExperimentalProcessing

Enables experimental processing. Accuracy may be impacted.

Optional<String> configurationId

The saved product configuration ID used at create time, if any.

Optional<List<String>> errors

Any errors encountered

DeprecatedOptional<File> file

Schema for a file.

String id

Unique identifier

formatuuid
String name
String projectId

The ID of the project that the file belongs to

formatuuid
Optional<LocalDateTime> createdAt

Creation datetime

formatdate-time
Optional<String> dataSourceId

The ID of the data source that the file belongs to

formatuuid
Optional<LocalDateTime> expiresAt

The expiration date for the file. Files past this date can be deleted.

formatdate-time
Optional<String> externalFileId

The ID of the file in the external system

Optional<Long> fileSize

Size of the file in bytes

minimum0
Optional<String> fileType

File type (e.g. pdf, docx, etc.)

maxLength3000
minLength1
Optional<LocalDateTime> lastModifiedAt

The last modified time of the file

formatdate-time
Optional<PermissionInfo> permissionInfo

Permission information for the file

One of the following:
class UnionMember0:
List<JsonValue>
String
double
boolean
Optional<String> purpose

The intended purpose of the file (e.g., ‘user_data’, ‘parse’, ‘extract’, ‘split’, ‘classify’)

Optional<ResourceInfo> resourceInfo

Resource information for the file

One of the following:
class UnionMember0:
List<JsonValue>
String
double
boolean
Optional<LocalDateTime> updatedAt

Update datetime

formatdate-time
Optional<MetadataStateTransitions> metadataStateTransitions

Per-status entry timestamps. Returned only when requested via ?expand=metadata_state_transitions.

Optional<Parameters> parameters

Job-time parameters such as webhook configurations.

Optional<List<WebhookConfiguration>> webhookConfigurations

Webhook configurations for job status notifications.

Optional<List<WebhookEvent>> webhookEvents

Events to subscribe to (e.g. ‘parse.success’, ‘extract.error’). If null, all events are delivered.

One of the following:
EXTRACT_PENDING("extract.pending")
EXTRACT_SUCCESS("extract.success")
EXTRACT_ERROR("extract.error")
EXTRACT_PARTIAL_SUCCESS("extract.partial_success")
EXTRACT_CANCELLED("extract.cancelled")
PARSE_PENDING("parse.pending")
PARSE_RUNNING("parse.running")
PARSE_SUCCESS("parse.success")
PARSE_ERROR("parse.error")
PARSE_PARTIAL_SUCCESS("parse.partial_success")
PARSE_CANCELLED("parse.cancelled")
CLASSIFY_PENDING("classify.pending")
CLASSIFY_RUNNING("classify.running")
CLASSIFY_SUCCESS("classify.success")
CLASSIFY_ERROR("classify.error")
CLASSIFY_PARTIAL_SUCCESS("classify.partial_success")
CLASSIFY_CANCELLED("classify.cancelled")
SHEETS_PENDING("sheets.pending")
SHEETS_SUCCESS("sheets.success")
SHEETS_ERROR("sheets.error")
SHEETS_PARTIAL_SUCCESS("sheets.partial_success")
SHEETS_CANCELLED("sheets.cancelled")
UNMAPPED_EVENT("unmapped_event")
Optional<WebhookHeaders> webhookHeaders

Custom HTTP headers sent with each webhook request (e.g. auth tokens)

Optional<String> webhookOutputFormat

Response format sent to the webhook: ‘string’ (default) or ‘json’

Optional<String> webhookUrl

URL to receive webhook POST notifications

Optional<List<Region>> regions

All extracted regions (populated when job is complete)

String location

Location of the region in the spreadsheet

String regionType

Type of the extracted region

String sheetName

Worksheet name where region was found

Optional<String> description

Generated description for the region

Optional<String> regionId

Unique identifier for this region within the file

Optional<String> title

Generated title for the region

Optional<Boolean> success

Whether the job completed successfully

Optional<List<WorksheetMetadata>> worksheetMetadata

Metadata for each processed worksheet (populated when job is complete)

String sheetName

Name of the worksheet

Optional<String> description

Generated description of the worksheet

Optional<String> title

Generated title for the worksheet

class SheetsParsingConfig:

Configuration for spreadsheet parsing and region extraction

Optional<String> extractionRange

A1 notation of the range to extract a single region from. If None, the entire sheet is used.

Optional<Boolean> flattenHierarchicalTables

Return a flattened dataframe when a detected table is recognized as hierarchical.

Optional<Boolean> generateAdditionalMetadata

Whether to generate additional metadata (title, description) for each extracted region.

Optional<Boolean> includeHiddenCells

Whether to include hidden cells when extracting regions from the spreadsheet.

Optional<List<String>> sheetNames

The names of the sheets to extract regions from. If empty, all sheets will be processed.

Optional<String> specialization

Optional specialization mode for domain-specific extraction. Supported values: ‘financial-standard’, ‘financial-enhanced’, ‘financial-precise’. Default None uses the general-purpose pipeline.

Optional<TableMergeSensitivity> tableMergeSensitivity

Influences how likely similar-looking regions are merged into a single table. Useful for spreadsheets that either have sparse tables (strong merging) or many distinct tables close together (weak merging).

One of the following:
STRONG("strong")
WEAK("weak")
Optional<Boolean> useExperimentalProcessing

Enables experimental processing. Accuracy may be impacted.

BetaDirectories

Create Directory
DirectoryCreateResponse beta().directories().create(DirectoryCreateParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/beta/directories
List Directories
DirectoryListPage beta().directories().list(DirectoryListParamsparams = DirectoryListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/beta/directories
Get Directory
DirectoryGetResponse beta().directories().get(DirectoryGetParamsparams = DirectoryGetParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/beta/directories/{directory_id}
Update Directory
DirectoryUpdateResponse beta().directories().update(DirectoryUpdateParamsparams = DirectoryUpdateParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
PATCH/api/v1/beta/directories/{directory_id}
Delete Directory
beta().directories().delete(DirectoryDeleteParamsparams = DirectoryDeleteParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
DELETE/api/v1/beta/directories/{directory_id}

BetaDirectoriesFiles

Add Directory File
FileAddResponse beta().directories().files().add(FileAddParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/beta/directories/{directory_id}/files
List Directory Files
FileListPage beta().directories().files().list(FileListParamsparams = FileListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/beta/directories/{directory_id}/files
Get Directory File
FileGetResponse beta().directories().files().get(FileGetParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/beta/directories/{directory_id}/files/{directory_file_id}
Update Directory File
FileUpdateResponse beta().directories().files().update(FileUpdateParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
PATCH/api/v1/beta/directories/{directory_id}/files/{directory_file_id}
Delete Directory File
beta().directories().files().delete(FileDeleteParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
DELETE/api/v1/beta/directories/{directory_id}/files/{directory_file_id}
Upload File To Directory
FileUploadResponse beta().directories().files().upload(FileUploadParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/beta/directories/{directory_id}/files/upload

BetaBatch

Create Batch Job
BatchCreateResponse beta().batch().create(BatchCreateParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/beta/batch-processing
List Batch Jobs
BatchListPage beta().batch().list(BatchListParamsparams = BatchListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/beta/batch-processing
Get Batch Job Status
BatchGetStatusResponse beta().batch().getStatus(BatchGetStatusParamsparams = BatchGetStatusParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/beta/batch-processing/{job_id}
Cancel Batch Job
BatchCancelResponse beta().batch().cancel(BatchCancelParamsparams = BatchCancelParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/beta/batch-processing/{job_id}/cancel

BetaBatchJob Items

List Batch Job Items
JobItemListPage beta().batch().jobItems().list(JobItemListParamsparams = JobItemListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/beta/batch-processing/{job_id}/items
Get Item Processing Results
JobItemGetProcessingResultsResponse beta().batch().jobItems().getProcessingResults(JobItemGetProcessingResultsParamsparams = JobItemGetProcessingResultsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/beta/batch-processing/items/{item_id}/processing-results

BetaSplit

Create Split Job
SplitCreateResponse beta().split().create(SplitCreateParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/beta/split/jobs
List Split Jobs
SplitListPage beta().split().list(SplitListParamsparams = SplitListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/beta/split/jobs
Get Split Job
SplitGetResponse beta().split().get(SplitGetParamsparams = SplitGetParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/beta/split/jobs/{split_job_id}
ModelsExpand Collapse
class SplitCategory:

Category definition for document splitting.

String name

Name of the category.

maxLength200
minLength1
Optional<String> description

Optional description of what content belongs in this category.

maxLength2000
minLength1
class SplitDocumentInput:

Document input specification for beta API.

String type

Type of document input. Valid values are: file_id

String value

Document identifier.

class SplitResultResponse:

Result of a completed split job.

List<SplitSegmentResponse> segments

List of document segments.

String category

Category name this split belongs to.

String confidenceCategory

Categorical confidence level. Valid values are: high, medium, low.

List<long> pages

1-indexed page numbers in this split.

class SplitSegmentResponse:

A segment of the split document.

String category

Category name this split belongs to.

String confidenceCategory

Categorical confidence level. Valid values are: high, medium, low.

List<long> pages

1-indexed page numbers in this split.