Skip to content

Beta

BetaIndexes

Get Index
beta.indexes.get(strindex_id, IndexGetParams**kwargs) -> IndexGetResponse
GET/api/v1/indexes/{index_id}
Delete Index
beta.indexes.delete(strindex_id, IndexDeleteParams**kwargs)
DELETE/api/v1/indexes/{index_id}
Create Index
beta.indexes.create(IndexCreateParams**kwargs) -> IndexCreateResponse
POST/api/v1/indexes
Sync Index
beta.indexes.sync(strindex_id, IndexSyncParams**kwargs) -> object
POST/api/v1/indexes/{index_id}/sync
List Indexes
beta.indexes.list(IndexListParams**kwargs) -> SyncPaginatedCursor[IndexListResponse]
GET/api/v1/indexes
ModelsExpand Collapse
class IndexGetResponse:

A searchable index over a directory of documents.

id: str

Unique identifier

export_config_id: str

ID of the export configuration.

name: str

Index name.

output_directory_id: str

ID of the output directory holding the indexed files.

project_id: str

Project this index belongs to.

source_directory_id: str

ID of the source directory.

sync_config_id: str

ID of the sync configuration.

created_at: Optional[datetime]

Creation datetime

formatdate-time
description: Optional[str]

Index description.

last_exported_at: Optional[datetime]

Last export time.

formatdate-time
last_synced_at: Optional[datetime]

Last sync time.

formatdate-time
metadata: Optional[Dict[str, object]]

Build state and diagnostic info.

updated_at: Optional[datetime]

Update datetime

formatdate-time
class IndexCreateResponse:

A searchable index over a directory of documents.

id: str

Unique identifier

export_config_id: str

ID of the export configuration.

name: str

Index name.

output_directory_id: str

ID of the output directory holding the indexed files.

project_id: str

Project this index belongs to.

source_directory_id: str

ID of the source directory.

sync_config_id: str

ID of the sync configuration.

created_at: Optional[datetime]

Creation datetime

formatdate-time
description: Optional[str]

Index description.

last_exported_at: Optional[datetime]

Last export time.

formatdate-time
last_synced_at: Optional[datetime]

Last sync time.

formatdate-time
metadata: Optional[Dict[str, object]]

Build state and diagnostic info.

updated_at: Optional[datetime]

Update datetime

formatdate-time
class IndexListResponse:

A searchable index over a directory of documents.

id: str

Unique identifier

export_config_id: str

ID of the export configuration.

name: str

Index name.

output_directory_id: str

ID of the output directory holding the indexed files.

project_id: str

Project this index belongs to.

source_directory_id: str

ID of the source directory.

sync_config_id: str

ID of the sync configuration.

created_at: Optional[datetime]

Creation datetime

formatdate-time
description: Optional[str]

Index description.

last_exported_at: Optional[datetime]

Last export time.

formatdate-time
last_synced_at: Optional[datetime]

Last sync time.

formatdate-time
metadata: Optional[Dict[str, object]]

Build state and diagnostic info.

updated_at: Optional[datetime]

Update datetime

formatdate-time

BetaRetrieval

Retrieve
beta.retrieval.retrieve(RetrievalRetrieveParams**kwargs) -> RetrievalRetrieveResponse
POST/api/v1/retrieval/retrieve
Find Files
beta.retrieval.find(RetrievalFindParams**kwargs) -> SyncPaginatedCursorPost[RetrievalFindResponse]
POST/api/v1/retrieval/files/find
Grep File
beta.retrieval.grep(RetrievalGrepParams**kwargs) -> SyncPaginatedCursorPost[RetrievalGrepResponse]
POST/api/v1/retrieval/files/grep
Read File
beta.retrieval.read(RetrievalReadParams**kwargs) -> RetrievalReadResponse
POST/api/v1/retrieval/files/read
ModelsExpand Collapse
class RetrievalRetrieveResponse:

Response containing retrieval results.

results: List[Result]

Ordered list of retrieved chunks.

content: str

Text content of the retrieved chunk.

metadata: Optional[Dict[str, Union[str, int, float, 3 more]]]

User-defined metadata associated with the chunk.

