Create File
DeprecatedCreate a new file in Extend for use in an evaluation set. This endpoint is deprecated, use /files/upload instead.
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 an object.
name
The name of the file
url
A pre signed URL for the file
rawText
The raw text content of the file
mediaType
The media type of the file (e.g. application/pdf)
Response
Successfully created file
success
file