Files API
Upload file
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The disposition type of the file, typically used to indicate the form-data name. Use attachment
with the filename parameter to specify the name of the file, for example: attachment; filename="example.pdf"
.
The MIME type of the file being uploaded. Supports txt
, doc
, docx
, ppt
, pptx
, jpg
, png
, eml
, html
, pdf
, srt
, csv
, xls
, and xlsx
file extensions.
The size of the file in bytes.
Body
The body is of type file
.
Response
200 - application/json
A unique identifier of the file.
The timestamp when the file was uploaded.
The name of the file.
A list of Knowledge Graph IDs that the file is associated with.
The processing status of the file.
Was this page helpful?