One of the following:
str
int
float
bool
None
List[str]
rerank_score: Optional[float]

Relevance score from the reranker, if reranking was applied.

score: Optional[float]

Hybrid search relevance score.

static_fields: Optional[ResultStaticFields]

Built-in fields stored for every exported chunk.

attachments: Optional[List[ResultStaticFieldsAttachment]]

Attachments associated with the chunk

attachment_name: str

Attachment-relative path, e.g. ‘screenshots/page_7.jpg’.

source_id: str

File ID to pass as source_id when fetching the attachment.

type: str

Attachment kind, e.g. ‘screenshot’, ‘items’.

chunk_end_char: Optional[int]

End character offset of the chunk.

chunk_index: Optional[int]

Index of the chunk within the file.

chunk_start_char: Optional[int]

Start character offset of the chunk.

chunk_token_count: Optional[int]

Token count of the chunk.

page_range_end: Optional[int]

Last page number covered by this chunk.

page_range_start: Optional[int]

First page number covered by this chunk.

parsed_directory_file_id: Optional[str]

ID of the parsed file.

class RetrievalFindResponse:

A file returned by find.

file_id: str

ID of the file.

file_name: str

Display name of the file.

class RetrievalGrepResponse:

A single grep match within a file.

content: str

Matched text content.

end_char: int

End character offset of the match.

start_char: int

Start character offset of the match.

class RetrievalReadResponse:

File read result.

content: str

Parsed text content of the file.

BetaChat

List Sessions
beta.chat.list(ChatListParams**kwargs) -> SyncPaginatedCursor[ChatListResponse]
GET/api/v1/chat
Create Session
beta.chat.create(ChatCreateParams**kwargs) -> ChatCreateResponse
POST/api/v1/chat
Get Full Session
beta.chat.retrieve(strsession_id, ChatRetrieveParams**kwargs) -> ChatRetrieveResponse
GET/api/v1/chat/{session_id}
Delete Session
beta.chat.delete(strsession_id, ChatDeleteParams**kwargs)
DELETE/api/v1/chat/{session_id}
Get Session Summary
beta.chat.get_summary(strsession_id, ChatGetSummaryParams**kwargs) -> ChatGetSummaryResponse
GET/api/v1/chat/{session_id}/summary
Stream Messages
beta.chat.stream(strsession_id, ChatStreamParams**kwargs) -> object
POST/api/v1/chat/{session_id}/messages/stream
ModelsExpand Collapse
class ChatListResponse:

Summary of a chat session, including its title and last run metadata.

last_updated_at: str

ISO-format timestamp showing when the session was last updated.

session_id: str

Unique session identifier.

generated_title: Optional[str]

Auto-generated title derived from the first user message.

index_ids: Optional[List[str]]

Indexes this session is bound to. Null on unbound sessions.

job_metadata: Optional[JobMetadata]

Token usage and status from the most recent run. Null if the session has not been run yet.

duration_ms: Optional[float]
error: Optional[str]
export_config_ids: Optional[List[str]]
is_error: Optional[bool]
total_input_tokens: Optional[int]
total_output_tokens: Optional[int]
turns: Optional[int]
class ChatCreateResponse:

Summary of a chat session, including its title and last run metadata.

last_updated_at: str

ISO-format timestamp showing when the session was last updated.

session_id: str

Unique session identifier.

generated_title: Optional[str]

Auto-generated title derived from the first user message.

index_ids: Optional[List[str]]

Indexes this session is bound to. Null on unbound sessions.

job_metadata: Optional[JobMetadata]

Token usage and status from the most recent run. Null if the session has not been run yet.

duration_ms: Optional[float]
error: Optional[str]
export_config_ids: Optional[List[str]]
is_error: Optional[bool]
total_input_tokens: Optional[int]
total_output_tokens: Optional[int]
turns: Optional[int]
class ChatRetrieveResponse:

Full chat session including its complete event history.

events: List[Event]

Ordered list of events that make up the conversation history.

