Skip to main content

Upload a file

Upload a file to a project. A file contains one or more documents that can be used to create a document group

Path Parameters
  • project_id integer required

    ID of the project

Request Body required
  • file binary required

    file to upload

  • to_list boolean

    DEPRECATED: If set to false, the file preview will be in JSON format instead of a list. The default behavior will soon be changed to return a JSON and this parameter won't be needed anymore



  • id uuid

    The unique ID of the uploaded file.

  • preview array[]

    Possible values: >= 2

    A preview of the columns found in that file. The first element represents the header, if present.