Create File
Upload a new file to the app.
Path Parameters
The ID of the app
Body
File to be uploaded. It can be a file object, a base64 encoded string, or a file data object containing base64 data, name, and type.
URL of the file to be uploaded
"https://example.com/files/document.pdf"
The allowed mime types for the file field (e.g. image/*, application/pdf)
Flag indicating whether to extract contents from the document
true
Flag indicating whether to extract images from the document
false
Flag indicating whether to extract pages from the document
true
Array of page numbers to extract from the document
[1, 2, 3]
Maximum number of pages to extract from the document
x >= 1
10
If the file should be public or private, by default is private and the file url is signed
PUBLIC
, PRIVATE
"PRIVATE"
Response
Detailed information about a file
Unique identifier for the file
File identifier used in the storage system
Name of the file
"document.pdf"
Size of the file in bytes
1024
MIME type of the file
"application/pdf"
URL to access the file
Format of the file
DOCUMENT
"DOCUMENT"
Flag indicating whether to extract contents from the document
Flag indicating whether to extract images from the document
Flag indicating whether to extract pages from the document
Timestamp when the file was created
Current status of the file
PROCESSING
, PROCESSED
, FAILED
"PROCESSED"
Status message providing additional information about the file status
Document data associated with the file
Array of page numbers to extract from the document
[1, 2, 3]
Progress of the document extraction process
Was this page helpful?