One of the following:
class EventStopEvent:
error: Optional[str]
is_error: bool
usage: EventStopEventUsage
duration_ms: Optional[float]
total_input_tokens: Optional[int]
total_output_tokens: Optional[int]
turns: Optional[int]
type: Optional[Literal["stop"]]
class EventTextDeltaEvent:
content: str
type: Optional[Literal["text_delta"]]
class EventTextEvent:
content: str
type: Optional[Literal["text"]]
class EventThinkingDeltaEvent:
content: str
type: Optional[Literal["thinking_delta"]]
class EventThinkingEvent:
content: str
type: Optional[Literal["thinking"]]
class EventToolCallEvent:
arguments: Dict[str, object]
call_id: str
name: str
type: Optional[Literal["tool_call"]]
class EventToolResultEvent:
call_id: str
name: str
result: object
image_attachment: Optional[EventToolResultEventImageAttachment]

Coordinates for lazily resolving a page screenshot presigned URL.

attachment_name: str
source_id: str
type: Optional[Literal["tool_result"]]
class EventUserInputEvent:
content: str
type: Optional[Literal["user_input"]]
last_updated_at: str

ISO-format timestamp showing when the session was last updated.

session_id: str

Unique session identifier.

generated_title: Optional[str]

Auto-generated title derived from the first user message.

index_ids: Optional[List[str]]

Indexes this session is bound to. Null on unbound sessions.

job_metadata: Optional[JobMetadata]

Token usage and status from the most recent run. Null if the session has not been run yet.

duration_ms: Optional[float]
error: Optional[str]
export_config_ids: Optional[List[str]]
is_error: Optional[bool]
total_input_tokens: Optional[int]
total_output_tokens: Optional[int]
turns: Optional[int]
class ChatGetSummaryResponse:

Summary of a chat session, including its title and last run metadata.

last_updated_at: str

ISO-format timestamp showing when the session was last updated.

session_id: str

Unique session identifier.

generated_title: Optional[str]

Auto-generated title derived from the first user message.

index_ids: Optional[List[str]]

Indexes this session is bound to. Null on unbound sessions.

job_metadata: Optional[JobMetadata]

Token usage and status from the most recent run. Null if the session has not been run yet.

duration_ms: Optional[float]
error: Optional[str]
export_config_ids: Optional[List[str]]
is_error: Optional[bool]
total_input_tokens: Optional[int]
total_output_tokens: Optional[int]
turns: Optional[int]

BetaAgent Data

Get Agent Data
beta.agent_data.get(stritem_id, AgentDataGetParams**kwargs) -> AgentData
GET/api/v1/beta/agent-data/{item_id}
Update Agent Data
beta.agent_data.update(stritem_id, AgentDataUpdateParams**kwargs) -> AgentData
PUT/api/v1/beta/agent-data/{item_id}
Delete Agent Data
beta.agent_data.delete(stritem_id, AgentDataDeleteParams**kwargs) -> AgentDataDeleteResponse
DELETE/api/v1/beta/agent-data/{item_id}
Create Agent Data
beta.agent_data.create(AgentDataCreateParams**kwargs) -> AgentData
POST/api/v1/beta/agent-data
Search Agent Data
beta.agent_data.search(AgentDataSearchParams**kwargs) -> SyncPaginatedCursorPost[AgentData]
POST/api/v1/beta/agent-data/:search
Aggregate Agent Data
beta.agent_data.aggregate(AgentDataAggregateParams**kwargs) -> SyncPaginatedCursorPost[AgentDataAggregateResponse]
POST/api/v1/beta/agent-data/:aggregate
Delete Agent Data By Query
beta.agent_data.delete_by_query(AgentDataDeleteByQueryParams**kwargs) -> AgentDataDeleteByQueryResponse
POST/api/v1/beta/agent-data/:delete
ModelsExpand Collapse
class AgentData:

API Result for a single agent data item

data: Dict[str, object]
deployment_name: str
id: Optional[str]
collection: Optional[str]
created_at: Optional[datetime]
project_id: Optional[str]
updated_at: Optional[datetime]
Dict[str, str]
class AgentDataAggregateResponse:

API Result for a single group in the aggregate response

group_key: Dict[str, object]
count: Optional[int]
first_item: Optional[Dict[str, object]]
class AgentDataDeleteByQueryResponse:

API response for bulk delete operation

deleted_count: int

BetaDirectories

