Upload a new file into a table
Extraction Tables
Upload File to Extraction Table
Upload a file to an extraction table to create a new row associated with it. This doesn’t start an extraction run - use the /run endpoint to start processing the file after uploading.
POST
Upload a new file into a table
Documentation Index
Fetch the complete documentation index at: https://docs.cloudsquid.io/llms.txt
Use this file to discover all available pages before exploring further.
This is step 1 of 3 in the async run pattern. After uploading, use the returned
row_id to start a run, then poll for results.For a single blocking call that handles everything, see synchronous extraction.What this does
Creates a row in the extraction table linked to the uploaded file, but does not start processing. The returnedrow_id is required for all subsequent operations on this file.
Example
cURL
row_id to POST /run to start extraction.Authorizations
Path Parameters
The name of the project
The ID of the table
Body
application/json
the mimetype of the document being uploaded
Available options:
application/pdf, application/json, image/jpg, image/jpeg, image/png, text/csv, text/plain, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel, video/mp4, audio/mp3, audio/wav, audio/ogg, multipart/related, message/rfc822 the name of the file being uploaded
Indicates whether the file is a binary upload or a signed link to the document.
Available options:
uri, binary, multipart A signed URL to the file.
Response
Created extraction job for the uploaded file
the extraction row created for the uploaded file
