Split File (Sync)
Split File (Sync)
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
Request
Reference to an existing splitter. One of splitter or config must be provided.
Inline splitter configuration. One of splitter or config must be provided.
Response
The type of object. Will always be "split_run".
The unique identifier for this split run.
Example: "splr_Xj8mK2pL9nR4vT7qY5wZ"
The splitter that was used for this run.
Availability: Present when a splitter reference was provided. Not present when using inline config.
The version of the splitter that was used for this run.
Availability: Present when a splitter reference was provided. Not present when using inline config.
The status of a processor run (extract, classify, or split):
"PENDING"- The run has been created and is waiting to be processed"PROCESSING"- The run is in progress"PROCESSED"- The run completed successfully"FAILED"- The run failed"CANCELLED"- The run was cancelled
The final output, either reviewed or initial.
Availability: Present when status is "PROCESSED".
The initial output from the split run, before any review edits.
Availability: Present when reviewed is true.
The output after human review.
Availability: Present when reviewed is true.
The reason for failure.
Availability: Present when status is "FAILED".
Possible values include:
ABORTED- The run was aborted by the userINTERNAL_ERROR- An unexpected internal error occurredFAILED_TO_PROCESS_FILE- Failed to process the file (e.g., OCR failure, file access issues)INVALID_PROCESSOR- The processor configuration is invalidINVALID_CONFIGURATION- The provided configuration is incompatible with the selected modelPARSING_ERROR- Failed to parse the splitting outputPRE_PROCESSING_FAILURE- An error occurred during preprocessingPOST_PROCESSING_FAILURE- An error occurred during postprocessingOUT_OF_CREDITS- Insufficient credits to run the splitter
Note: Additional failure reasons may be added in the future. Your integration should handle unknown values gracefully.
A detailed message about the failure.
Availability: Present when status is "FAILED".
Any metadata that was provided when creating the split run.
Availability: Present when metadata was provided during creation.
The ID of the parse run that was used for this split run.
Availability: Present when a parse run was created.
Usage credits consumed by this run.
Availability: Present when status is "PROCESSED".
The time (in UTC) at which the object was created. Will follow the RFC 3339 format.
Example: "2024-03-21T16:45:00Z"
The time (in UTC) at which the object was last updated. Will follow the RFC 3339 format.
Example: "2024-03-21T16:45:00Z"