Create Directory
beta.directories.create(DirectoryCreateParams**kwargs) -> DirectoryCreateResponse
POST/api/v1/beta/directories
List Directories
beta.directories.list(DirectoryListParams**kwargs) -> SyncPaginatedCursor[DirectoryListResponse]
GET/api/v1/beta/directories
Get Directory
beta.directories.get(strdirectory_id, DirectoryGetParams**kwargs) -> DirectoryGetResponse
GET/api/v1/beta/directories/{directory_id}
Update Directory
beta.directories.update(strdirectory_id, DirectoryUpdateParams**kwargs) -> DirectoryUpdateResponse
PATCH/api/v1/beta/directories/{directory_id}
Delete Directory
beta.directories.delete(strdirectory_id, DirectoryDeleteParams**kwargs)
DELETE/api/v1/beta/directories/{directory_id}
ModelsExpand Collapse
class DirectoryCreateResponse:

API response schema for a directory.

id: str

Unique identifier for the directory.

name: str

Human-readable name for the directory.

minLength1
project_id: str

Project the directory belongs to.

connector_subscription_id: Optional[str]

Connector Subscription whose files sync into this directory. Null for a directory populated by manual uploads.

created_at: Optional[datetime]

Creation datetime

formatdate-time
deleted_at: Optional[datetime]

Optional timestamp of when the directory was deleted. Null if not deleted.

formatdate-time
description: Optional[str]

Optional description shown to users.

expires_at: Optional[datetime]

When this directory expires and is eligible for cleanup.

formatdate-time
system_metadata: Optional[Dict[str, object]]

Reserved system-managed metadata.

type: Optional[Literal["ephemeral", "index", "user"]]

Directory type: ‘user’, ‘index’, or ‘ephemeral’.

One of the following:
"ephemeral"
"index"
"user"
updated_at: Optional[datetime]

Update datetime

formatdate-time
class DirectoryListResponse:

API response schema for a directory.

id: str

Unique identifier for the directory.

name: str

Human-readable name for the directory.

minLength1
project_id: str

Project the directory belongs to.

connector_subscription_id: Optional[str]

Connector Subscription whose files sync into this directory. Null for a directory populated by manual uploads.

created_at: Optional[datetime]

Creation datetime

formatdate-time
deleted_at: Optional[datetime]

Optional timestamp of when the directory was deleted. Null if not deleted.

formatdate-time
description: Optional[str]

Optional description shown to users.

expires_at: Optional[datetime]

When this directory expires and is eligible for cleanup.

formatdate-time
system_metadata: Optional[Dict[str, object]]

Reserved system-managed metadata.

type: Optional[Literal["ephemeral", "index", "user"]]

Directory type: ‘user’, ‘index’, or ‘ephemeral’.

One of the following:
"ephemeral"
"index"
"user"
updated_at: Optional[datetime]

Update datetime

formatdate-time
class DirectoryGetResponse:

API response schema for a directory.

id: str

Unique identifier for the directory.

name: str

Human-readable name for the directory.

minLength1
project_id: str

Project the directory belongs to.

connector_subscription_id: Optional[str]

Connector Subscription whose files sync into this directory. Null for a directory populated by manual uploads.

created_at: Optional[datetime]

Creation datetime

formatdate-time
deleted_at: Optional[datetime]

Optional timestamp of when the directory was deleted. Null if not deleted.

formatdate-time
description: Optional[str]

Optional description shown to users.

expires_at: Optional[datetime]

When this directory expires and is eligible for cleanup.

formatdate-time
system_metadata: Optional[Dict[str, object]]

Reserved system-managed metadata.

type: Optional[Literal["ephemeral", "index", "user"]]

Directory type: ‘user’, ‘index’, or ‘ephemeral’.

One of the following:
"ephemeral"
"index"
"user"
updated_at: Optional[datetime]

Update datetime

formatdate-time
class DirectoryUpdateResponse:

API response schema for a directory.

id: str

Unique identifier for the directory.

name: str

Human-readable name for the directory.

minLength1
project_id: str

Project the directory belongs to.

connector_subscription_id: Optional[str]

Connector Subscription whose files sync into this directory. Null for a directory populated by manual uploads.

