Path Parameters
The ID of the app
Query Parameters
Page number
Number of items to take
Next page token (Only used on special endpoints)
Response
Unique identifier for the uploaded file
Future file ID for the uploaded file
The file associated with the upload, if available
URL to upload the file
Timestamp when the uploaded file will expire
Array of page numbers to extract from the document
1024
[1, 2, 3]
Whether the file is stored permanently or temporarily, indicating the storage type
PERSISTENT
, TEMPORARY
"PERSISTENT"
Whether the file is private or public, private files URLs are signed with a token and can be accessed temporarily
PUBLIC
, PRIVATE
"PRIVATE"
Timestamp when the uploaded file was created
Timestamp when the uploaded file was last updated
Region on R2/Cloudflare
"european-union"
Storage bucket for the file
"cortex-eu"
Custom metadata for the uploaded file as key-value pairs (Max 2KB)
The allowed mime types for the file field (e.g. image/*, application/pdf)
255
Whether to extract contents from the document. If true, the file will be processed and contents extracted.
Whether to extract images from the document. If true, images will be extracted.