Get Upload File
Returns the source file of a document created by file upload, with signed preview and download URLs. Only documents whose data_source_type is upload_file have a source file.
Authorizations
Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).
Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).
Response
Source file details with signed preview and download URLs.
File identifier.
Original file name.
File size in bytes.
File extension.
Signed URL to preview the file.
Signed URL to download the file as an attachment.
File MIME type.
ID of the user who uploaded the file.
Unix timestamp of file upload.