created_at: Optional[datetime]

Creation datetime

formatdate-time
deleted_at: Optional[datetime]

Optional timestamp of when the directory was deleted. Null if not deleted.

formatdate-time
description: Optional[str]

Optional description shown to users.

expires_at: Optional[datetime]

When this directory expires and is eligible for cleanup.

formatdate-time
system_metadata: Optional[Dict[str, object]]

Reserved system-managed metadata.

type: Optional[Literal["ephemeral", "index", "user"]]

Directory type: ‘user’, ‘index’, or ‘ephemeral’.

One of the following:
"ephemeral"
"index"
"user"
updated_at: Optional[datetime]

Update datetime

formatdate-time

BetaDirectoriesFiles

Add Directory File
beta.directories.files.add(strdirectory_id, FileAddParams**kwargs) -> FileAddResponse
POST/api/v1/beta/directories/{directory_id}/files
List Directory Files
beta.directories.files.list(strdirectory_id, FileListParams**kwargs) -> SyncPaginatedCursor[FileListResponse]
GET/api/v1/beta/directories/{directory_id}/files
Get Directory File
beta.directories.files.get(strdirectory_file_id, FileGetParams**kwargs) -> FileGetResponse
GET/api/v1/beta/directories/{directory_id}/files/{directory_file_id}
Update Directory File
beta.directories.files.update(strdirectory_file_id, FileUpdateParams**kwargs) -> FileUpdateResponse
PATCH/api/v1/beta/directories/{directory_id}/files/{directory_file_id}
Delete Directory File
beta.directories.files.delete(strdirectory_file_id, FileDeleteParams**kwargs)
DELETE/api/v1/beta/directories/{directory_id}/files/{directory_file_id}
Upload File To Directory
beta.directories.files.upload(strdirectory_id, FileUploadParams**kwargs) -> FileUploadResponse
POST/api/v1/beta/directories/{directory_id}/files/upload
ModelsExpand Collapse
class FileAddResponse:

API response schema for a directory file.

id: str

Unique identifier for the directory file.

directory_id: str

Directory the file belongs to.

display_name: str

Display name for the file.

minLength1
project_id: str

Project the directory file belongs to.

unique_id: str

Unique identifier for the file in the directory

minLength1
created_at: Optional[datetime]

Creation datetime

formatdate-time
deleted_at: Optional[datetime]

Soft delete marker when the file is removed upstream or by user action.

formatdate-time
download_url: Optional[PresignedURL]

Schema for a presigned URL.

expires_at: datetime

The time at which the presigned URL expires

formatdate-time
url: str

A presigned URL for IO operations against a private file

formaturi
minLength1
form_fields: Optional[Dict[str, str]]

Form fields for a presigned POST request

file_id: Optional[str]

File ID for the storage location.

metadata: Optional[Dict[str, Union[str, int, float, 3 more]]]

Merged metadata from all sources. Higher-priority sources override lower.

One of the following:
str
int
float
bool
None
List[str]
updated_at: Optional[datetime]

Update datetime

formatdate-time
class FileListResponse:

API response schema for a directory file.

id: str

Unique identifier for the directory file.

directory_id: str

Directory the file belongs to.

display_name: str

Display name for the file.

minLength1
project_id: str

Project the directory file belongs to.

unique_id: str

Unique identifier for the file in the directory

minLength1
created_at: Optional[datetime]

Creation datetime

formatdate-time
deleted_at: Optional[datetime]

Soft delete marker when the file is removed upstream or by user action.

formatdate-time
download_url: Optional[PresignedURL]

Schema for a presigned URL.

expires_at: datetime

The time at which the presigned URL expires

formatdate-time
url: str

A presigned URL for IO operations against a private file

formaturi
minLength1
form_fields: Optional[Dict[str, str]]

Form fields for a presigned POST request

file_id: Optional[str]

File ID for the storage location.

metadata: Optional[Dict[str, Union[str, int, float, 3 more]]]

Merged metadata from all sources. Higher-priority sources override lower.

One of the following:
str
int
float
bool
None
List[str]
updated_at: Optional[datetime]

Update datetime

formatdate-time
class FileGetResponse:

