v1
latestOpenAPI 3.0.22026-07-173834119.9 KBExtraction
Register File
Endpoint to Register a File for Extraction
This endpoint registers a file for extraction and returns a presigned URL for the file upload.
Request Body
| Field | Type | Description |
|---|---|---|
| extraction_job_id | str | The ID of the extraction job. |
| file_name | str | The name of the file to register. |
Response Body
| Field | Type | Description |
|---|---|---|
| extraction_job_id | str | The ID of the extraction job. |
| file_name | str | The name of the registered file. |
| file_id | str | The ID of the registered file. |
| upload_url | str | The presigned URL for file upload. |
Errors
- 400 Bad Request: If the file name is invalid or already registered for the job.
- 500 Internal Server Error: If there is an unexpected error during the registration of the file.
post/document/extraction/register_file
Request body
Response
Successful Response