Upload File
Upload and create a new file in Extend.
This endpoint accepts file contents and registers them as a File in Extend, which can be used for running workflows, creating evaluation set items, parsing, etc.
If an uploaded file is detected as a Word or PowerPoint document, it will be automatically converted to a PDF.
Supported file types can be found here.
This endpoint requires multipart form encoding. Most HTTP clients will handle this encoding automatically (see the examples).
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-extend-api-version
API version to use for the request. If you do not specify a version, you will either receive a 400 Bad Request
or be set to a previous legacy version. See API Versioning for more details.
Allowed values:
Request
This endpoint expects a multipart form containing a file.
file
The file contents to upload
Response
Successfully uploaded file
success
file