API response schema for a directory file.

id: str

Unique identifier for the directory file.

directory_id: str

Directory the file belongs to.

display_name: str

Display name for the file.

minLength1
project_id: str

Project the directory file belongs to.

unique_id: str

Unique identifier for the file in the directory

minLength1
created_at: Optional[datetime]

Creation datetime

formatdate-time
deleted_at: Optional[datetime]

Soft delete marker when the file is removed upstream or by user action.

formatdate-time
download_url: Optional[PresignedURL]

Schema for a presigned URL.

expires_at: datetime

The time at which the presigned URL expires

formatdate-time
url: str

A presigned URL for IO operations against a private file

formaturi
minLength1
form_fields: Optional[Dict[str, str]]

Form fields for a presigned POST request

file_id: Optional[str]

File ID for the storage location.

metadata: Optional[Dict[str, Union[str, int, float, 3 more]]]

Merged metadata from all sources. Higher-priority sources override lower.

One of the following:
str
int
float
bool
None
List[str]
updated_at: Optional[datetime]

Update datetime

formatdate-time
class FileUpdateResponse:

API response schema for a directory file.

id: str

Unique identifier for the directory file.

directory_id: str

Directory the file belongs to.

display_name: str

Display name for the file.

minLength1
project_id: str

Project the directory file belongs to.

unique_id: str

Unique identifier for the file in the directory

minLength1
created_at: Optional[datetime]

Creation datetime

formatdate-time
deleted_at: Optional[datetime]

Soft delete marker when the file is removed upstream or by user action.

formatdate-time
download_url: Optional[PresignedURL]

Schema for a presigned URL.

expires_at: datetime

The time at which the presigned URL expires

formatdate-time
url: str

A presigned URL for IO operations against a private file

formaturi
minLength1
form_fields: Optional[Dict[str, str]]

Form fields for a presigned POST request

file_id: Optional[str]

File ID for the storage location.

metadata: Optional[Dict[str, Union[str, int, float, 3 more]]]

Merged metadata from all sources. Higher-priority sources override lower.

One of the following:
str
int
float
bool
None
List[str]
updated_at: Optional[datetime]

Update datetime

formatdate-time
class FileUploadResponse:

API response schema for a directory file.

id: str

Unique identifier for the directory file.

directory_id: str

Directory the file belongs to.

display_name: str

Display name for the file.

minLength1
project_id: str

Project the directory file belongs to.

unique_id: str

Unique identifier for the file in the directory

minLength1
created_at: Optional[datetime]

Creation datetime

formatdate-time
deleted_at: Optional[datetime]

Soft delete marker when the file is removed upstream or by user action.

formatdate-time
download_url: Optional[PresignedURL]

Schema for a presigned URL.

expires_at: datetime

The time at which the presigned URL expires

formatdate-time
url: str

A presigned URL for IO operations against a private file

formaturi
minLength1
form_fields: Optional[Dict[str, str]]

Form fields for a presigned POST request

file_id: Optional[str]

File ID for the storage location.

metadata: Optional[Dict[str, Union[str, int, float, 3 more]]]

Merged metadata from all sources. Higher-priority sources override lower.

One of the following:
str
int
float
bool
None
List[str]
updated_at: Optional[datetime]

Update datetime

formatdate-time

BetaSplit

Create Split Job
beta.split.create(SplitCreateParams**kwargs) -> SplitCreateResponse
POST/api/v1/beta/split/jobs
List Split Jobs
beta.split.list(SplitListParams**kwargs) -> SyncPaginatedCursor[SplitListResponse]
GET/api/v1/beta/split/jobs
Get Split Job
beta.split.get(strsplit_job_id, SplitGetParams**kwargs) -> SplitGetResponse
GET/api/v1/beta/split/jobs/{split_job_id}
ModelsExpand Collapse
class SplitCategory:

Category definition for document splitting.

name: str

Name of the category.

maxLength200
minLength1
description: Optional[str]

Optional description of what content belongs in this category.

maxLength2000
minLength1
class SplitDocumentInput:

Document input specification for beta API.

type: str

Type of document input. Valid values are: file_id

value: str

Document identifier.

