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).
Bearer authentication of the form Bearer <token>
, where token is your auth token.
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.