class SplitResultResponse:

Result of a completed split job.

segments: List[SplitSegmentResponse]

List of document segments.

category: str

Category name this split belongs to.

confidence_category: str

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

pages: List[int]

1-indexed page numbers in this split.

class SplitSegmentResponse:

A segment of the split document.

category: str

Category name this split belongs to.

confidence_category: str

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

pages: List[int]

1-indexed page numbers in this split.

class SplitCreateResponse:

Beta response — uses nested document_input object.

id: str

Unique identifier for the split job.

categories: List[SplitCategory]

Categories used for splitting.

name: str

Name of the category.

maxLength200
minLength1
description: Optional[str]

Optional description of what content belongs in this category.

maxLength2000
minLength1
document_input: SplitDocumentInput

Document that was split.

type: str

Type of document input. Valid values are: file_id

value: str

Document identifier.

project_id: str

Project ID this job belongs to.

status: str

Current status of the job. Valid values are: pending, processing, completed, failed, cancelled.

user_id: str

User ID who created this job.

configuration_id: Optional[str]

Split configuration ID used for this job.

created_at: Optional[datetime]

Creation datetime

formatdate-time
error_message: Optional[str]

Error message if the job failed.

result: Optional[SplitResultResponse]

Result of a completed split job.

segments: List[SplitSegmentResponse]

List of document segments.

category: str

Category name this split belongs to.

confidence_category: str

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

pages: List[int]

1-indexed page numbers in this split.

updated_at: Optional[datetime]

Update datetime

formatdate-time
class SplitListResponse:

Beta response — uses nested document_input object.

id: str

Unique identifier for the split job.

categories: List[SplitCategory]

Categories used for splitting.

name: str

Name of the category.

maxLength200
minLength1
description: Optional[str]

Optional description of what content belongs in this category.

maxLength2000
minLength1
document_input: SplitDocumentInput

Document that was split.

type: str

Type of document input. Valid values are: file_id

value: str

Document identifier.

project_id: str

Project ID this job belongs to.

status: str

Current status of the job. Valid values are: pending, processing, completed, failed, cancelled.

user_id: str

User ID who created this job.

configuration_id: Optional[str]

Split configuration ID used for this job.

created_at: Optional[datetime]

Creation datetime

formatdate-time
error_message: Optional[str]

Error message if the job failed.

result: Optional[SplitResultResponse]

Result of a completed split job.

segments: List[SplitSegmentResponse]

List of document segments.

category: str

Category name this split belongs to.

confidence_category: str

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

pages: List[int]

1-indexed page numbers in this split.

updated_at: Optional[datetime]

Update datetime

formatdate-time
class SplitGetResponse:

Beta response — uses nested document_input object.

id: str

Unique identifier for the split job.

categories: List[SplitCategory]

Categories used for splitting.

name: str

Name of the category.

maxLength200
minLength1
description: Optional[str]

Optional description of what content belongs in this category.

maxLength2000
minLength1
document_input: SplitDocumentInput

Document that was split.

type: str

Type of document input. Valid values are: file_id

value: str

Document identifier.

project_id: str

Project ID this job belongs to.

status: str

Current status of the job. Valid values are: pending, processing, completed, failed, cancelled.

user_id: str

User ID who created this job.

configuration_id: Optional[str]

Split configuration ID used for this job.

created_at: Optional[datetime]

Creation datetime

formatdate-time
error_message: Optional[str]

Error message if the job failed.

result: Optional[SplitResultResponse]

Result of a completed split job.

segments: List[SplitSegmentResponse]

List of document segments.

category: str

Category name this split belongs to.

confidence_category: str

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

pages: List[int]

1-indexed page numbers in this split.

updated_at: Optional[datetime]

Update datetime

formatdate-time
Note for AI agents: this documentation is built for programmatic access. - Overview of all docs: https://developers.llamaindex.ai/llms.txt - Any page is available as raw Markdown by appending index.md to its URL — e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md - Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ — search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters. - A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/for-agents/mcp/ - Other LlamaIndex tooling for agents — the LlamaParse Platform MCP server, agent skills and plugins, and the n8n node — is mapped at https://developers.llamaindex.ai/for-agents/